Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.746/1.746, allocations: 293 MB / 309 MB, free: 4.797 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001127/0.001127, allocations: 175.9 kB / 378.7 MB, free: 1.023 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.779/1.779, allocations: 205.4 MB / 0.6383 GB, free: 9.18 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008782/0.0008783, allocations: 87.72 kB / 0.7527 GB, free: 62.14 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004549/0.000455, allocations: 12 kB / 0.8768 GB, free: 10.56 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3259, allocations: 116.4 MB / 0.9904 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.852/1.178, allocations: 145.5 MB / 1.133 GB, free: 29.96 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000262/1.178, allocations: 95.38 kB / 1.133 GB, free: 29.88 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.03248/1.211, allocations: 12.59 MB / 1.145 GB, free: 20.81 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.935e-06/1.211, allocations: 4 kB / 1.145 GB, free: 20.8 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.471e-05/1.211, allocations: 8 kB / 1.145 GB, free: 20.8 MB / 0.7292 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.001366/1.212, allocations: 0.7719 MB / 1.146 GB, free: 20.03 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/1.212, allocations: 8.031 kB / 1.146 GB, free: 20.02 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001795/1.213, allocations: 64.88 kB / 1.146 GB, free: 19.96 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007886/1.213, allocations: 447.8 kB / 1.146 GB, free: 19.53 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.723e-05/1.213, allocations: 12.61 kB / 1.146 GB, free: 19.52 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.299e-05/1.213, allocations: 13.08 kB / 1.146 GB, free: 19.5 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002873/1.214, allocations: 139.9 kB / 1.146 GB, free: 19.39 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/1.214, allocations: 4.938 kB / 1.146 GB, free: 19.38 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.878e-05/1.214, allocations: 4 kB / 1.146 GB, free: 19.38 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/1.214, allocations: 4 kB / 1.146 GB, free: 19.38 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001935/1.214, allocations: 83.95 kB / 1.146 GB, free: 19.3 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001127/1.215, allocations: 0.662 MB / 1.147 GB, free: 18.71 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00029/1.215, allocations: 134.9 kB / 1.147 GB, free: 18.59 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.771e-05/1.216, allocations: 49.3 kB / 1.147 GB, free: 18.54 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/1.216, allocations: 4.656 kB / 1.147 GB, free: 18.54 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001977/1.216, allocations: 108.1 kB / 1.147 GB, free: 18.43 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=12): time 1.953e-06/1.216, allocations: 4.594 kB / 1.147 GB, free: 18.43 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12): time 0.0004414/1.216, allocations: 205.5 kB / 1.148 GB, free: 18.24 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/1.216, allocations: 52.06 kB / 1.148 GB, free: 18.18 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008309/1.217, allocations: 0.65 MB / 1.148 GB, free: 17.61 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.952e-05/1.217, allocations: 29.7 kB / 1.148 GB, free: 17.58 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001734/1.217, allocations: 258.8 kB / 1.149 GB, free: 17.34 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.116e-05/1.217, allocations: 35.69 kB / 1.149 GB, free: 17.31 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.399e-05/1.217, allocations: 4.562 kB / 1.149 GB, free: 17.3 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001078/1.218, allocations: 372 kB / 1.149 GB, free: 16.95 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/1.218, allocations: 88.97 kB / 1.149 GB, free: 16.88 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001719/1.218, allocations: 126.1 kB / 1.149 GB, free: 16.75 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002135/1.218, allocations: 140.3 kB / 1.149 GB, free: 16.62 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/1.218, allocations: 0.75 kB / 1.149 GB, free: 16.62 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004317/1.219, allocations: 306.6 kB / 1.15 GB, free: 16.34 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/1.219, allocations: 4 kB / 1.15 GB, free: 16.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/1.219, allocations: 1.156 kB / 1.15 GB, free: 16.34 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/1.219, allocations: 4 kB / 1.15 GB, free: 16.33 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001783/1.219, allocations: 42.28 kB / 1.15 GB, free: 16.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/1.219, allocations: 0.6094 kB / 1.15 GB, free: 16.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001926/1.219, allocations: 37.59 kB / 1.15 GB, free: 16.27 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.386e-05/1.219, allocations: 8.562 kB / 1.15 GB, free: 16.26 MB / 0.7292 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 ($whenCondition1,$PRE.PEleDem.tab.nextTimeEvent,assPow.assMesP.u,$PRE.assPow.maxPow.y,assPow.maxPow.y,$PRE.assPow.minPow.y,assPow.minPow.y,assPow.assMesDP.u,PEleDem.tab.nextTimeEvent,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002309/1.219, allocations: 209.1 kB / 1.15 GB, free: 16.06 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.542e-05/1.219, allocations: 55.28 kB / 1.15 GB, free: 16 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000333/1.22, allocations: 185.1 kB / 1.15 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/1.22, allocations: 4 kB / 1.15 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/1.22, allocations: 0.6094 kB / 1.15 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/1.22, allocations: 5.406 kB / 1.15 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003975/1.22, allocations: 378.7 kB / 1.15 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/1.22, allocations: 0 / 1.15 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.07e-05/1.22, allocations: 17.44 kB / 1.15 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/1.22, allocations: 4.828 kB / 1.15 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/1.22, allocations: 5.594 kB / 1.15 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/1.22, allocations: 0 / 1.15 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/1.22, allocations: 1.5 kB / 1.15 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004347/1.221, allocations: 263.7 kB / 1.151 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.447e-05/1.221, allocations: 132.3 kB / 1.151 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.657e-05/1.221, allocations: 4 kB / 1.151 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/1.221, allocations: 17.7 kB / 1.151 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.777e-05/1.221, allocations: 26.5 kB / 1.151 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/1.221, allocations: 5.312 kB / 1.151 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0005108/1.222, allocations: 428.9 kB / 1.151 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/1.222, allocations: 8.062 kB / 1.151 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003705/1.222, allocations: 78.69 kB / 1.151 GB, free: 14.59 MB / 0.7292 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.maxPow.y,assPow.minPow.y,assPow.assMesDP.u,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Number of discrete states: 4 (assPow.minPow.y,assPow.maxPow.y,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001067/1.223, allocations: 469.3 kB / 1.152 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003149/1.223, allocations: 151.4 kB / 1.152 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/1.223, allocations: 0 / 1.152 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001113/1.224, allocations: 57.47 kB / 1.152 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004577/1.224, allocations: 75.25 kB / 1.152 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/1.225, allocations: 0.9535 MB / 1.153 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/1.226, allocations: 0.8567 MB / 1.154 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.000172/1.226, allocations: 43.56 kB / 1.154 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.794e-05/1.226, allocations: 30.44 kB / 1.154 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of SimCode: time 4.51e-07/1.226, allocations: 0 / 1.154 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of Templates: time 0.01016/1.236, allocations: 4.116 MB / 1.158 GB, free: 9.926 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1)