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.001682/0.001682, allocations: 105 kB / 16.41 MB, free: 6.465 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.00193/0.00193, 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.391/1.391, allocations: 222.9 MB / 241 MB, free: 15.08 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.285/2.285, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 63.89 kB / 0.9515 GB, free: 7.59 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9324/0.934, allocations: 140.4 MB / 1.089 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.003697/0.9377, allocations: 2.429 MB / 1.091 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002302/0.94, allocations: 1.514 MB / 1.092 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002297/0.9403, allocations: 4.031 kB / 1.092 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007135/0.9411, allocations: 237.4 kB / 1.093 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004298/0.9415, allocations: 154.1 kB / 1.093 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005265/0.942, allocations: 186.9 kB / 1.093 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004211/0.9425, allocations: 347.8 kB / 1.093 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002254/0.9427, allocations: 99.11 kB / 1.093 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002499/0.943, allocations: 146 kB / 1.094 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002022/0.9432, allocations: 151.6 kB / 1.094 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.306e-05/0.9432, allocations: 21.56 kB / 1.094 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001789/0.9434, allocations: 71.42 kB / 1.094 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001464/0.9436, allocations: 120.4 kB / 1.094 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001501/0.9437, allocations: 193.2 kB / 1.094 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006915/0.9444, allocations: 0.5038 MB / 1.095 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.9444, allocations: 1.156 kB / 1.095 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.183e-06/0.9444, allocations: 0 / 1.095 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.398e-06/0.9445, allocations: 0 / 1.095 GB, free: 1.652 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.001083/0.9455, allocations: 0.7999 MB / 1.095 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.9456, allocations: 9.531 kB / 1.095 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001033/0.9457, allocations: 59.8 kB / 1.095 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005162/0.9462, allocations: 430 kB / 1.096 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.9463, allocations: 14.62 kB / 1.096 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.386e-05/0.9463, allocations: 17.39 kB / 1.096 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002958/0.9466, allocations: 138.1 kB / 1.096 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.9466, allocations: 5 kB / 1.096 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.131e-05/0.9467, allocations: 5.953 kB / 1.096 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.9467, allocations: 2.75 kB / 1.096 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002457/0.9469, allocations: 85.64 kB / 1.096 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/0.948, allocations: 0.6277 MB / 1.097 GB, free: 108 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004004/0.9484, allocations: 137.3 kB / 1.097 GB, free: 36 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.9485, allocations: 44.02 kB / 1.097 GB, free: 16 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.942e-05/0.9486, allocations: 5.656 kB / 1.097 GB, free: 12 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002581/0.9488, allocations: 110.2 kB / 1.097 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=12): time 1.533e-06/0.9489, allocations: 0 / 1.097 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of matching and sorting (n=12): time 0.0005503/0.9494, allocations: 213.4 kB / 1.097 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.9495, allocations: 54.03 kB / 1.097 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009231/0.9504, allocations: 0.6445 MB / 1.098 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.4e-05/0.9504, allocations: 32.5 kB / 1.098 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002266/0.9507, allocations: 257.5 kB / 1.098 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.938e-05/0.9507, allocations: 40.34 kB / 1.098 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.879e-05/0.9508, allocations: 57.94 kB / 1.098 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002046/0.951, allocations: 369 kB / 1.099 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001547/0.9512, allocations: 74.14 kB / 1.099 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001893/0.9514, allocations: 115 kB / 1.099 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000246/0.9517, allocations: 132.7 kB / 1.099 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.9517, allocations: 4.031 kB / 1.099 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004812/0.9522, allocations: 270.9 kB / 1.099 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.9522, allocations: 5.719 kB / 1.099 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.9522, allocations: 0.9375 kB / 1.099 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.9522, allocations: 5.109 kB / 1.099 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000196/0.9524, allocations: 39.84 kB / 1.099 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.9524, allocations: 1.062 kB / 1.099 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001964/0.9526, allocations: 29.48 kB / 1.099 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.422e-05/0.9527, allocations: 10.14 kB / 1.099 GB, free: 14.57 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.0002575/0.9529, allocations: 219.1 kB / 1.1 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.542e-05/0.953, allocations: 50.44 kB / 1.1 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000125/0.9532, allocations: 60.61 kB / 1.1 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.9532, allocations: 2.125 kB / 1.1 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.9532, allocations: 0 / 1.1 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.9532, allocations: 1.812 kB / 1.1 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004672/0.9537, allocations: 371.3 kB / 1.1 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.9537, allocations: 3.938 kB / 1.1 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.346e-05/0.9537, allocations: 13.73 kB / 1.1 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.9538, allocations: 1.344 kB / 1.1 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/0.9538, allocations: 6.797 kB / 1.1 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.9538, allocations: 0.7969 kB / 1.1 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.9538, allocations: 1.375 kB / 1.1 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005006/0.9543, allocations: 268.3 kB / 1.1 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/0.9544, allocations: 129.4 kB / 1.1 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.158e-05/0.9545, allocations: 11.5 kB / 1.1 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.9546, allocations: 12.81 kB / 1.1 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.808e-05/0.9547, allocations: 20.66 kB / 1.1 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.9547, allocations: 5.469 kB / 1.1 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006011/0.9553, allocations: 431.9 kB / 1.101 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.91e-07/0.9553, allocations: 0 / 1.101 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003259/0.9557, allocations: 53.59 kB / 1.101 GB, free: 13.59 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.001037/0.9567, allocations: 427.7 kB / 1.101 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003803/0.9571, allocations: 154 kB / 1.101 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.9571, allocations: 0 / 1.101 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001308/0.9573, allocations: 56.55 kB / 1.101 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004795/0.9578, allocations: 82.16 kB / 1.102 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001648/0.9594, allocations: 0.8746 MB / 1.102 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000593/0.96, allocations: 0.8574 MB / 1.103 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.9601, allocations: 28.23 kB / 1.103 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of SimCode: time 2.7e-07/0.9601, allocations: 0 / 1.103 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of Templates: time 0.01188/0.972, allocations: 5.45 MB / 1.109 GB, free: 11.17 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)