Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.604/1.604, allocations: 288.4 MB / 304.3 MB, free: 8.113 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.0009224/0.0009224, allocations: 172.5 kB / 373 MB, free: 10.16 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.683/1.683, allocations: 205.4 MB / 0.6317 GB, free: 9.918 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009483/0.0009483, allocations: 89.03 kB / 0.745 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003865/0.0003866, allocations: 12.84 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2227, allocations: 115.3 MB / 0.9807 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7718/0.9946, allocations: 144.5 MB / 1.122 GB, free: 16.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002834/0.995, allocations: 94.73 kB / 1.122 GB, free: 16.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02817/1.023, allocations: 12.58 MB / 1.134 GB, free: 29.33 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.264e-06/1.023, allocations: 3.906 kB / 1.134 GB, free: 29.33 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.198e-05/1.023, allocations: 11.64 kB / 1.134 GB, free: 29.33 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.00097/1.024, allocations: 0.7683 MB / 1.135 GB, free: 28.68 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/1.024, allocations: 11.44 kB / 1.135 GB, free: 28.68 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.25e-05/1.024, allocations: 59 kB / 1.135 GB, free: 28.65 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005741/1.025, allocations: 456 kB / 1.135 GB, free: 28.32 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/1.025, allocations: 11.67 kB / 1.135 GB, free: 28.32 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.115e-05/1.025, allocations: 15.09 kB / 1.135 GB, free: 28.32 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002313/1.025, allocations: 135 kB / 1.136 GB, free: 28.26 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/1.025, allocations: 3.938 kB / 1.136 GB, free: 28.26 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.944e-05/1.025, allocations: 7.094 kB / 1.136 GB, free: 28.26 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/1.025, allocations: 0 / 1.136 GB, free: 28.26 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001622/1.025, allocations: 97.05 kB / 1.136 GB, free: 28.24 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008744/1.026, allocations: 0.653 MB / 1.136 GB, free: 27.83 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002643/1.027, allocations: 132.3 kB / 1.136 GB, free: 27.79 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.912e-05/1.027, allocations: 49.69 kB / 1.137 GB, free: 27.77 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/1.027, allocations: 0 / 1.137 GB, free: 27.77 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001717/1.027, allocations: 115.7 kB / 1.137 GB, free: 27.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=12): time 1.473e-06/1.027, allocations: 0 / 1.137 GB, free: 27.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=12): time 0.0003648/1.027, allocations: 207.9 kB / 1.137 GB, free: 27.62 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/1.027, allocations: 55.28 kB / 1.137 GB, free: 27.55 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005727/1.028, allocations: 0.6445 MB / 1.138 GB, free: 27.34 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.72e-05/1.028, allocations: 36.88 kB / 1.138 GB, free: 27.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001526/1.028, allocations: 255.3 kB / 1.138 GB, free: 27.19 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.178e-05/1.028, allocations: 42.42 kB / 1.138 GB, free: 27.17 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.16e-05/1.028, allocations: 3.312 kB / 1.138 GB, free: 27.17 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001564/1.028, allocations: 367.6 kB / 1.138 GB, free: 26.84 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/1.029, allocations: 85.12 kB / 1.138 GB, free: 26.83 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001428/1.029, allocations: 136.8 kB / 1.138 GB, free: 26.77 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001884/1.029, allocations: 137.4 kB / 1.139 GB, free: 26.74 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/1.029, allocations: 0 / 1.139 GB, free: 26.74 MB / 0.698 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003657/1.029, allocations: 297.7 kB / 1.139 GB, free: 26.65 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/1.029, allocations: 11.34 kB / 1.139 GB, free: 26.65 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/1.029, allocations: 0 / 1.139 GB, free: 26.65 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/1.029, allocations: 0 / 1.139 GB, free: 26.65 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000168/1.029, allocations: 46.34 kB / 1.139 GB, free: 26.63 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/1.029, allocations: 0 / 1.139 GB, free: 26.63 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001613/1.03, allocations: 30.05 kB / 1.139 GB, free: 26.62 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.943e-05/1.03, allocations: 15.3 kB / 1.139 GB, free: 26.62 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.PEleDem.tab.nextTimeEvent,assPow.assMesP.u,$PRE.assPow.maxPow.y,assPow.maxPow.y,$PRE.assPow.minPow.y,assPow.minPow.y,assPow.assMesDP.u,PEleDem.tab.nextTimeEvent,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.0002062/1.03, allocations: 204.9 kB / 1.139 GB, free: 26.49 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.64e-05/1.03, allocations: 58.16 kB / 1.139 GB, free: 26.46 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002892/1.03, allocations: 191.3 kB / 1.139 GB, free: 26.38 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/1.03, allocations: 0 / 1.139 GB, free: 26.38 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/1.03, allocations: 0 / 1.139 GB, free: 26.38 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/1.03, allocations: 0 / 1.139 GB, free: 26.38 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002596/1.031, allocations: 376.9 kB / 1.14 GB, free: 26.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/1.031, allocations: 0 / 1.14 GB, free: 26.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.457e-05/1.031, allocations: 19.55 kB / 1.14 GB, free: 26.11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/1.031, allocations: 3.812 kB / 1.14 GB, free: 26.11 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/1.031, allocations: 7.125 kB / 1.14 GB, free: 26.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/1.031, allocations: 0 / 1.14 GB, free: 26.11 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/1.031, allocations: 0 / 1.14 GB, free: 26.11 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003503/1.031, allocations: 261.2 kB / 1.14 GB, free: 26 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/1.031, allocations: 131.2 kB / 1.14 GB, free: 25.87 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.538e-05/1.031, allocations: 7.812 kB / 1.14 GB, free: 25.87 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/1.031, allocations: 19.36 kB / 1.14 GB, free: 25.86 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.148e-05/1.031, allocations: 27.05 kB / 1.14 GB, free: 25.85 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/1.031, allocations: 3.656 kB / 1.14 GB, free: 25.85 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003745/1.032, allocations: 428.8 kB / 1.141 GB, free: 25.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/1.032, allocations: 0 / 1.141 GB, free: 25.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003005/1.032, allocations: 81.7 kB / 1.141 GB, free: 25.68 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (assPow.demRat.x) * Number of discrete variables: 7 ($whenCondition1,assPow.assMesP.u,assPow.maxPow.y,assPow.minPow.y,assPow.assMesDP.u,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Number of discrete states: 4 (assPow.minPow.y,assPow.maxPow.y,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001016/1.033, allocations: 471.2 kB / 1.141 GB, free: 25.46 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000282/1.033, allocations: 156.4 kB / 1.141 GB, free: 25.44 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.033, allocations: 0 / 1.141 GB, free: 25.44 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001043/1.034, allocations: 60.88 kB / 1.141 GB, free: 25.43 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004411/1.034, allocations: 72.27 kB / 1.141 GB, free: 25.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/1.035, allocations: 0.9478 MB / 1.142 GB, free: 24.84 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003887/1.035, allocations: 0.855 MB / 1.143 GB, free: 24.07 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001143/1.036, allocations: 41.33 kB / 1.143 GB, free: 24.06 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.125e-05/1.036, allocations: 30.58 kB / 1.143 GB, free: 24.05 MB / 0.698 GB Notification: Performance of SimCode: time 2.41e-07/1.036, allocations: 3.938 kB / 1.143 GB, free: 24.05 MB / 0.698 GB Notification: Performance of Templates: time 0.007567/1.043, allocations: 4.111 MB / 1.147 GB, free: 22.03 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1)