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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|per.PEleMax|per.PEleMin|assPow.PEleDem|assPow.assMesP.u|assPow.assMesDP.u",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|per.PEleMax|per.PEleMin|assPow.PEleDem|assPow.assMesP.u|assPow.assMesDP.u",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001784/0.001784, allocations: 105.5 kB / 16.41 MB, free: 6.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001887/0.001887, allocations: 187 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.588/2.588, allocations: 461.9 MB / 0.7355 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 67.89 kB / 1.055 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8078/0.8092, allocations: 157.4 MB / 1.208 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004335/0.8136, allocations: 2.435 MB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002511/0.8161, allocations: 1.51 MB / 1.212 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002622/0.8164, allocations: 7.938 kB / 1.212 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0007133/0.8171, allocations: 226.8 kB / 1.212 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004862/0.8177, allocations: 159.2 kB / 1.213 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005451/0.8182, allocations: 179.5 kB / 1.213 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005064/0.8187, allocations: 354.8 kB / 1.213 GB, free: 8.703 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002323/0.819, allocations: 84.7 kB / 1.213 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002754/0.8193, allocations: 151.4 kB / 1.213 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002326/0.8195, allocations: 151.2 kB / 1.214 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.606e-05/0.8196, allocations: 20 kB / 1.214 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001865/0.8198, allocations: 59.97 kB / 1.214 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001356/0.8199, allocations: 131.5 kB / 1.214 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001756/0.8201, allocations: 186.6 kB / 1.214 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006241/0.8207, allocations: 0.5078 MB / 1.214 GB, free: 7.422 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.8207, allocations: 0 / 1.214 GB, free: 7.422 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.393e-06/0.8207, allocations: 0 / 1.214 GB, free: 7.422 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.426e-05/0.8208, allocations: 4 kB / 1.214 GB, free: 7.418 MB / 0.9356 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.001344/0.8221, allocations: 0.8006 MB / 1.215 GB, free: 6.566 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.8222, allocations: 8.031 kB / 1.215 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/0.8223, allocations: 60.28 kB / 1.215 GB, free: 6.5 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000558/0.8229, allocations: 431.8 kB / 1.216 GB, free: 6.039 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.8229, allocations: 8.375 kB / 1.216 GB, free: 6.031 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.042e-05/0.8229, allocations: 19.94 kB / 1.216 GB, free: 6.012 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002896/0.8232, allocations: 133.5 kB / 1.216 GB, free: 5.875 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.8232, allocations: 4 kB / 1.216 GB, free: 5.871 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.022e-05/0.8233, allocations: 4 kB / 1.216 GB, free: 5.867 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.8233, allocations: 4 kB / 1.216 GB, free: 5.863 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001841/0.8235, allocations: 79.95 kB / 1.216 GB, free: 5.785 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/0.8245, allocations: 0.6368 MB / 1.217 GB, free: 5.098 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003787/0.8249, allocations: 130.6 kB / 1.217 GB, free: 4.961 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.825, allocations: 52.84 kB / 1.217 GB, free: 4.906 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.899e-05/0.8251, allocations: 7.922 kB / 1.217 GB, free: 4.898 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000217/0.8253, allocations: 111.3 kB / 1.217 GB, free: 4.777 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=12): time 1.583e-06/0.8253, allocations: 0 / 1.217 GB, free: 4.777 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12): time 0.0004625/0.8258, allocations: 212.8 kB / 1.217 GB, free: 4.562 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.8258, allocations: 55.34 kB / 1.217 GB, free: 4.496 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007048/0.8265, allocations: 0.6476 MB / 1.218 GB, free: 3.84 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.8266, allocations: 37.64 kB / 1.218 GB, free: 3.797 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001976/0.8268, allocations: 264.3 kB / 1.218 GB, free: 3.531 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.365e-05/0.8268, allocations: 35.55 kB / 1.218 GB, free: 3.496 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.421e-05/0.8269, allocations: 53.69 kB / 1.218 GB, free: 3.438 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.8271, allocations: 366.8 kB / 1.218 GB, free: 3.07 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001495/0.8272, allocations: 83.91 kB / 1.219 GB, free: 2.988 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001641/0.8274, allocations: 112.3 kB / 1.219 GB, free: 2.867 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002313/0.8277, allocations: 135.8 kB / 1.219 GB, free: 2.73 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.8277, allocations: 0 / 1.219 GB, free: 2.73 MB / 0.9356 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004283/0.8281, allocations: 274.8 kB / 1.219 GB, free: 2.457 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.8281, allocations: 5.875 kB / 1.219 GB, free: 2.453 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.8281, allocations: 0 / 1.219 GB, free: 2.453 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.8282, allocations: 4 kB / 1.219 GB, free: 2.449 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001714/0.8283, allocations: 35.97 kB / 1.219 GB, free: 2.414 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.8284, allocations: 4.062 kB / 1.219 GB, free: 2.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001813/0.8285, allocations: 27.83 kB / 1.219 GB, free: 2.383 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.862e-05/0.8286, allocations: 8 kB / 1.219 GB, free: 2.375 MB / 0.9356 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 ($PRE.PEleDem.tab.nextTimeEvent,$whenCondition1,PEleDem.tab.nextTimeEventScaled,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEvent,assPow.minPow.y,$PRE.assPow.minPow.y,assPow.maxPow.y,$PRE.assPow.maxPow.y,assPow.assMesDP.u,assPow.assMesP.u) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002213/0.8288, allocations: 209.7 kB / 1.219 GB, free: 2.16 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.497e-05/0.8289, allocations: 51.34 kB / 1.219 GB, free: 2.109 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001077/0.829, allocations: 56.66 kB / 1.219 GB, free: 2.051 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.829, allocations: 0 / 1.219 GB, free: 2.051 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.829, allocations: 4 kB / 1.219 GB, free: 2.047 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.829, allocations: 0 / 1.219 GB, free: 2.047 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003293/0.8293, allocations: 381.3 kB / 1.22 GB, free: 1.625 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.8294, allocations: 0 / 1.22 GB, free: 1.625 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.114e-05/0.8294, allocations: 11.98 kB / 1.22 GB, free: 1.613 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.8294, allocations: 0 / 1.22 GB, free: 1.613 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/0.8295, allocations: 7.938 kB / 1.22 GB, free: 1.605 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.8295, allocations: 3.938 kB / 1.22 GB, free: 1.602 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.8295, allocations: 4 kB / 1.22 GB, free: 1.598 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004263/0.8299, allocations: 260.3 kB / 1.22 GB, free: 1.324 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.918e-05/0.83, allocations: 128.4 kB / 1.22 GB, free: 1.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.075e-05/0.8301, allocations: 7.984 kB / 1.22 GB, free: 1.172 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.8302, allocations: 15.98 kB / 1.22 GB, free: 1.156 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.004e-05/0.8303, allocations: 19.97 kB / 1.22 GB, free: 1.137 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.8303, allocations: 4 kB / 1.22 GB, free: 1.133 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004467/0.8308, allocations: 430.8 kB / 1.221 GB, free: 0.7148 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8308, allocations: 4.062 kB / 1.221 GB, free: 0.7109 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003083/0.8311, allocations: 59.91 kB / 1.221 GB, free: 0.6523 MB / 0.9356 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.assMesDP.u,assPow.maxPow.y,assPow.minPow.y,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Number of discrete states: 4 (PEleDem.tab.nextTimeEventScaled,assPow.minPow.y,assPow.maxPow.y,PEleDem.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001035/0.8321, allocations: 429.8 kB / 1.221 GB, free: 392 kB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003576/0.8325, allocations: 151.9 kB / 1.221 GB, free: 240 kB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.8325, allocations: 0 / 1.221 GB, free: 240 kB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.8326, allocations: 59.91 kB / 1.221 GB, free: 180 kB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004538/0.8331, allocations: 92.08 kB / 1.221 GB, free: 92 kB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001365/0.8345, allocations: 0.8739 MB / 1.222 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005565/0.8351, allocations: 0.8578 MB / 1.223 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.051e-05/0.8352, allocations: 31.42 kB / 1.223 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of SimCode: time 3.21e-07/0.8352, allocations: 0 / 1.223 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of Templates: time 0.009316/0.8445, allocations: 5.444 MB / 1.228 GB, free: 8.848 MB / 0.9512 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 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1)