Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001551/0.001551, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.001744/0.001744, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.476/1.476, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.621/2.621, allocations: 437.1 MB / 0.7111 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 67.08 kB / 0.8699 GB, free: 2.164 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3326, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.00431/0.337, allocations: 2.438 MB / 1.02 GB, free: 8.152 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002556/0.3396, allocations: 1.514 MB / 1.022 GB, free: 6.629 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001727/0.3398, allocations: 7.938 kB / 1.022 GB, free: 6.621 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0006392/0.3404, allocations: 219.1 kB / 1.022 GB, free: 6.406 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003785/0.3409, allocations: 159.2 kB / 1.022 GB, free: 6.25 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004538/0.3413, allocations: 182.8 kB / 1.022 GB, free: 6.074 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0004213/0.3418, allocations: 346.9 kB / 1.023 GB, free: 5.734 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002231/0.342, allocations: 96.69 kB / 1.023 GB, free: 5.637 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001903/0.3422, allocations: 135.4 kB / 1.023 GB, free: 5.504 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001999/0.3424, allocations: 151.3 kB / 1.023 GB, free: 5.355 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 5.108e-05/0.3425, allocations: 24 kB / 1.023 GB, free: 5.332 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001592/0.3427, allocations: 63.97 kB / 1.023 GB, free: 5.27 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001424/0.3428, allocations: 131.5 kB / 1.023 GB, free: 5.141 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001897/0.343, allocations: 182.7 kB / 1.023 GB, free: 4.961 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0005727/0.3436, allocations: 0.4981 MB / 1.024 GB, free: 4.461 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3436, allocations: 0 / 1.024 GB, free: 4.461 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3436, allocations: 0 / 1.024 GB, free: 4.461 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.163e-06/0.3436, allocations: 0 / 1.024 GB, free: 4.461 MB / 0.795 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.001285/0.3449, allocations: 0.7968 MB / 1.025 GB, free: 3.613 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.345, allocations: 12.03 kB / 1.025 GB, free: 3.602 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/0.3451, allocations: 56.19 kB / 1.025 GB, free: 3.547 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005779/0.3457, allocations: 431.8 kB / 1.025 GB, free: 3.082 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.3457, allocations: 8.375 kB / 1.025 GB, free: 3.074 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.602e-05/0.3457, allocations: 19.94 kB / 1.025 GB, free: 3.055 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002881/0.346, allocations: 138.5 kB / 1.025 GB, free: 2.914 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.346, allocations: 0 / 1.025 GB, free: 2.914 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.928e-05/0.3461, allocations: 8 kB / 1.025 GB, free: 2.906 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.3461, allocations: 4 kB / 1.025 GB, free: 2.902 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001955/0.3463, allocations: 83.89 kB / 1.025 GB, free: 2.82 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001122/0.3474, allocations: 0.6367 MB / 1.026 GB, free: 2.133 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004183/0.3478, allocations: 142.5 kB / 1.026 GB, free: 1.984 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/0.348, allocations: 56.81 kB / 1.026 GB, free: 1.926 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.865e-05/0.348, allocations: 4 kB / 1.026 GB, free: 1.922 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002288/0.3482, allocations: 99.36 kB / 1.026 GB, free: 1.812 MB / 0.795 GB Notification: Performance of pre-optimization done (n=12): time 1.944e-06/0.3483, allocations: 0 / 1.026 GB, free: 1.812 MB / 0.795 GB Notification: Performance of matching and sorting (n=12): time 0.0004733/0.3487, allocations: 208.9 kB / 1.027 GB, free: 1.602 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.318e-05/0.3488, allocations: 55.41 kB / 1.027 GB, free: 1.535 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007767/0.3496, allocations: 0.6475 MB / 1.027 GB, free: 0.8789 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.229e-05/0.3496, allocations: 37.7 kB / 1.027 GB, free: 0.8359 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002256/0.3499, allocations: 256.4 kB / 1.028 GB, free: 0.582 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.495e-05/0.3499, allocations: 35.55 kB / 1.028 GB, free: 0.5469 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.35, allocations: 57.59 kB / 1.028 GB, free: 496 kB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001952/0.3502, allocations: 370.8 kB / 1.028 GB, free: 116 kB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001551/0.3504, allocations: 75.97 kB / 1.028 GB, free: 40 kB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002018/0.3506, allocations: 125.7 kB / 1.028 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002475/0.3508, allocations: 128.3 kB / 1.028 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.3509, allocations: 0 / 1.028 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004419/0.3513, allocations: 272.7 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.3513, allocations: 7.984 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.3513, allocations: 4 kB / 1.029 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.3514, allocations: 0 / 1.029 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001815/0.3515, allocations: 39.98 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.3516, allocations: 8 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001845/0.3518, allocations: 27.81 kB / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.786e-05/0.3518, allocations: 8 kB / 1.029 GB, free: 15.41 MB / 0.8106 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.0002346/0.352, allocations: 205.7 kB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.559e-05/0.3521, allocations: 47.34 kB / 1.029 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001079/0.3522, allocations: 60.66 kB / 1.029 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.3522, allocations: 11.98 kB / 1.029 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.3522, allocations: 0 / 1.029 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3523, allocations: 0 / 1.029 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003877/0.3526, allocations: 373.3 kB / 1.029 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.3527, allocations: 4 kB / 1.029 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.802e-05/0.3527, allocations: 8 kB / 1.029 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3527, allocations: 0 / 1.029 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.3528, allocations: 4 kB / 1.029 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.3528, allocations: 3.984 kB / 1.029 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.3528, allocations: 4 kB / 1.029 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004675/0.3533, allocations: 268.6 kB / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001113/0.3534, allocations: 124.5 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.825e-05/0.3534, allocations: 4 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.3536, allocations: 15.92 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.9e-05/0.3537, allocations: 23.97 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.3537, allocations: 8 kB / 1.03 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0005027/0.3542, allocations: 426.8 kB / 1.03 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3542, allocations: 4.062 kB / 1.03 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003009/0.3545, allocations: 67.83 kB / 1.03 GB, free: 13.69 MB / 0.8106 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.001554/0.3561, allocations: 414.2 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003899/0.3565, allocations: 161.7 kB / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3565, allocations: 3.938 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001246/0.3566, allocations: 51.98 kB / 1.031 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004498/0.3571, allocations: 82.83 kB / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001502/0.3586, allocations: 0.9014 MB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005632/0.3592, allocations: 0.8533 MB / 1.033 GB, free: 11.33 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.299e-05/0.3593, allocations: 31.44 kB / 1.033 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of SimCode: time 4.61e-07/0.3593, allocations: 0 / 1.033 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of Templates: time 0.009921/0.3692, allocations: 5.409 MB / 1.038 GB, free: 5.93 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1)