Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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="mat",numberOfIntervals=5000,variableFilter="time|per.PEleMax|per.PEleMin|assPow.PEleDem|assPow.assMesP.u|assPow.assMesDP.u",fileNamePrefix="Buildings_latest_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_latest_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.0008997/0.0008996, allocations: 98.72 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 180.3 kB / 16.92 MB, free: 6.918 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.42/1.42, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.852/2.852, allocations: 462.7 MB / 0.7371 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003894/0.0003894, allocations: 8.656 kB / 0.9034 GB, free: 36.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3401, allocations: 159.6 MB / 1.059 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.003282/0.3434, allocations: 2.119 MB / 1.061 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002632/0.3461, allocations: 1.452 MB / 1.063 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002422/0.3464, allocations: 7.938 kB / 1.063 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0006708/0.347, allocations: 219.8 kB / 1.063 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004379/0.3475, allocations: 139.4 kB / 1.063 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005273/0.348, allocations: 173.7 kB / 1.063 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005317/0.3486, allocations: 318.9 kB / 1.064 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002433/0.3488, allocations: 84.7 kB / 1.064 GB, free: 460 kB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002531/0.3491, allocations: 115.4 kB / 1.064 GB, free: 344 kB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002356/0.3493, allocations: 143.3 kB / 1.064 GB, free: 200 kB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.412e-05/0.3494, allocations: 4 kB / 1.064 GB, free: 196 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001751/0.3496, allocations: 43.97 kB / 1.064 GB, free: 152 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001381/0.3497, allocations: 119.5 kB / 1.064 GB, free: 32 kB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.000212/0.3499, allocations: 192.5 kB / 1.064 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000461/0.3504, allocations: 378.9 kB / 1.065 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3504, allocations: 0 / 1.065 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3504, allocations: 0 / 1.065 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.705e-05/0.3505, allocations: 0 / 1.065 GB, free: 15.46 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.001258/0.3517, allocations: 0.7349 MB / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.3518, allocations: 15.97 kB / 1.065 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001221/0.3519, allocations: 56.28 kB / 1.065 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005842/0.3525, allocations: 431.8 kB / 1.066 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.842e-05/0.3525, allocations: 12.36 kB / 1.066 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.009e-05/0.3526, allocations: 19.94 kB / 1.066 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002816/0.3529, allocations: 130.3 kB / 1.066 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.3529, allocations: 0 / 1.066 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.461e-05/0.3529, allocations: 11.92 kB / 1.066 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.3529, allocations: 4 kB / 1.066 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000197/0.3531, allocations: 79.95 kB / 1.066 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001164/0.3543, allocations: 0.6563 MB / 1.067 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003717/0.3547, allocations: 130.7 kB / 1.067 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.3548, allocations: 48.84 kB / 1.067 GB, free: 13 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.752e-05/0.3548, allocations: 4 kB / 1.067 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002308/0.3551, allocations: 107.3 kB / 1.067 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 1.874e-06/0.3551, allocations: 0 / 1.067 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.0004679/0.3556, allocations: 217.1 kB / 1.067 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.3556, allocations: 55.39 kB / 1.067 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007471/0.3564, allocations: 0.6437 MB / 1.068 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/0.3564, allocations: 29.7 kB / 1.068 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002054/0.3566, allocations: 268.3 kB / 1.068 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.235e-05/0.3567, allocations: 31.55 kB / 1.068 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.64e-05/0.3567, allocations: 37.7 kB / 1.068 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.3569, allocations: 362.8 kB / 1.069 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001613/0.3571, allocations: 87.89 kB / 1.069 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001674/0.3572, allocations: 108.9 kB / 1.069 GB, free: 11 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002347/0.3575, allocations: 131.1 kB / 1.069 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.644e-06/0.3575, allocations: 0 / 1.069 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004362/0.3579, allocations: 275.6 kB / 1.069 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.358, allocations: 4 kB / 1.069 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.358, allocations: 0 / 1.069 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.358, allocations: 4 kB / 1.069 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001978/0.3582, allocations: 39.91 kB / 1.069 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.3582, allocations: 0 / 1.069 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002096/0.3584, allocations: 47.8 kB / 1.069 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.757e-05/0.3585, allocations: 7.984 kB / 1.069 GB, free: 10.49 MB / 0.8262 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.0002297/0.3587, allocations: 205.7 kB / 1.069 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.096e-05/0.3588, allocations: 47.34 kB / 1.07 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001046/0.3589, allocations: 56.66 kB / 1.07 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.3589, allocations: 8 kB / 1.07 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.3589, allocations: 3.938 kB / 1.07 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.3589, allocations: 3.984 kB / 1.07 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003709/0.3593, allocations: 381.3 kB / 1.07 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.3593, allocations: 3.984 kB / 1.07 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.005e-05/0.3594, allocations: 8 kB / 1.07 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.3594, allocations: 0 / 1.07 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.802e-05/0.3594, allocations: 4 kB / 1.07 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.3594, allocations: 3.938 kB / 1.07 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.3594, allocations: 4 kB / 1.07 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004609/0.3599, allocations: 264.2 kB / 1.07 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/0.36, allocations: 128.5 kB / 1.07 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.418e-05/0.3601, allocations: 7.938 kB / 1.07 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.3602, allocations: 15.98 kB / 1.07 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.878e-05/0.3603, allocations: 23.97 kB / 1.07 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.3604, allocations: 7.984 kB / 1.07 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0005129/0.3609, allocations: 430.8 kB / 1.071 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3609, allocations: 0 / 1.071 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003182/0.3612, allocations: 63.94 kB / 1.071 GB, free: 8.754 MB / 0.8262 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.001056/0.3623, allocations: 410.6 kB / 1.071 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003603/0.3626, allocations: 159.8 kB / 1.071 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.3627, allocations: 8.062 kB / 1.071 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.3628, allocations: 51.92 kB / 1.071 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004764/0.3633, allocations: 76.44 kB / 1.072 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001537/0.3648, allocations: 1.035 MB / 1.073 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004434/0.3653, allocations: 0.8535 MB / 1.073 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.655e-05/0.3654, allocations: 27.44 kB / 1.073 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3654, allocations: 0 / 1.073 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of Templates: time 0.008975/0.3744, allocations: 5.412 MB / 1.079 GB, free: 0.8594 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1)