Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001937/0.001937, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002223/0.002223, allocations: 189 kB / 16.25 MB, free: 6.629 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.473/1.473, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.798/2.798, allocations: 472.6 MB / 0.7448 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 65.86 kB / 0.9115 GB, free: 33.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3637/0.3652, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.00428/0.3695, allocations: 2.479 MB / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002409/0.3719, allocations: 1.479 MB / 1.072 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002036/0.3722, allocations: 4 kB / 1.072 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0006832/0.3728, allocations: 223.8 kB / 1.072 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003506/0.3732, allocations: 139.4 kB / 1.072 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004325/0.3736, allocations: 167.7 kB / 1.072 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000403/0.3741, allocations: 346.8 kB / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002211/0.3743, allocations: 92.7 kB / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001863/0.3745, allocations: 139.4 kB / 1.073 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001804/0.3747, allocations: 163.2 kB / 1.073 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.16e-05/0.3747, allocations: 20 kB / 1.073 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001543/0.3749, allocations: 67.97 kB / 1.073 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.375, allocations: 127.5 kB / 1.073 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001657/0.3752, allocations: 190.6 kB / 1.073 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005088/0.3757, allocations: 0.4943 MB / 1.074 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.3757, allocations: 0 / 1.074 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3757, allocations: 0 / 1.074 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.725e-06/0.3757, allocations: 0 / 1.074 GB, free: 4.672 MB / 0.8262 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.001221/0.377, allocations: 0.8006 MB / 1.074 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.377, allocations: 11.97 kB / 1.074 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.323e-05/0.3771, allocations: 56.28 kB / 1.074 GB, free: 3.754 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005382/0.3776, allocations: 423.8 kB / 1.075 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.3777, allocations: 16.36 kB / 1.075 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.319e-05/0.3777, allocations: 23.92 kB / 1.075 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002889/0.378, allocations: 137.5 kB / 1.075 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.378, allocations: 0 / 1.075 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.827e-05/0.3781, allocations: 0 / 1.075 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.3781, allocations: 8 kB / 1.075 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001875/0.3783, allocations: 87.95 kB / 1.075 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001089/0.3794, allocations: 0.6329 MB / 1.076 GB, free: 2.34 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004592/0.3798, allocations: 134.6 kB / 1.076 GB, free: 2.199 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.38, allocations: 48.88 kB / 1.076 GB, free: 2.148 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.811e-05/0.38, allocations: 4 kB / 1.076 GB, free: 2.145 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002366/0.3802, allocations: 103.4 kB / 1.076 GB, free: 2.031 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 3.687e-06/0.3803, allocations: 0 / 1.076 GB, free: 2.031 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.0004734/0.3807, allocations: 216.8 kB / 1.076 GB, free: 1.812 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.3808, allocations: 55.41 kB / 1.076 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007307/0.3815, allocations: 0.6514 MB / 1.077 GB, free: 1.086 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.841e-05/0.3816, allocations: 29.7 kB / 1.077 GB, free: 1.051 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002604/0.3818, allocations: 264.3 kB / 1.077 GB, free: 0.7891 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.266e-05/0.3819, allocations: 31.55 kB / 1.077 GB, free: 0.7578 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.862e-05/0.382, allocations: 61.69 kB / 1.077 GB, free: 0.6914 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.3821, allocations: 362.8 kB / 1.078 GB, free: 336 kB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.3823, allocations: 83.95 kB / 1.078 GB, free: 252 kB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001719/0.3825, allocations: 113.3 kB / 1.078 GB, free: 128 kB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002295/0.3827, allocations: 140.2 kB / 1.078 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3827, allocations: 0 / 1.078 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000456/0.3832, allocations: 272.7 kB / 1.078 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.3832, allocations: 4 kB / 1.078 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.3832, allocations: 0 / 1.078 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.3832, allocations: 0 / 1.078 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001779/0.3834, allocations: 39.97 kB / 1.078 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.3834, allocations: 0 / 1.078 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001648/0.3836, allocations: 31.86 kB / 1.078 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.94e-05/0.3836, allocations: 11.98 kB / 1.078 GB, free: 15.62 MB / 0.8419 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.0002038/0.3838, allocations: 205.7 kB / 1.079 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.956e-05/0.3839, allocations: 51.34 kB / 1.079 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.379e-05/0.384, allocations: 56.66 kB / 1.079 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.384, allocations: 0 / 1.079 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.384, allocations: 0 / 1.079 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.384, allocations: 7.984 kB / 1.079 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003386/0.3844, allocations: 385.2 kB / 1.079 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3844, allocations: 0 / 1.079 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.16e-05/0.3845, allocations: 8 kB / 1.079 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3845, allocations: 3.938 kB / 1.079 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.856e-05/0.3845, allocations: 8 kB / 1.079 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3845, allocations: 0 / 1.079 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3845, allocations: 0 / 1.079 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004488/0.385, allocations: 260.3 kB / 1.079 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.3851, allocations: 128.5 kB / 1.079 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.144e-05/0.3851, allocations: 12 kB / 1.079 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.3853, allocations: 11.98 kB / 1.079 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.765e-05/0.3854, allocations: 19.97 kB / 1.079 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.3854, allocations: 4 kB / 1.079 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000459/0.3858, allocations: 430.8 kB / 1.08 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3858, allocations: 4 kB / 1.08 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002962/0.3861, allocations: 63.89 kB / 1.08 GB, free: 13.91 MB / 0.8419 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.001128/0.3873, allocations: 424.1 kB / 1.08 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003932/0.3877, allocations: 159.9 kB / 1.08 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3877, allocations: 0 / 1.08 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000175/0.3879, allocations: 55.92 kB / 1.081 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004887/0.3884, allocations: 105.3 kB / 1.081 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001533/0.3899, allocations: 0.9465 MB / 1.082 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005469/0.3905, allocations: 0.861 MB / 1.082 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001312/0.3906, allocations: 34.28 kB / 1.082 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.642e-05/0.3907, allocations: 31.42 kB / 1.082 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of SimCode: time 7.22e-07/0.3907, allocations: 0 / 1.082 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of Templates: time 0.009564/0.4003, allocations: 3.874 MB / 1.086 GB, free: 7.562 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1)