Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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.EnergyConversionWarmUp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 102 kB / 16.36 MB, free: 6.305 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.001147/0.001148, allocations: 191.2 kB / 17.29 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.361/1.361, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.766/1.766, allocations: 292.3 MB / 0.5496 GB, free: 17.47 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00227/0.00227, allocations: 67.91 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.2661, allocations: 114.6 MB / 0.7848 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.004675/0.2708, allocations: 2.772 MB / 0.7875 GB, free: 368 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.391/0.6619, allocations: 1.088 MB / 0.7886 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002423/0.6621, allocations: 6.969 kB / 0.7886 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0007291/0.663, allocations: 216.5 kB / 0.7888 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000187/0.6632, allocations: 86.75 kB / 0.7888 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004962/0.6637, allocations: 187.5 kB / 0.789 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000373/0.6641, allocations: 415 kB / 0.7894 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003042/0.6644, allocations: 207.8 kB / 0.7896 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001556/0.6645, allocations: 159.8 kB / 0.7898 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001811/0.6647, allocations: 190.6 kB / 0.79 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.94e-05/0.6648, allocations: 42.28 kB / 0.79 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003314/0.6651, allocations: 171.4 kB / 0.7902 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002048/0.6653, allocations: 262.6 kB / 0.7904 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002424/0.6656, allocations: 361.3 kB / 0.7908 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0007393/0.6663, allocations: 0.9747 MB / 0.7917 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.6663, allocations: 3.328 kB / 0.7917 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6663, allocations: 0.75 kB / 0.7917 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.044e-05/0.6664, allocations: 0.5312 kB / 0.7917 GB, free: 45.99 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001241/0.6676, allocations: 1.153 MB / 0.7928 GB, free: 45.22 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.6677, allocations: 7.938 kB / 0.7928 GB, free: 45.22 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001217/0.6689, allocations: 242.3 kB / 0.7931 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001206/0.6701, allocations: 0.7304 MB / 0.7938 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.715e-05/0.6701, allocations: 25.69 kB / 0.7938 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.227e-05/0.6702, allocations: 31.81 kB / 0.7938 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007604/0.671, allocations: 385.4 kB / 0.7942 GB, free: 44.78 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.671, allocations: 4.5 kB / 0.7942 GB, free: 44.78 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.11e-05/0.671, allocations: 12.88 kB / 0.7942 GB, free: 44.78 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.671, allocations: 8.094 kB / 0.7942 GB, free: 44.78 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009132/0.672, allocations: 421.1 kB / 0.7946 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002842/0.6748, allocations: 1.786 MB / 0.7964 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000651/0.6755, allocations: 229 kB / 0.7966 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002685/0.6758, allocations: 94.95 kB / 0.7967 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.294e-05/0.6758, allocations: 4.688 kB / 0.7967 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.6758, allocations: 34 kB / 0.7967 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=20): time 1.973e-06/0.6758, allocations: 0 / 0.7967 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20): time 0.001053/0.6769, allocations: 384.7 kB / 0.7971 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/0.6769, allocations: 52.97 kB / 0.7971 GB, free: 44 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001365/0.6783, allocations: 1.266 MB / 0.7984 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.155e-05/0.6784, allocations: 26.45 kB / 0.7984 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003052/0.6787, allocations: 442.1 kB / 0.7988 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.758e-05/0.6787, allocations: 63.19 kB / 0.7989 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.61e-05/0.6788, allocations: 58.11 kB / 0.7989 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.737e-05/0.6789, allocations: 316.1 kB / 0.7992 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003413/0.6792, allocations: 145.7 kB / 0.7994 GB, free: 42.87 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003971/0.6796, allocations: 209.1 kB / 0.7996 GB, free: 42.76 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006317/0.6803, allocations: 287 kB / 0.7999 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.6803, allocations: 2.781 kB / 0.7999 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009699/0.6813, allocations: 465.4 kB / 0.8003 GB, free: 42.45 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.6813, allocations: 8.406 kB / 0.8003 GB, free: 42.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.6813, allocations: 0.75 kB / 0.8003 GB, free: 42.45 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.6813, allocations: 7.219 kB / 0.8003 GB, free: 42.45 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003287/0.6817, allocations: 60.31 kB / 0.8004 GB, free: 42.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.6817, allocations: 6.844 kB / 0.8004 GB, free: 42.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002842/0.682, allocations: 34.92 kB / 0.8004 GB, free: 42.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.341e-05/0.682, allocations: 9.812 kB / 0.8004 GB, free: 42.43 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (opeModWarUpEngTem.temChe.y,$PRE.opeModWarUpEngTem.temChe.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0002944/0.6823, allocations: 273.5 kB / 0.8007 GB, free: 42.25 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.6824, allocations: 88.89 kB / 0.8008 GB, free: 42.2 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008937/0.6833, allocations: 333.7 kB / 0.8011 GB, free: 42.06 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.6833, allocations: 2.062 kB / 0.8011 GB, free: 42.06 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.6834, allocations: 5.781 kB / 0.8011 GB, free: 42.06 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.6834, allocations: 1.312 kB / 0.8011 GB, free: 42.06 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001801/0.6852, allocations: 1.005 MB / 0.8021 GB, free: 41.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.6852, allocations: 2.188 kB / 0.8021 GB, free: 41.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002718/0.6855, allocations: 53.81 kB / 0.8021 GB, free: 41.47 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.6855, allocations: 2.656 kB / 0.8021 GB, free: 41.47 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.106e-05/0.6855, allocations: 4.078 kB / 0.8021 GB, free: 41.47 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.6855, allocations: 7.125 kB / 0.8021 GB, free: 41.47 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.6855, allocations: 3.641 kB / 0.8021 GB, free: 41.47 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007624/0.6863, allocations: 446.9 kB / 0.8026 GB, free: 41.18 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002235/0.6865, allocations: 209.7 kB / 0.8028 GB, free: 41 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.333e-05/0.6866, allocations: 8.594 kB / 0.8028 GB, free: 41 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002818/0.6869, allocations: 14.34 kB / 0.8028 GB, free: 41 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.056e-05/0.687, allocations: 25.05 kB / 0.8028 GB, free: 40.99 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.463e-05/0.687, allocations: 8.016 kB / 0.8028 GB, free: 40.99 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001269/0.6883, allocations: 0.9133 MB / 0.8037 GB, free: 40.62 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.222e-06/0.6883, allocations: 0 / 0.8037 GB, free: 40.62 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000497/0.6888, allocations: 110.6 kB / 0.8038 GB, free: 40.6 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (opeModWarUpEngTem.temChe.y) * Number of discrete states: 1 (opeModWarUpEngTem.temChe.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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 Backend phase and start with SimCode phase: time 0.0002122/0.689, allocations: 123.5 kB / 0.8039 GB, free: 40.5 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0008375/0.6899, allocations: 278.4 kB / 0.8042 GB, free: 40.43 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.6899, allocations: 0.875 kB / 0.8042 GB, free: 40.43 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000336/0.6902, allocations: 113.7 kB / 0.8043 GB, free: 40.4 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005248/0.6908, allocations: 67.33 kB / 0.8044 GB, free: 40.36 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002716/0.6935, allocations: 1.437 MB / 0.8058 GB, free: 39.6 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006344/0.6941, allocations: 0.9975 MB / 0.8068 GB, free: 38.86 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000202/0.6943, allocations: 52.7 kB / 0.8068 GB, free: 38.85 MB / 0.6544 GB Notification: Performance of SimCode: time 1.493e-06/0.6943, allocations: 0 / 0.8068 GB, free: 38.85 MB / 0.6544 GB Notification: Performance of Templates: time 0.02105/0.7154, allocations: 9.096 MB / 0.8157 GB, free: 37.46 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.makefile (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1)