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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001526/0.001526, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001539/0.001539, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.472/1.472, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.239/2.239, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001428, allocations: 71.89 kB / 0.9515 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9418/0.9433, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.003893/0.9472, allocations: 2.43 MB / 1.091 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002364/0.9496, allocations: 1.5 MB / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002192/0.9499, allocations: 11.81 kB / 1.092 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00074/0.9506, allocations: 233.7 kB / 1.093 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004116/0.951, allocations: 157.1 kB / 1.093 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005155/0.9516, allocations: 187.7 kB / 1.093 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004544/0.952, allocations: 348.4 kB / 1.093 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000239/0.9523, allocations: 97.59 kB / 1.093 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002274/0.9525, allocations: 146.2 kB / 1.094 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002205/0.9527, allocations: 151 kB / 1.094 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.535e-05/0.9528, allocations: 21.81 kB / 1.094 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001751/0.953, allocations: 71.97 kB / 1.094 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001426/0.9531, allocations: 120.3 kB / 1.094 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001691/0.9533, allocations: 192.8 kB / 1.094 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006498/0.954, allocations: 0.5003 MB / 1.095 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.954, allocations: 0.7812 kB / 1.095 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.174e-06/0.954, allocations: 0 / 1.095 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.442e-05/0.954, allocations: 3.938 kB / 1.095 GB, free: 1.68 MB / 0.8575 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.001182/0.9552, allocations: 0.7999 MB / 1.095 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.9553, allocations: 9.328 kB / 1.095 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001219/0.9554, allocations: 67.5 kB / 1.095 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005151/0.9559, allocations: 422.7 kB / 1.096 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.9559, allocations: 10.06 kB / 1.096 GB, free: 0.6641 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.237e-05/0.956, allocations: 18.3 kB / 1.096 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003138/0.9563, allocations: 142.4 kB / 1.096 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.9563, allocations: 0 / 1.096 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.137e-05/0.9564, allocations: 5.531 kB / 1.096 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.9564, allocations: 3.438 kB / 1.096 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000207/0.9566, allocations: 86.27 kB / 1.096 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001102/0.9577, allocations: 0.6303 MB / 1.097 GB, free: 136 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004214/0.9581, allocations: 139.1 kB / 1.097 GB, free: 64 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.9582, allocations: 50.78 kB / 1.097 GB, free: 36 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.083e-05/0.9583, allocations: 2.438 kB / 1.097 GB, free: 36 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00026/0.9585, allocations: 101.4 kB / 1.097 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=12): time 1.493e-06/0.9586, allocations: 4.938 kB / 1.097 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of matching and sorting (n=12): time 0.000541/0.9591, allocations: 208.8 kB / 1.097 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.154e-05/0.9592, allocations: 57.31 kB / 1.097 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001022/0.9602, allocations: 0.6452 MB / 1.098 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.23e-05/0.9602, allocations: 32.55 kB / 1.098 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002441/0.9605, allocations: 261.2 kB / 1.098 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.099e-05/0.9605, allocations: 45.27 kB / 1.098 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.9607, allocations: 52.77 kB / 1.098 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001843/0.9609, allocations: 369.2 kB / 1.099 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/0.961, allocations: 79.75 kB / 1.099 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002038/0.9613, allocations: 113.5 kB / 1.099 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002473/0.9615, allocations: 129.6 kB / 1.099 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.9615, allocations: 1.125 kB / 1.099 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004893/0.962, allocations: 276.5 kB / 1.099 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.962, allocations: 5.719 kB / 1.099 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.9621, allocations: 4 kB / 1.099 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.9621, allocations: 2.562 kB / 1.099 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001954/0.9623, allocations: 39.14 kB / 1.099 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.9623, allocations: 1.219 kB / 1.099 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001955/0.9625, allocations: 29.81 kB / 1.099 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.181e-05/0.9625, allocations: 10.12 kB / 1.099 GB, free: 14.59 MB / 0.8731 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.0002607/0.9628, allocations: 210.6 kB / 1.099 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.333e-05/0.9629, allocations: 55.56 kB / 1.1 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001162/0.963, allocations: 60.27 kB / 1.1 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.963, allocations: 1.688 kB / 1.1 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.963, allocations: 0 / 1.1 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.963, allocations: 1.219 kB / 1.1 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004677/0.9635, allocations: 371.1 kB / 1.1 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.9635, allocations: 1.672 kB / 1.1 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.939e-05/0.9636, allocations: 8.531 kB / 1.1 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.9636, allocations: 1.766 kB / 1.1 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.9636, allocations: 6.203 kB / 1.1 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.9636, allocations: 8.797 kB / 1.1 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.9637, allocations: 1.125 kB / 1.1 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004981/0.9642, allocations: 264 kB / 1.1 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.9643, allocations: 130.9 kB / 1.1 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.51e-05/0.9643, allocations: 6.719 kB / 1.1 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.9645, allocations: 11.62 kB / 1.1 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.137e-05/0.9646, allocations: 29.97 kB / 1.1 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/0.9646, allocations: 13.48 kB / 1.1 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005747/0.9652, allocations: 427.1 kB / 1.101 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.21e-07/0.9652, allocations: 0.9375 kB / 1.101 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003269/0.9655, allocations: 53.84 kB / 1.101 GB, free: 13.61 MB / 0.8731 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.001049/0.9666, allocations: 422.1 kB / 1.101 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003857/0.967, allocations: 157.4 kB / 1.101 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.967, allocations: 0 / 1.101 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001404/0.9671, allocations: 56.41 kB / 1.101 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004819/0.9676, allocations: 77.52 kB / 1.102 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001583/0.9692, allocations: 0.873 MB / 1.102 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006117/0.9699, allocations: 0.8613 MB / 1.103 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.869e-05/0.97, allocations: 27.94 kB / 1.103 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of SimCode: time 7.12e-07/0.97, allocations: 0.75 kB / 1.103 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of Templates: time 0.01098/0.981, allocations: 5.449 MB / 1.109 GB, free: 11.19 MB / 0.8731 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)