Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.596/1.596, allocations: 289.7 MB / 302.2 MB, free: 2.156 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.00104/0.00104, allocations: 181.2 kB / 371.6 MB, free: 3.43 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.592/1.592, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.0008924/0.0008924, allocations: 89.06 kB / 0.745 GB, free: 54.42 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.813e-05/3.816e-05, allocations: 7.984 kB / 0.8662 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2475, allocations: 116.3 MB / 0.9798 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6849/0.9324, allocations: 141.8 MB / 1.118 GB, free: 42.51 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000243/0.9327, allocations: 82.47 kB / 1.118 GB, free: 42.48 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.02095/0.9537, allocations: 9.886 MB / 1.128 GB, free: 36.23 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.923e-06/0.9537, allocations: 0 / 1.128 GB, free: 36.23 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.432e-05/0.9538, allocations: 12 kB / 1.128 GB, free: 36.22 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.000679/0.9544, allocations: 0.7296 MB / 1.129 GB, free: 35.54 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.9545, allocations: 8.031 kB / 1.129 GB, free: 35.53 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004481/0.955, allocations: 122.5 kB / 1.129 GB, free: 35.43 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005505/0.9555, allocations: 0.5159 MB / 1.129 GB, free: 34.95 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.9555, allocations: 8.688 kB / 1.129 GB, free: 34.95 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.235e-05/0.9556, allocations: 14.89 kB / 1.129 GB, free: 34.94 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003265/0.9559, allocations: 212.5 kB / 1.13 GB, free: 34.83 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.9559, allocations: 7.391 kB / 1.13 GB, free: 34.82 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.288e-05/0.956, allocations: 7.938 kB / 1.13 GB, free: 34.82 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.956, allocations: 1.375 kB / 1.13 GB, free: 34.82 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003102/0.9563, allocations: 249 kB / 1.13 GB, free: 34.7 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001089/0.9574, allocations: 0.974 MB / 1.131 GB, free: 34.11 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004821/0.9579, allocations: 361.4 kB / 1.131 GB, free: 33.91 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001327/0.958, allocations: 113.2 kB / 1.131 GB, free: 33.86 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000633/0.9587, allocations: 333.4 kB / 1.132 GB, free: 33.59 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.842e-05/0.9587, allocations: 42.56 kB / 1.132 GB, free: 33.54 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 9.62e-07/0.9587, allocations: 4 kB / 1.132 GB, free: 33.54 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0004518/0.9592, allocations: 328.5 kB / 1.132 GB, free: 33.32 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.9592, allocations: 55.34 kB / 1.132 GB, free: 33.25 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008987/0.9601, allocations: 0.8979 MB / 1.133 GB, free: 32.67 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.9601, allocations: 29.7 kB / 1.133 GB, free: 32.63 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002177/0.9604, allocations: 342.5 kB / 1.133 GB, free: 32.5 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.18e-05/0.9604, allocations: 26.88 kB / 1.133 GB, free: 32.48 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.096e-05/0.9604, allocations: 0 / 1.133 GB, free: 32.48 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.224e-05/0.9605, allocations: 320.6 kB / 1.134 GB, free: 32.17 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.9606, allocations: 113.3 kB / 1.134 GB, free: 32.11 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001234/0.9608, allocations: 106.3 kB / 1.134 GB, free: 32.06 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.9609, allocations: 110 kB / 1.134 GB, free: 32.01 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.9609, allocations: 0 / 1.134 GB, free: 32.01 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003781/0.9613, allocations: 336.8 kB / 1.134 GB, free: 31.79 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.9613, allocations: 4 kB / 1.134 GB, free: 31.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.9613, allocations: 1.406 kB / 1.134 GB, free: 31.79 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.9614, allocations: 7.375 kB / 1.134 GB, free: 31.78 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001945/0.9616, allocations: 38.62 kB / 1.134 GB, free: 31.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.9616, allocations: 2.844 kB / 1.134 GB, free: 31.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001685/0.9618, allocations: 16.33 kB / 1.134 GB, free: 31.74 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.297e-05/0.9618, allocations: 12 kB / 1.134 GB, free: 31.73 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 5.673e-05/0.9619, allocations: 112.3 kB / 1.134 GB, free: 31.62 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.466e-05/0.9619, allocations: 78.97 kB / 1.134 GB, free: 31.54 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005772/0.9625, allocations: 399.9 kB / 1.135 GB, free: 31.31 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.9625, allocations: 0 / 1.135 GB, free: 31.31 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.9625, allocations: 1.062 kB / 1.135 GB, free: 31.31 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.9626, allocations: 3.469 kB / 1.135 GB, free: 31.31 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004509/0.963, allocations: 0.549 MB / 1.135 GB, free: 30.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.963, allocations: 0 / 1.135 GB, free: 30.96 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001779/0.9632, allocations: 33.95 kB / 1.135 GB, free: 30.94 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.9632, allocations: 4 kB / 1.135 GB, free: 30.93 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.9632, allocations: 0 / 1.135 GB, free: 30.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.9632, allocations: 1.25 kB / 1.135 GB, free: 30.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.9633, allocations: 8.828 kB / 1.135 GB, free: 30.93 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003817/0.9636, allocations: 435.1 kB / 1.136 GB, free: 30.61 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000221/0.9639, allocations: 202.6 kB / 1.136 GB, free: 30.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.064e-05/0.9639, allocations: 3.75 kB / 1.136 GB, free: 30.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001898/0.9641, allocations: 19.03 kB / 1.136 GB, free: 30.41 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.016e-05/0.9642, allocations: 4 kB / 1.136 GB, free: 30.41 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.243e-05/0.9642, allocations: 18.06 kB / 1.136 GB, free: 30.4 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000671/0.9649, allocations: 0.7169 MB / 1.137 GB, free: 29.95 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9649, allocations: 4 kB / 1.137 GB, free: 29.95 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003399/0.9652, allocations: 75.69 kB / 1.137 GB, free: 29.88 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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 Backend phase and start with SimCode phase: time 0.0002583/0.9655, allocations: 156.6 kB / 1.137 GB, free: 29.72 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002462/0.9658, allocations: 189 kB / 1.137 GB, free: 29.61 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.9658, allocations: 7.938 kB / 1.137 GB, free: 29.6 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.345e-05/0.9659, allocations: 93.61 kB / 1.137 GB, free: 29.54 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/0.9662, allocations: 62.41 kB / 1.137 GB, free: 29.51 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/0.9673, allocations: 0.8472 MB / 1.138 GB, free: 28.84 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003756/0.9677, allocations: 0.9643 MB / 1.139 GB, free: 28 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001809/0.9679, allocations: 76.42 kB / 1.139 GB, free: 27.94 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.096e-05/0.9679, allocations: 31.44 kB / 1.139 GB, free: 27.91 MB / 0.7448 GB Notification: Performance of SimCode: time 2.41e-07/0.968, allocations: 0 / 1.139 GB, free: 27.91 MB / 0.7448 GB Notification: Performance of Templates: time 0.01014/0.9781, allocations: 5.122 MB / 1.144 GB, free: 24.97 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1)