Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.318/2.318, allocations: 251.1 MB / 266.7 MB, free: 11.64 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.001321/0.001321, allocations: 185.5 kB / 326.2 MB, free: 2.855 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.328/2.328, allocations: 205.4 MB / 0.5772 GB, free: 20.78 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.0009382/0.0009377, allocations: 87.48 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004698/0.0004699, allocations: 12.16 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.2238, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2348/0.4587, allocations: 137.4 MB / 1.034 GB, free: 7.973 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003291/0.4591, allocations: 95.94 kB / 1.034 GB, free: 7.879 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05295/0.512, allocations: 12.04 MB / 1.046 GB, free: 11.72 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.794e-06/0.5121, allocations: 0 / 1.046 GB, free: 11.72 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.42e-05/0.5122, allocations: 8 kB / 1.046 GB, free: 11.71 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.001617/0.5138, allocations: 0.7542 MB / 1.046 GB, free: 10.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.5138, allocations: 12.03 kB / 1.046 GB, free: 10.89 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001499/0.514, allocations: 52.28 kB / 1.046 GB, free: 10.84 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009342/0.515, allocations: 400.5 kB / 1.047 GB, free: 10.41 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.62e-05/0.515, allocations: 12.38 kB / 1.047 GB, free: 10.39 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.089e-05/0.5151, allocations: 12.38 kB / 1.047 GB, free: 10.38 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003867/0.5155, allocations: 132 kB / 1.047 GB, free: 10.25 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.5155, allocations: 7.938 kB / 1.047 GB, free: 10.24 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.755e-05/0.5155, allocations: 4 kB / 1.047 GB, free: 10.24 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.5156, allocations: 4 kB / 1.047 GB, free: 10.23 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003005/0.5159, allocations: 87.89 kB / 1.047 GB, free: 10.15 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001562/0.5174, allocations: 0.6212 MB / 1.048 GB, free: 9.477 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005173/0.518, allocations: 130.6 kB / 1.048 GB, free: 9.34 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/0.5182, allocations: 44.97 kB / 1.048 GB, free: 9.293 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.488e-05/0.5182, allocations: 7.922 kB / 1.048 GB, free: 9.285 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002983/0.5185, allocations: 99.31 kB / 1.048 GB, free: 9.176 MB / 0.698 GB Notification: Performance of pre-optimization done (n=12): time 2.876e-06/0.5186, allocations: 0 / 1.048 GB, free: 9.176 MB / 0.698 GB Notification: Performance of matching and sorting (n=12): time 0.0006876/0.5193, allocations: 208.9 kB / 1.048 GB, free: 8.965 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.5193, allocations: 55.41 kB / 1.048 GB, free: 8.898 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001194/0.5205, allocations: 0.624 MB / 1.049 GB, free: 8.262 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.644e-05/0.5206, allocations: 29.7 kB / 1.049 GB, free: 8.227 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002756/0.5209, allocations: 248.3 kB / 1.049 GB, free: 7.98 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.398e-05/0.521, allocations: 43.53 kB / 1.049 GB, free: 7.938 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.518e-05/0.521, allocations: 4 kB / 1.049 GB, free: 7.934 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001874/0.5212, allocations: 366.8 kB / 1.049 GB, free: 7.566 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003083/0.5215, allocations: 87.97 kB / 1.049 GB, free: 7.48 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003128/0.5218, allocations: 128 kB / 1.05 GB, free: 7.344 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002732/0.5221, allocations: 79.98 kB / 1.05 GB, free: 7.266 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.5222, allocations: 4 kB / 1.05 GB, free: 7.262 MB / 0.698 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007844/0.5229, allocations: 296.6 kB / 1.05 GB, free: 6.965 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.523, allocations: 12 kB / 1.05 GB, free: 6.953 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.056e-06/0.523, allocations: 0 / 1.05 GB, free: 6.953 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.523, allocations: 4 kB / 1.05 GB, free: 6.949 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002617/0.5233, allocations: 27.98 kB / 1.05 GB, free: 6.922 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.5233, allocations: 3.938 kB / 1.05 GB, free: 6.918 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003464/0.5237, allocations: 27.92 kB / 1.05 GB, free: 6.891 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.118e-05/0.5238, allocations: 11.98 kB / 1.05 GB, free: 6.879 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.000392/0.5242, allocations: 205.8 kB / 1.05 GB, free: 6.668 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.5243, allocations: 55.28 kB / 1.05 GB, free: 6.613 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000551/0.5248, allocations: 188.5 kB / 1.05 GB, free: 6.418 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.5249, allocations: 0 / 1.05 GB, free: 6.418 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.5249, allocations: 0 / 1.05 GB, free: 6.418 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.5249, allocations: 0 / 1.05 GB, free: 6.418 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004935/0.5254, allocations: 361.4 kB / 1.051 GB, free: 6.016 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.5254, allocations: 0 / 1.051 GB, free: 6.016 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001429/0.5256, allocations: 12 kB / 1.051 GB, free: 6.004 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.889e-06/0.5256, allocations: 11.88 kB / 1.051 GB, free: 5.992 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.272e-05/0.5256, allocations: 7.984 kB / 1.051 GB, free: 5.984 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.5256, allocations: 0 / 1.051 GB, free: 5.984 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.606e-06/0.5256, allocations: 4 kB / 1.051 GB, free: 5.98 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006706/0.5263, allocations: 256.3 kB / 1.051 GB, free: 5.711 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001466/0.5265, allocations: 124.4 kB / 1.051 GB, free: 5.57 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.658e-05/0.5266, allocations: 12 kB / 1.051 GB, free: 5.559 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002362/0.5268, allocations: 19.98 kB / 1.051 GB, free: 5.539 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001261/0.527, allocations: 23.95 kB / 1.051 GB, free: 5.516 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.155e-05/0.527, allocations: 4 kB / 1.051 GB, free: 5.512 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007733/0.5278, allocations: 418.8 kB / 1.052 GB, free: 5.105 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.1e-07/0.5278, allocations: 0 / 1.052 GB, free: 5.105 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004962/0.5283, allocations: 71.84 kB / 1.052 GB, free: 5.035 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.001414/0.5297, allocations: 451.3 kB / 1.052 GB, free: 4.75 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005539/0.5303, allocations: 143.9 kB / 1.052 GB, free: 4.609 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.5303, allocations: 8 kB / 1.052 GB, free: 4.602 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001865/0.5305, allocations: 55.92 kB / 1.052 GB, free: 4.547 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006594/0.5312, allocations: 66.17 kB / 1.052 GB, free: 4.488 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002013/0.5332, allocations: 0.9128 MB / 1.053 GB, free: 3.543 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000569/0.5338, allocations: 0.8536 MB / 1.054 GB, free: 2.66 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002299/0.5341, allocations: 30.28 kB / 1.054 GB, free: 2.629 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.5342, allocations: 27.42 kB / 1.054 GB, free: 2.605 MB / 0.698 GB Notification: Performance of SimCode: time 8.11e-07/0.5342, allocations: 0 / 1.054 GB, free: 2.605 MB / 0.698 GB Notification: Performance of Templates: time 0.5817/1.116, allocations: 3.696 MB / 1.058 GB, free: 148.8 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1)