Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.871/3.871, allocations: 251.1 MB / 266.7 MB, free: 11.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002168/0.002168, allocations: 184.6 kB / 326.2 MB, free: 2.848 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.15/4.15, allocations: 205.4 MB / 0.5772 GB, free: 20.72 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001495/0.001495, allocations: 83.7 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000749/0.0007494, allocations: 12.78 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3599/0.3607, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3497/0.7105, allocations: 131.7 MB / 1.028 GB, free: 13.68 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004619/0.711, allocations: 83.94 kB / 1.028 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03478/0.7458, allocations: 5.116 MB / 1.033 GB, free: 8.469 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.966e-06/0.7459, allocations: 0 / 1.033 GB, free: 8.469 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.022e-05/0.7459, allocations: 0 / 1.033 GB, free: 8.469 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006783/0.7466, allocations: 363.4 kB / 1.034 GB, free: 8.062 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.954e-05/0.7467, allocations: 12.03 kB / 1.034 GB, free: 8.051 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.7468, allocations: 0.9375 kB / 1.034 GB, free: 8.051 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002027/0.747, allocations: 168.3 kB / 1.034 GB, free: 7.848 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.7471, allocations: 8.359 kB / 1.034 GB, free: 7.84 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.21e-05/0.7471, allocations: 12.28 kB / 1.034 GB, free: 7.828 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002068/0.7474, allocations: 54.17 kB / 1.034 GB, free: 7.77 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.7474, allocations: 192 / 1.034 GB, free: 7.77 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/0.7474, allocations: 3.938 kB / 1.034 GB, free: 7.766 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.7475, allocations: 0 / 1.034 GB, free: 7.766 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.7476, allocations: 19.98 kB / 1.034 GB, free: 7.746 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003287/0.7479, allocations: 161.7 kB / 1.034 GB, free: 7.539 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000208/0.7481, allocations: 62.5 kB / 1.034 GB, free: 7.469 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.7483, allocations: 28.84 kB / 1.034 GB, free: 7.438 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001324/0.7496, allocations: 465.4 kB / 1.034 GB, free: 6.891 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.086e-05/0.7497, allocations: 34.56 kB / 1.035 GB, free: 6.848 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 4.749e-06/0.7498, allocations: 0 / 1.035 GB, free: 6.848 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.002663/0.7524, allocations: 0.5912 MB / 1.035 GB, free: 6.164 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.659e-05/0.7525, allocations: 51.41 kB / 1.035 GB, free: 6.102 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.7527, allocations: 97.86 kB / 1.035 GB, free: 5.996 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.917e-05/0.7528, allocations: 37.62 kB / 1.035 GB, free: 5.953 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.737e-05/0.7528, allocations: 80.14 kB / 1.035 GB, free: 5.871 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.017e-05/0.7529, allocations: 43.36 kB / 1.035 GB, free: 5.828 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.448e-06/0.753, allocations: 0 / 1.035 GB, free: 5.828 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001967/0.7532, allocations: 322.8 kB / 1.036 GB, free: 5.504 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.7533, allocations: 15.98 kB / 1.036 GB, free: 5.488 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.791e-05/0.7534, allocations: 33.62 kB / 1.036 GB, free: 5.457 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.7535, allocations: 20 kB / 1.036 GB, free: 5.438 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.7536, allocations: 0 / 1.036 GB, free: 5.438 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004473/0.754, allocations: 103.5 kB / 1.036 GB, free: 5.332 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.172e-05/0.7541, allocations: 9.562 kB / 1.036 GB, free: 5.324 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.7541, allocations: 0.5469 kB / 1.036 GB, free: 5.324 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/0.7541, allocations: 0 / 1.036 GB, free: 5.324 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00026/0.7544, allocations: 19.98 kB / 1.036 GB, free: 5.305 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.7544, allocations: 0 / 1.036 GB, free: 5.305 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.781e-05/0.7545, allocations: 4 kB / 1.036 GB, free: 5.301 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.054e-05/0.7545, allocations: 8 kB / 1.036 GB, free: 5.293 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001742/0.7547, allocations: 117.8 kB / 1.036 GB, free: 5.168 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.866e-05/0.7548, allocations: 15.84 kB / 1.036 GB, free: 5.152 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004389/0.7553, allocations: 105.6 kB / 1.036 GB, free: 5.039 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.769e-06/0.7553, allocations: 7.938 kB / 1.036 GB, free: 5.031 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.7553, allocations: 0 / 1.036 GB, free: 5.031 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.453e-06/0.7554, allocations: 192 / 1.036 GB, free: 5.031 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008155/0.7562, allocations: 354.5 kB / 1.036 GB, free: 4.629 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/0.7562, allocations: 3.984 kB / 1.036 GB, free: 4.625 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002989/0.7565, allocations: 23.98 kB / 1.036 GB, free: 4.602 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.734e-06/0.7566, allocations: 0 / 1.036 GB, free: 4.602 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.7566, allocations: 0 / 1.036 GB, free: 4.602 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.7566, allocations: 0 / 1.036 GB, free: 4.602 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.7566, allocations: 4 kB / 1.036 GB, free: 4.598 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000583/0.7572, allocations: 223.2 kB / 1.037 GB, free: 4.363 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001304/0.7574, allocations: 93.19 kB / 1.037 GB, free: 4.254 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.871e-05/0.7574, allocations: 0 / 1.037 GB, free: 4.254 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002108/0.7577, allocations: 4 kB / 1.037 GB, free: 4.25 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.724e-05/0.7577, allocations: 11.98 kB / 1.037 GB, free: 4.238 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.941e-05/0.7578, allocations: 0 / 1.037 GB, free: 4.238 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.665e-05/0.7579, allocations: 83.27 kB / 1.037 GB, free: 4.156 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.32e-07/0.7579, allocations: 0 / 1.037 GB, free: 4.156 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007473/0.7586, allocations: 55.94 kB / 1.037 GB, free: 4.102 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005277/0.7592, allocations: 163 kB / 1.037 GB, free: 3.934 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003358/0.7596, allocations: 67.84 kB / 1.037 GB, free: 3.867 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.7596, allocations: 0 / 1.037 GB, free: 3.867 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001328/0.7597, allocations: 35.92 kB / 1.037 GB, free: 3.832 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005024/0.7602, allocations: 6.062 kB / 1.037 GB, free: 3.828 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006875/0.7609, allocations: 194.7 kB / 1.037 GB, free: 3.605 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004488/0.7614, allocations: 0.6888 MB / 1.038 GB, free: 2.891 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.000125/0.7616, allocations: 11.98 kB / 1.038 GB, free: 2.879 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.673e-05/0.7616, allocations: 15.38 kB / 1.038 GB, free: 2.863 MB / 0.6823 GB Notification: Performance of SimCode: time 1.814e-06/0.7616, allocations: 0 / 1.038 GB, free: 2.863 MB / 0.6823 GB Notification: Performance of Templates: time 0.007968/0.7696, allocations: 1.313 MB / 1.039 GB, free: 1.559 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)