Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.601/1.601, allocations: 293 MB / 309 MB, free: 4.84 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009735/0.0009735, allocations: 180.3 kB / 378.7 MB, free: 1.043 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.37/1.37, allocations: 205.4 MB / 0.6383 GB, free: 8.258 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000827/0.0008269, allocations: 88.11 kB / 0.7527 GB, free: 62.89 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003882/0.0003882, allocations: 16 kB / 0.8768 GB, free: 10.46 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.241, allocations: 116.4 MB / 0.9904 GB, free: 5.918 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6198/0.8609, allocations: 139.6 MB / 1.127 GB, free: 34.39 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000241/0.8612, allocations: 75.02 kB / 1.127 GB, free: 34.33 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01124/0.8724, allocations: 4.354 MB / 1.131 GB, free: 31.2 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.476e-06/0.8725, allocations: 0 / 1.131 GB, free: 31.2 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.696e-06/0.8725, allocations: 0 / 1.131 GB, free: 31.2 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004886/0.873, allocations: 379.2 kB / 1.131 GB, free: 30.79 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.741e-05/0.8731, allocations: 8.031 kB / 1.132 GB, free: 30.79 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.185e-05/0.8731, allocations: 4.938 kB / 1.132 GB, free: 30.78 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.8733, allocations: 173.6 kB / 1.132 GB, free: 30.57 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.8733, allocations: 384 / 1.132 GB, free: 30.57 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.8733, allocations: 384 / 1.132 GB, free: 30.57 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.8735, allocations: 60.58 kB / 1.132 GB, free: 30.52 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.8735, allocations: 0.75 kB / 1.132 GB, free: 30.52 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.8735, allocations: 3.938 kB / 1.132 GB, free: 30.52 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.8735, allocations: 4.656 kB / 1.132 GB, free: 30.51 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001515/0.8737, allocations: 42.31 kB / 1.132 GB, free: 30.48 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004375/0.8741, allocations: 276.2 kB / 1.132 GB, free: 30.18 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.8743, allocations: 53.3 kB / 1.132 GB, free: 30.12 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.84e-05/0.8744, allocations: 24.34 kB / 1.132 GB, free: 30.1 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005314/0.8749, allocations: 461.5 kB / 1.133 GB, free: 29.57 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.8749, allocations: 35.12 kB / 1.133 GB, free: 29.53 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.583e-06/0.875, allocations: 0.5625 kB / 1.133 GB, free: 29.53 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0003756/0.8753, allocations: 102 kB / 1.133 GB, free: 29.44 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.358e-05/0.8754, allocations: 55.44 kB / 1.133 GB, free: 29.38 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.345e-05/0.8754, allocations: 105.6 kB / 1.133 GB, free: 29.27 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.187e-06/0.8755, allocations: 25.7 kB / 1.133 GB, free: 29.23 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.362e-05/0.8755, allocations: 84.14 kB / 1.133 GB, free: 29.15 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.924e-05/0.8755, allocations: 12.5 kB / 1.133 GB, free: 29.14 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-06/0.8755, allocations: 0 / 1.133 GB, free: 29.14 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.951e-05/0.8756, allocations: 314 kB / 1.133 GB, free: 28.82 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.678e-05/0.8757, allocations: 27.38 kB / 1.133 GB, free: 28.8 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.353e-05/0.8758, allocations: 18.7 kB / 1.133 GB, free: 28.79 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.8759, allocations: 55.05 kB / 1.133 GB, free: 28.74 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.8759, allocations: 0 / 1.133 GB, free: 28.74 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002161/0.8761, allocations: 84.17 kB / 1.133 GB, free: 28.66 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.8762, allocations: 11.97 kB / 1.133 GB, free: 28.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.8762, allocations: 0 / 1.133 GB, free: 28.65 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.8762, allocations: 4 kB / 1.133 GB, free: 28.65 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.83e-05/0.8763, allocations: 11.78 kB / 1.133 GB, free: 28.64 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.8763, allocations: 0 / 1.133 GB, free: 28.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.491e-05/0.8764, allocations: 7.188 kB / 1.133 GB, free: 28.64 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.8764, allocations: 4.562 kB / 1.133 GB, free: 28.63 MB / 0.7292 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 (2): * Single equations (assignments): 2 * 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 6.74e-05/0.8765, allocations: 117.8 kB / 1.134 GB, free: 28.51 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.119e-05/0.8765, allocations: 7.906 kB / 1.134 GB, free: 28.5 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002405/0.8768, allocations: 83.33 kB / 1.134 GB, free: 28.43 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.8768, allocations: 0.7031 kB / 1.134 GB, free: 28.43 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.8768, allocations: 4.031 kB / 1.134 GB, free: 28.42 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.8768, allocations: 4.875 kB / 1.134 GB, free: 28.42 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001376/0.8769, allocations: 160.4 kB / 1.134 GB, free: 28.22 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.877, allocations: 4.75 kB / 1.134 GB, free: 28.21 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.044e-05/0.877, allocations: 15.28 kB / 1.134 GB, free: 28.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.877, allocations: 0 / 1.134 GB, free: 28.2 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.916e-06/0.8771, allocations: 0 / 1.134 GB, free: 28.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.8771, allocations: 0 / 1.134 GB, free: 28.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.8771, allocations: 0.6875 kB / 1.134 GB, free: 28.2 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000247/0.8773, allocations: 176.9 kB / 1.134 GB, free: 28.03 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.158e-05/0.8774, allocations: 78.33 kB / 1.134 GB, free: 27.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.8774, allocations: 5.031 kB / 1.134 GB, free: 27.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.388e-05/0.8775, allocations: 15.31 kB / 1.134 GB, free: 27.92 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.512e-05/0.8775, allocations: 0 / 1.134 GB, free: 27.92 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.8775, allocations: 0.5 kB / 1.134 GB, free: 27.92 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.134e-05/0.8776, allocations: 83.14 kB / 1.134 GB, free: 27.84 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8776, allocations: 4 kB / 1.134 GB, free: 27.84 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002442/0.8778, allocations: 20 kB / 1.134 GB, free: 27.82 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.000237/0.8781, allocations: 118.4 kB / 1.134 GB, free: 27.7 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000235/0.8783, allocations: 50.17 kB / 1.134 GB, free: 27.66 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.8783, allocations: 0 / 1.134 GB, free: 27.66 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.319e-05/0.8784, allocations: 27.39 kB / 1.134 GB, free: 27.63 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003097/0.8787, allocations: 5.484 kB / 1.134 GB, free: 27.63 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003277/0.8791, allocations: 120.3 kB / 1.135 GB, free: 27.5 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001145/0.8792, allocations: 0.6763 MB / 1.135 GB, free: 26.8 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.832e-05/0.8792, allocations: 7.266 kB / 1.135 GB, free: 26.79 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.859e-05/0.8793, allocations: 11.44 kB / 1.135 GB, free: 26.79 MB / 0.7292 GB Notification: Performance of SimCode: time 2.5e-07/0.8793, allocations: 4.062 kB / 1.135 GB, free: 26.78 MB / 0.7292 GB Notification: Performance of Templates: time 0.002724/0.882, allocations: 0.6029 MB / 1.136 GB, free: 26.45 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)