Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized") translateModel(BuildingSystems.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8885/0.8885, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 188.1 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 221.3 MB / 441.4 MB, free: 4.617 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008995/0.0008995, allocations: 97.61 kB / 0.5124 GB, free: 24.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001722/0.001722, allocations: 265 kB / 0.5939 GB, free: 7.988 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.351e-05/4.355e-05, allocations: 7.984 kB / 0.6834 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4498/0.4498, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1217/0.5716, allocations: 108.6 MB / 0.8703 GB, free: 16 kB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/0.5719, allocations: 79.89 kB / 0.8704 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.002136/0.574, allocations: 0.7735 MB / 0.8711 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.763e-06/0.5741, allocations: 0 / 0.8711 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.5741, allocations: 3.188 kB / 0.8711 GB, free: 15.18 MB / 0.5417 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.000368/0.5745, allocations: 335.7 kB / 0.8714 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.5745, allocations: 8.031 kB / 0.8714 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002389/0.5748, allocations: 11.98 kB / 0.8714 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.5749, allocations: 181.3 kB / 0.8716 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/0.5749, allocations: 3.953 kB / 0.8716 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.5749, allocations: 4 kB / 0.8716 GB, free: 14.56 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.5751, allocations: 41.67 kB / 0.8717 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.5751, allocations: 0 / 0.8717 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.5751, allocations: 4 kB / 0.8717 GB, free: 14.51 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.5751, allocations: 4 kB / 0.8717 GB, free: 14.51 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.649e-05/0.5752, allocations: 16 kB / 0.8717 GB, free: 14.49 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004355/0.5756, allocations: 276.9 kB / 0.872 GB, free: 14.17 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 7.426e-05/0.5757, allocations: 34.5 kB / 0.872 GB, free: 14.13 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.463e-05/0.5757, allocations: 16.92 kB / 0.872 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.5758, allocations: 4 kB / 0.872 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.5758, allocations: 34.56 kB / 0.872 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.5758, allocations: 0 / 0.872 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0001559/0.576, allocations: 41.7 kB / 0.8721 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/0.576, allocations: 51.41 kB / 0.8721 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.352e-05/0.5761, allocations: 108.9 kB / 0.8722 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.5761, allocations: 29.73 kB / 0.8723 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.096e-05/0.5762, allocations: 84.14 kB / 0.8723 GB, free: 13.72 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.743e-05/0.5762, allocations: 7.844 kB / 0.8724 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-06/0.5762, allocations: 0 / 0.8724 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.5763, allocations: 314.8 kB / 0.8727 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.61e-05/0.5764, allocations: 8 kB / 0.8727 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.972e-05/0.5764, allocations: 11.94 kB / 0.8727 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.862e-05/0.5764, allocations: 15.94 kB / 0.8727 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.5764, allocations: 4.062 kB / 0.8727 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.862e-05/0.5765, allocations: 41.7 kB / 0.8727 GB, free: 13.31 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.5766, allocations: 8 kB / 0.8727 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.5766, allocations: 0 / 0.8727 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.5766, allocations: 0 / 0.8727 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.5767, allocations: 15.98 kB / 0.8728 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.5767, allocations: 0 / 0.8728 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.065e-05/0.5768, allocations: 23.86 kB / 0.8728 GB, free: 13.26 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.5768, allocations: 4.188 kB / 0.8728 GB, free: 13.26 MB / 0.5417 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 () * 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 7.197e-05/0.5769, allocations: 108.9 kB / 0.8729 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.305e-05/0.5769, allocations: 4 kB / 0.8729 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.098e-05/0.5769, allocations: 3.656 kB / 0.8729 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.577, allocations: 4 kB / 0.8729 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.577, allocations: 3.984 kB / 0.8729 GB, free: 13.13 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.577, allocations: 0 / 0.8729 GB, free: 13.13 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/0.5771, allocations: 165.7 kB / 0.8731 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.5772, allocations: 7.953 kB / 0.8731 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.218e-05/0.5772, allocations: 15.98 kB / 0.8731 GB, free: 12.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.5772, allocations: 0 / 0.8731 GB, free: 12.9 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.886e-06/0.5773, allocations: 0 / 0.8731 GB, free: 12.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.5773, allocations: 0 / 0.8731 GB, free: 12.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.5773, allocations: 0 / 0.8731 GB, free: 12.9 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001389/0.5774, allocations: 147.5 kB / 0.8732 GB, free: 12.74 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.343e-05/0.5775, allocations: 84.97 kB / 0.8733 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.5775, allocations: 0 / 0.8733 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.448e-05/0.5776, allocations: 15.92 kB / 0.8733 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.062e-05/0.5776, allocations: 4 kB / 0.8733 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.848e-06/0.5777, allocations: 0 / 0.8733 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.702e-05/0.5777, allocations: 83.28 kB / 0.8734 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5777, allocations: 0 / 0.8734 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001876/0.5779, allocations: 8.031 kB / 0.8734 GB, free: 12.53 MB / 0.5417 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 () * 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.0001358/0.578, allocations: 99.23 kB / 0.8735 GB, free: 12.42 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 9.263e-05/0.5781, allocations: 20 kB / 0.8735 GB, free: 12.4 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.5782, allocations: 0 / 0.8735 GB, free: 12.4 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.337e-05/0.5782, allocations: 15.94 kB / 0.8735 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001713/0.5784, allocations: 4 kB / 0.8735 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003336/0.5787, allocations: 81.22 kB / 0.8736 GB, free: 12.28 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/0.579, allocations: 0.6809 MB / 0.8743 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.852e-05/0.5791, allocations: 0 / 0.8743 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.351e-05/0.5791, allocations: 7.438 kB / 0.8743 GB, free: 11.56 MB / 0.5417 GB Notification: Performance of SimCode: time 5.41e-07/0.5791, allocations: 0 / 0.8743 GB, free: 11.56 MB / 0.5417 GB Notification: Performance of Templates: time 0.002332/0.5815, allocations: 0.5008 MB / 0.8748 GB, free: 11.07 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)