Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.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) 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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.616/1.616, allocations: 297.8 MB / 313.8 MB, free: 124 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000958/0.0009578, allocations: 176.5 kB / 384.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 223.2 MB / 0.6626 GB, free: 4.266 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008129/0.0008128, allocations: 99.34 kB / 0.7808 GB, free: 50.38 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003979/0.000398, allocations: 15.94 kB / 0.9088 GB, free: 2.84 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5893/0.5897, allocations: 120.3 MB / 1.026 GB, free: 55.88 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1733/0.763, allocations: 148.1 MB / 1.171 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/0.7634, allocations: 95.72 kB / 1.171 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.03187/0.7953, allocations: 12.84 MB / 1.184 GB, free: 0.918 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.984e-06/0.7953, allocations: 1.125 kB / 1.184 GB, free: 0.918 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.622e-05/0.7954, allocations: 8 kB / 1.184 GB, free: 0.9102 MB / 0.7448 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.001309/0.7967, allocations: 0.7751 MB / 1.184 GB, free: 84 kB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.7967, allocations: 8.031 kB / 1.184 GB, free: 76 kB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001509/0.7969, allocations: 60.19 kB / 1.184 GB, free: 16 kB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00078/0.7977, allocations: 444.1 kB / 1.185 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.737e-05/0.7977, allocations: 20.55 kB / 1.185 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.665e-05/0.7978, allocations: 12.38 kB / 1.185 GB, free: 15.51 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002688/0.798, allocations: 135 kB / 1.185 GB, free: 15.38 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.7981, allocations: 3.938 kB / 1.185 GB, free: 15.38 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.195e-05/0.7981, allocations: 7.984 kB / 1.185 GB, free: 15.37 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.7981, allocations: 4 kB / 1.185 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001914/0.7983, allocations: 84.89 kB / 1.185 GB, free: 15.28 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001111/0.7994, allocations: 0.6602 MB / 1.186 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003107/0.7997, allocations: 130.8 kB / 1.186 GB, free: 14.43 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.372e-05/0.7998, allocations: 44.84 kB / 1.186 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.7999, allocations: 4 kB / 1.186 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001991/0.8001, allocations: 116.2 kB / 1.186 GB, free: 14.26 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=12): time 2.645e-06/0.8001, allocations: 0.7031 kB / 1.186 GB, free: 14.26 MB / 0.7605 GB Notification: Performance of matching and sorting (n=12): time 0.0004354/0.8005, allocations: 209.5 kB / 1.186 GB, free: 14.05 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.8006, allocations: 51.97 kB / 1.186 GB, free: 13.98 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007794/0.8014, allocations: 0.6436 MB / 1.187 GB, free: 13.33 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.644e-05/0.8014, allocations: 29.7 kB / 1.187 GB, free: 13.3 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001818/0.8016, allocations: 264.4 kB / 1.187 GB, free: 13.04 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 3.98e-05/0.8016, allocations: 35.59 kB / 1.187 GB, free: 13 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.359e-05/0.8017, allocations: 7.938 kB / 1.187 GB, free: 12.99 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.8018, allocations: 367.8 kB / 1.188 GB, free: 12.62 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001631/0.802, allocations: 91.95 kB / 1.188 GB, free: 12.54 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001774/0.8022, allocations: 123.3 kB / 1.188 GB, free: 12.4 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002337/0.8024, allocations: 143 kB / 1.188 GB, free: 12.26 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.8024, allocations: 0 / 1.188 GB, free: 12.26 MB / 0.7605 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004383/0.8029, allocations: 296.7 kB / 1.188 GB, free: 11.96 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.8029, allocations: 4 kB / 1.188 GB, free: 11.96 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.8029, allocations: 4 kB / 1.188 GB, free: 11.96 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.8029, allocations: 0 / 1.188 GB, free: 11.96 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001755/0.8031, allocations: 39.97 kB / 1.188 GB, free: 11.92 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.8031, allocations: 3.938 kB / 1.188 GB, free: 11.91 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001842/0.8033, allocations: 41.08 kB / 1.188 GB, free: 11.88 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.221e-05/0.8033, allocations: 8 kB / 1.188 GB, free: 11.87 MB / 0.7605 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.0002187/0.8036, allocations: 204.3 kB / 1.188 GB, free: 11.66 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.769e-05/0.8036, allocations: 55.28 kB / 1.189 GB, free: 11.61 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003318/0.804, allocations: 192.2 kB / 1.189 GB, free: 11.41 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.804, allocations: 4 kB / 1.189 GB, free: 11.41 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.804, allocations: 1.75 kB / 1.189 GB, free: 11.41 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.804, allocations: 3.984 kB / 1.189 GB, free: 11.4 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00032/0.8043, allocations: 373.4 kB / 1.189 GB, free: 10.99 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.8043, allocations: 0 / 1.189 GB, free: 10.99 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.857e-05/0.8044, allocations: 11.94 kB / 1.189 GB, free: 10.98 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.8044, allocations: 1.594 kB / 1.189 GB, free: 10.98 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.8045, allocations: 11.98 kB / 1.189 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.8045, allocations: 2.062 kB / 1.189 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.8045, allocations: 0 / 1.189 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004183/0.8049, allocations: 273 kB / 1.189 GB, free: 10.68 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.805, allocations: 136.3 kB / 1.189 GB, free: 10.53 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.56e-05/0.8051, allocations: 4 kB / 1.189 GB, free: 10.52 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.8052, allocations: 19.98 kB / 1.189 GB, free: 10.5 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.663e-05/0.8053, allocations: 20.59 kB / 1.19 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.8053, allocations: 15.98 kB / 1.19 GB, free: 10.47 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0004907/0.8058, allocations: 430.8 kB / 1.19 GB, free: 10.05 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8058, allocations: 0 / 1.19 GB, free: 10.05 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003257/0.8061, allocations: 71.92 kB / 1.19 GB, free: 9.98 MB / 0.7605 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.001073/0.8072, allocations: 460.5 kB / 1.19 GB, free: 9.77 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0003141/0.8075, allocations: 151.9 kB / 1.191 GB, free: 9.621 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.8076, allocations: 3.938 kB / 1.191 GB, free: 9.617 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.8077, allocations: 55.92 kB / 1.191 GB, free: 9.562 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004282/0.8081, allocations: 74.67 kB / 1.191 GB, free: 9.488 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/0.8095, allocations: 0.9484 MB / 1.192 GB, free: 8.508 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004574/0.8099, allocations: 0.8535 MB / 1.192 GB, free: 7.629 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001425/0.8101, allocations: 44.39 kB / 1.193 GB, free: 7.594 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.835e-05/0.8101, allocations: 27.44 kB / 1.193 GB, free: 7.566 MB / 0.7605 GB Notification: Performance of SimCode: time 2.3e-07/0.8102, allocations: 0 / 1.193 GB, free: 7.566 MB / 0.7605 GB Notification: Performance of Templates: time 0.009251/0.8194, allocations: 4.119 MB / 1.197 GB, free: 3.586 MB / 0.7605 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1)