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.0008607/0.0008608, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.006873/0.006874, allocations: 170.8 kB / 16.26 MB, free: 6.613 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.468/1.468, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.926/2.926, allocations: 473.4 MB / 0.7469 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004598/0.0004598, allocations: 10.22 kB / 0.9158 GB, free: 33.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3719/0.3724, allocations: 162.2 MB / 1.074 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.003106/0.3756, allocations: 2.117 MB / 1.076 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002351/0.3779, allocations: 1.456 MB / 1.078 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001487/0.3781, allocations: 7.938 kB / 1.078 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000607/0.3787, allocations: 223.7 kB / 1.078 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003084/0.379, allocations: 135.4 kB / 1.078 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003965/0.3794, allocations: 163.7 kB / 1.078 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003709/0.3798, allocations: 334.8 kB / 1.078 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001911/0.38, allocations: 80.7 kB / 1.079 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000156/0.3802, allocations: 115.4 kB / 1.079 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001664/0.3804, allocations: 139.3 kB / 1.079 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.898e-05/0.3804, allocations: 8 kB / 1.079 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001264/0.3805, allocations: 47.95 kB / 1.079 GB, free: 2.707 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002154/0.3808, allocations: 111.5 kB / 1.079 GB, free: 2.598 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001881/0.381, allocations: 192.3 kB / 1.079 GB, free: 2.402 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004615/0.3814, allocations: 482 kB / 1.08 GB, free: 1.93 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.3814, allocations: 0 / 1.08 GB, free: 1.93 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3814, allocations: 0 / 1.08 GB, free: 1.93 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.3814, allocations: 0 / 1.08 GB, free: 1.93 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.001071/0.3825, allocations: 0.7387 MB / 1.08 GB, free: 1.141 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.3826, allocations: 8.031 kB / 1.08 GB, free: 1.133 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.607e-05/0.3827, allocations: 60.19 kB / 1.08 GB, free: 1.074 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005623/0.3832, allocations: 427.8 kB / 1.081 GB, free: 0.6133 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.3833, allocations: 16.36 kB / 1.081 GB, free: 0.5977 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.937e-05/0.3833, allocations: 15.94 kB / 1.081 GB, free: 0.582 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002541/0.3836, allocations: 133.6 kB / 1.081 GB, free: 456 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.3836, allocations: 0 / 1.081 GB, free: 456 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.159e-05/0.3836, allocations: 11.98 kB / 1.081 GB, free: 444 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.3836, allocations: 0 / 1.081 GB, free: 444 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002453/0.3839, allocations: 83.95 kB / 1.081 GB, free: 360 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/0.3849, allocations: 0.6563 MB / 1.082 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003721/0.3853, allocations: 130.7 kB / 1.082 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.3854, allocations: 44.84 kB / 1.082 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.655e-05/0.3855, allocations: 4 kB / 1.082 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002121/0.3857, allocations: 111.3 kB / 1.082 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=12): time 1.493e-06/0.3857, allocations: 3.938 kB / 1.082 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12): time 0.0004445/0.3862, allocations: 205 kB / 1.082 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/0.3862, allocations: 55.41 kB / 1.082 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006783/0.3869, allocations: 0.6436 MB / 1.083 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.988e-05/0.3869, allocations: 37.69 kB / 1.083 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001942/0.3871, allocations: 248.5 kB / 1.083 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.826e-05/0.3872, allocations: 43.53 kB / 1.083 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.772e-05/0.3872, allocations: 33.7 kB / 1.083 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002539/0.3875, allocations: 370.8 kB / 1.084 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.3876, allocations: 79.91 kB / 1.084 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001659/0.3878, allocations: 121 kB / 1.084 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002898/0.3881, allocations: 136.5 kB / 1.084 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3881, allocations: 0 / 1.084 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004702/0.3886, allocations: 272.8 kB / 1.084 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.3886, allocations: 8 kB / 1.084 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.3886, allocations: 0 / 1.084 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.3887, allocations: 0 / 1.084 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.3888, allocations: 39.92 kB / 1.084 GB, free: 13 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.3888, allocations: 0 / 1.084 GB, free: 13 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001841/0.389, allocations: 39.84 kB / 1.084 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.175e-05/0.3891, allocations: 8 kB / 1.084 GB, free: 12.95 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.00022/0.3893, allocations: 201.7 kB / 1.084 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.49e-05/0.3894, allocations: 55.33 kB / 1.084 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.55e-05/0.3895, allocations: 56.66 kB / 1.084 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.3895, allocations: 0 / 1.084 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.3895, allocations: 0 / 1.084 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.3895, allocations: 8 kB / 1.084 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003606/0.3899, allocations: 377.2 kB / 1.085 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.3899, allocations: 0 / 1.085 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.244e-05/0.39, allocations: 11.94 kB / 1.085 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.39, allocations: 0 / 1.085 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.39, allocations: 7.984 kB / 1.085 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.39, allocations: 0 / 1.085 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.39, allocations: 4 kB / 1.085 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004614/0.3905, allocations: 260.3 kB / 1.085 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.3906, allocations: 132.5 kB / 1.085 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.442e-05/0.3907, allocations: 0 / 1.085 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.3908, allocations: 19.98 kB / 1.085 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.523e-05/0.3909, allocations: 23.91 kB / 1.085 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.3909, allocations: 11.92 kB / 1.085 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0005066/0.3914, allocations: 430.8 kB / 1.086 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3914, allocations: 4.062 kB / 1.086 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002929/0.3917, allocations: 63.84 kB / 1.086 GB, free: 11.23 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.001165/0.3929, allocations: 419.1 kB / 1.086 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003476/0.3933, allocations: 151.9 kB / 1.086 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3933, allocations: 0 / 1.086 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001185/0.3934, allocations: 55.91 kB / 1.086 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004797/0.3939, allocations: 78.73 kB / 1.086 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00147/0.3954, allocations: 0.979 MB / 1.087 GB, free: 9.68 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000425/0.3958, allocations: 0.8613 MB / 1.088 GB, free: 8.793 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001294/0.396, allocations: 42.25 kB / 1.088 GB, free: 8.75 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.242e-05/0.396, allocations: 23.44 kB / 1.088 GB, free: 8.727 MB / 0.8419 GB Notification: Performance of SimCode: time 3.61e-07/0.396, allocations: 4 kB / 1.088 GB, free: 8.723 MB / 0.8419 GB Notification: Performance of Templates: time 0.008877/0.4049, allocations: 3.707 MB / 1.092 GB, free: 5.047 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)