Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.008058/0.008058, allocations: 100.4 kB / 15.87 MB, free: 5.867 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.00178/0.00178, allocations: 192.6 kB / 16.79 MB, free: 5.809 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.485/1.485, allocations: 222.9 MB / 240.5 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.457/2.457, allocations: 390.2 MB / 0.6649 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 67.89 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6363/0.6378, allocations: 140.3 MB / 0.9496 GB, free: 9.246 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.003731/0.6416, allocations: 2.476 MB / 0.952 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002021/0.6436, allocations: 1.474 MB / 0.9534 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001999/0.6438, allocations: 7 kB / 0.9534 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006149/0.6445, allocations: 223 kB / 0.9537 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003028/0.6448, allocations: 136.6 kB / 0.9538 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003885/0.6452, allocations: 165 kB / 0.9539 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003148/0.6455, allocations: 327.5 kB / 0.9543 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001885/0.6457, allocations: 89.11 kB / 0.9543 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000154/0.6459, allocations: 122.4 kB / 0.9545 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001496/0.6461, allocations: 150.2 kB / 0.9546 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.987e-05/0.6461, allocations: 10.41 kB / 0.9546 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000141/0.6462, allocations: 55.33 kB / 0.9547 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.6464, allocations: 124.5 kB / 0.9548 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001383/0.6465, allocations: 180.5 kB / 0.955 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003066/0.6468, allocations: 393.8 kB / 0.9553 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.6468, allocations: 0 / 0.9553 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.062e-06/0.6468, allocations: 0 / 0.9553 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.6469, allocations: 1.25 kB / 0.9553 GB, free: 4.891 MB / 0.7169 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.001015/0.6479, allocations: 0.7987 MB / 0.9561 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.6479, allocations: 13.38 kB / 0.9561 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.531e-05/0.648, allocations: 59.31 kB / 0.9562 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004366/0.6485, allocations: 421 kB / 0.9566 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.6485, allocations: 21.94 kB / 0.9566 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.447e-05/0.6485, allocations: 21.36 kB / 0.9566 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002607/0.6488, allocations: 131 kB / 0.9567 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.6488, allocations: 0 / 0.9567 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.6488, allocations: 1.031 kB / 0.9567 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.6489, allocations: 3.375 kB / 0.9568 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001748/0.649, allocations: 87.02 kB / 0.9568 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008814/0.6499, allocations: 0.6455 MB / 0.9575 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003645/0.6503, allocations: 131.3 kB / 0.9576 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.047e-05/0.6504, allocations: 46.38 kB / 0.9576 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.837e-05/0.6504, allocations: 5.922 kB / 0.9576 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002102/0.6507, allocations: 109.9 kB / 0.9577 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=12): time 1.924e-06/0.6507, allocations: 0 / 0.9577 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12): time 0.000423/0.6511, allocations: 209.3 kB / 0.9579 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.457e-05/0.6511, allocations: 56.78 kB / 0.958 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00064/0.6518, allocations: 0.6458 MB / 0.9586 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.6518, allocations: 31.95 kB / 0.9587 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/0.652, allocations: 263.9 kB / 0.9589 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.62e-05/0.652, allocations: 29 kB / 0.9589 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.213e-05/0.6521, allocations: 58.25 kB / 0.959 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.214e-05/0.6522, allocations: 367.5 kB / 0.9593 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.6523, allocations: 82.05 kB / 0.9594 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001606/0.6525, allocations: 116.8 kB / 0.9595 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002039/0.6527, allocations: 126.9 kB / 0.9597 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.6527, allocations: 0 / 0.9597 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003981/0.6531, allocations: 275.8 kB / 0.9599 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.6532, allocations: 5.125 kB / 0.9599 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.6532, allocations: 1.062 kB / 0.9599 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.6532, allocations: 5.078 kB / 0.9599 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001819/0.6534, allocations: 40.89 kB / 0.96 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.6534, allocations: 2.219 kB / 0.96 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001785/0.6536, allocations: 31.52 kB / 0.96 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.631e-05/0.6536, allocations: 9.422 kB / 0.96 GB, free: 1.305 MB / 0.7169 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.000171/0.6538, allocations: 203.4 kB / 0.9602 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.895e-05/0.6539, allocations: 59.03 kB / 0.9603 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.721e-05/0.6539, allocations: 55.69 kB / 0.9603 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.654, allocations: 6.188 kB / 0.9603 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.654, allocations: 3.984 kB / 0.9603 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.654, allocations: 5.094 kB / 0.9603 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002772/0.6543, allocations: 375.7 kB / 0.9607 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.6543, allocations: 0 / 0.9607 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.972e-05/0.6543, allocations: 7.438 kB / 0.9607 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.6543, allocations: 1.094 kB / 0.9607 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.6544, allocations: 6.406 kB / 0.9607 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.6544, allocations: 0 / 0.9607 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.6544, allocations: 4.984 kB / 0.9607 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004274/0.6548, allocations: 264.9 kB / 0.961 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.47e-05/0.6549, allocations: 136.8 kB / 0.9611 GB, free: 420 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.022e-05/0.655, allocations: 6.312 kB / 0.9611 GB, free: 416 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.6551, allocations: 12.02 kB / 0.9611 GB, free: 412 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.316e-05/0.6552, allocations: 21.72 kB / 0.9611 GB, free: 400 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.6552, allocations: 6.953 kB / 0.9611 GB, free: 396 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004145/0.6556, allocations: 425.2 kB / 0.9615 GB, free: 160 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6556, allocations: 0 / 0.9615 GB, free: 160 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003057/0.6559, allocations: 63.36 kB / 0.9616 GB, free: 144 kB / 0.7169 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.0009793/0.6569, allocations: 421.9 kB / 0.962 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000343/0.6573, allocations: 162.5 kB / 0.9622 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.6573, allocations: 1.312 kB / 0.9622 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001255/0.6574, allocations: 54.83 kB / 0.9622 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004542/0.6579, allocations: 73.3 kB / 0.9623 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001453/0.6593, allocations: 1.002 MB / 0.9633 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004649/0.6598, allocations: 0.8553 MB / 0.9641 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.867e-05/0.6599, allocations: 32.67 kB / 0.9641 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of SimCode: time 2.91e-07/0.6599, allocations: 0 / 0.9641 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of Templates: time 0.009621/0.6695, allocations: 5.418 MB / 0.9694 GB, free: 11.4 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1)