Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.313/1.313, allocations: 252 MB / 267.9 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009529/0.0009529, allocations: 177.7 kB / 327.5 MB, free: 2.156 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.539/1.539, allocations: 205.4 MB / 0.5785 GB, free: 20.29 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007758/0.0007758, allocations: 87.84 kB / 0.6831 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003582/0.0003582, allocations: 13.72 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2239/0.2243, allocations: 106.3 MB / 0.9012 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1668/0.3912, allocations: 137.6 MB / 1.036 GB, free: 5.93 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002381/0.3914, allocations: 95.94 kB / 1.036 GB, free: 5.836 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03056/0.422, allocations: 12.03 MB / 1.047 GB, free: 9.695 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.595e-06/0.4221, allocations: 4 kB / 1.047 GB, free: 9.691 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.794e-05/0.4221, allocations: 8 kB / 1.047 GB, free: 9.684 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.001266/0.4234, allocations: 0.7501 MB / 1.048 GB, free: 8.879 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.4235, allocations: 16.03 kB / 1.048 GB, free: 8.863 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001341/0.4236, allocations: 52.28 kB / 1.048 GB, free: 8.812 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006894/0.4243, allocations: 420 kB / 1.049 GB, free: 8.363 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.464e-05/0.4243, allocations: 8.375 kB / 1.049 GB, free: 8.355 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.859e-05/0.4244, allocations: 20.36 kB / 1.049 GB, free: 8.336 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002574/0.4246, allocations: 127.7 kB / 1.049 GB, free: 8.207 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.4247, allocations: 3.938 kB / 1.049 GB, free: 8.203 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.929e-05/0.4247, allocations: 4 kB / 1.049 GB, free: 8.199 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.4247, allocations: 11.98 kB / 1.049 GB, free: 8.188 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001902/0.4249, allocations: 82.14 kB / 1.049 GB, free: 8.109 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/0.426, allocations: 0.6406 MB / 1.05 GB, free: 7.418 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003051/0.4263, allocations: 122.8 kB / 1.05 GB, free: 7.289 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.909e-05/0.4264, allocations: 44.78 kB / 1.05 GB, free: 7.242 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.774e-05/0.4265, allocations: 4 kB / 1.05 GB, free: 7.238 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002115/0.4267, allocations: 107.2 kB / 1.05 GB, free: 7.121 MB / 0.698 GB Notification: Performance of pre-optimization done (n=12): time 2.154e-06/0.4267, allocations: 0 / 1.05 GB, free: 7.121 MB / 0.698 GB Notification: Performance of matching and sorting (n=12): time 0.000442/0.4271, allocations: 200.9 kB / 1.05 GB, free: 6.918 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.987e-05/0.4272, allocations: 59.41 kB / 1.05 GB, free: 6.848 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007685/0.428, allocations: 0.624 MB / 1.051 GB, free: 6.211 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.931e-05/0.428, allocations: 33.7 kB / 1.051 GB, free: 6.172 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001902/0.4282, allocations: 244.3 kB / 1.051 GB, free: 5.93 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.969e-05/0.4283, allocations: 39.53 kB / 1.051 GB, free: 5.891 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.516e-05/0.4283, allocations: 4 kB / 1.051 GB, free: 5.887 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.4285, allocations: 366.8 kB / 1.051 GB, free: 5.52 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001563/0.4286, allocations: 83.95 kB / 1.051 GB, free: 5.438 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001874/0.4288, allocations: 131.3 kB / 1.052 GB, free: 5.297 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002297/0.4291, allocations: 135.7 kB / 1.052 GB, free: 5.16 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.4291, allocations: 0 / 1.052 GB, free: 5.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004664/0.4295, allocations: 296.2 kB / 1.052 GB, free: 4.867 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.4296, allocations: 7.938 kB / 1.052 GB, free: 4.859 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.4296, allocations: 4.062 kB / 1.052 GB, free: 4.855 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.4296, allocations: 0 / 1.052 GB, free: 4.855 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.4298, allocations: 31.92 kB / 1.052 GB, free: 4.824 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.4298, allocations: 4 kB / 1.052 GB, free: 4.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001958/0.43, allocations: 35.81 kB / 1.052 GB, free: 4.785 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.868e-05/0.43, allocations: 16 kB / 1.052 GB, free: 4.77 MB / 0.698 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.0002233/0.4303, allocations: 201.8 kB / 1.052 GB, free: 4.562 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.798e-05/0.4303, allocations: 51.38 kB / 1.052 GB, free: 4.512 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003533/0.4307, allocations: 186.1 kB / 1.052 GB, free: 4.316 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.4307, allocations: 7.938 kB / 1.052 GB, free: 4.309 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.4307, allocations: 0 / 1.052 GB, free: 4.309 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.4307, allocations: 0 / 1.052 GB, free: 4.309 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003522/0.4311, allocations: 365.3 kB / 1.053 GB, free: 3.902 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.4311, allocations: 0 / 1.053 GB, free: 3.902 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.404e-05/0.4312, allocations: 15.98 kB / 1.053 GB, free: 3.887 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.4312, allocations: 7.938 kB / 1.053 GB, free: 3.879 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.4312, allocations: 4 kB / 1.053 GB, free: 3.875 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.4312, allocations: 0 / 1.053 GB, free: 3.875 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4312, allocations: 0 / 1.053 GB, free: 3.875 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004128/0.4316, allocations: 252.3 kB / 1.053 GB, free: 3.609 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.4318, allocations: 124.5 kB / 1.053 GB, free: 3.469 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.007e-05/0.4318, allocations: 11.94 kB / 1.053 GB, free: 3.457 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.4319, allocations: 16.05 kB / 1.053 GB, free: 3.441 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.098e-05/0.432, allocations: 27.95 kB / 1.053 GB, free: 3.414 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.432, allocations: 11.94 kB / 1.053 GB, free: 3.402 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004818/0.4325, allocations: 414.8 kB / 1.054 GB, free: 3 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4325, allocations: 0 / 1.054 GB, free: 3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003339/0.4329, allocations: 71.92 kB / 1.054 GB, free: 2.93 MB / 0.698 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.001012/0.4339, allocations: 455.4 kB / 1.054 GB, free: 2.637 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003517/0.4343, allocations: 138.1 kB / 1.054 GB, free: 2.504 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4343, allocations: 3.938 kB / 1.054 GB, free: 2.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.4344, allocations: 56.05 kB / 1.054 GB, free: 2.445 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004139/0.4348, allocations: 66.14 kB / 1.054 GB, free: 2.383 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.4362, allocations: 0.9089 MB / 1.055 GB, free: 1.441 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004667/0.4367, allocations: 0.8457 MB / 1.056 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001226/0.4368, allocations: 34.28 kB / 1.056 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.336e-05/0.4369, allocations: 23.44 kB / 1.056 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of SimCode: time 4.11e-07/0.4369, allocations: 0 / 1.056 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of Templates: time 0.3896/0.8265, allocations: 3.73 MB / 1.06 GB, free: 146.9 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1)