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.001532/0.001532, allocations: 107.2 kB / 16.35 MB, free: 5.879 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.001455/0.001455, allocations: 193.5 kB / 17.29 MB, free: 5.516 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.373/1.373, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.809/1.809, allocations: 292.3 MB / 0.5496 GB, free: 17.52 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.001418/0.001418, allocations: 68.47 kB / 0.6729 GB, free: 5.844 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2161, allocations: 114.6 MB / 0.7848 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.004262/0.2204, allocations: 2.765 MB / 0.7875 GB, free: 384 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3765/0.5969, allocations: 1.091 MB / 0.7885 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002223/0.5972, allocations: 2.688 kB / 0.7885 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0007129/0.598, allocations: 217.8 kB / 0.7888 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001711/0.5981, allocations: 90.06 kB / 0.7888 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004532/0.5986, allocations: 182.3 kB / 0.789 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003682/0.599, allocations: 414.6 kB / 0.7894 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000296/0.5993, allocations: 216.3 kB / 0.7896 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001399/0.5994, allocations: 154.6 kB / 0.7898 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001477/0.5996, allocations: 185.2 kB / 0.7899 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.234e-05/0.5996, allocations: 41.16 kB / 0.79 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002983/0.6, allocations: 179.6 kB / 0.7902 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001769/0.6001, allocations: 266.5 kB / 0.7904 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001857/0.6003, allocations: 352.2 kB / 0.7907 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0006607/0.601, allocations: 0.9813 MB / 0.7917 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.601, allocations: 2.625 kB / 0.7917 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.392e-06/0.601, allocations: 0 / 0.7917 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.948e-06/0.601, allocations: 0 / 0.7917 GB, free: 45.98 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.001209/0.6023, allocations: 1.146 MB / 0.7928 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.6023, allocations: 12.5 kB / 0.7928 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001271/0.6036, allocations: 244.5 kB / 0.7931 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001218/0.6048, allocations: 0.7271 MB / 0.7938 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.6048, allocations: 23.75 kB / 0.7938 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.586e-05/0.6049, allocations: 31.88 kB / 0.7938 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007098/0.6056, allocations: 385.9 kB / 0.7942 GB, free: 44.78 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.6056, allocations: 4.5 kB / 0.7942 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.465e-05/0.6057, allocations: 14.03 kB / 0.7942 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.6057, allocations: 6.781 kB / 0.7942 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008807/0.6066, allocations: 427.4 kB / 0.7946 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002799/0.6094, allocations: 1.779 MB / 0.7964 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006455/0.61, allocations: 229.2 kB / 0.7966 GB, free: 44.21 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002745/0.6103, allocations: 93.91 kB / 0.7967 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.448e-05/0.6104, allocations: 9.469 kB / 0.7967 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.762e-05/0.6104, allocations: 37.34 kB / 0.7967 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=20): time 1.423e-06/0.6104, allocations: 0 / 0.7967 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20): time 0.001032/0.6114, allocations: 381 kB / 0.7971 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.865e-05/0.6115, allocations: 58.62 kB / 0.7971 GB, free: 44 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001255/0.6127, allocations: 1.258 MB / 0.7984 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.6128, allocations: 31.86 kB / 0.7984 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002859/0.6131, allocations: 437.8 kB / 0.7988 GB, free: 43.33 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.343e-05/0.6131, allocations: 63.52 kB / 0.7989 GB, free: 43.28 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.57e-05/0.6132, allocations: 59.62 kB / 0.7989 GB, free: 43.24 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.083e-05/0.6133, allocations: 322 kB / 0.7992 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003483/0.6136, allocations: 150 kB / 0.7994 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003679/0.614, allocations: 202.9 kB / 0.7996 GB, free: 42.78 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006171/0.6146, allocations: 280.4 kB / 0.7998 GB, free: 42.65 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.6147, allocations: 2.312 kB / 0.7998 GB, free: 42.65 MB / 0.6544 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008746/0.6155, allocations: 476.4 kB / 0.8003 GB, free: 42.47 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.6156, allocations: 6.844 kB / 0.8003 GB, free: 42.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.6156, allocations: 1.469 kB / 0.8003 GB, free: 42.47 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.6156, allocations: 6.469 kB / 0.8003 GB, free: 42.47 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003247/0.6159, allocations: 54.92 kB / 0.8004 GB, free: 42.47 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.616, allocations: 2.219 kB / 0.8004 GB, free: 42.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002895/0.6163, allocations: 39.25 kB / 0.8004 GB, free: 42.45 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.472e-05/0.6163, allocations: 11.94 kB / 0.8004 GB, free: 42.45 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.0002795/0.6166, allocations: 271.4 kB / 0.8007 GB, free: 42.27 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.6167, allocations: 86.78 kB / 0.8008 GB, free: 42.22 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008406/0.6175, allocations: 336.1 kB / 0.8011 GB, free: 42.08 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.6175, allocations: 3.312 kB / 0.8011 GB, free: 42.08 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.6176, allocations: 0 / 0.8011 GB, free: 42.08 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.6176, allocations: 2.859 kB / 0.8011 GB, free: 42.08 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001813/0.6194, allocations: 1.007 MB / 0.8021 GB, free: 41.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.6194, allocations: 3 kB / 0.8021 GB, free: 41.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002848/0.6197, allocations: 44.98 kB / 0.8021 GB, free: 41.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.6197, allocations: 3.531 kB / 0.8021 GB, free: 41.5 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.168e-05/0.6197, allocations: 12.86 kB / 0.8021 GB, free: 41.49 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.858e-06/0.6197, allocations: 3.438 kB / 0.8021 GB, free: 41.49 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.6198, allocations: 2 kB / 0.8021 GB, free: 41.49 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007612/0.6205, allocations: 444 kB / 0.8026 GB, free: 41.2 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002524/0.6208, allocations: 212 kB / 0.8028 GB, free: 41.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.223e-05/0.6209, allocations: 8.375 kB / 0.8028 GB, free: 41.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002975/0.6212, allocations: 17.91 kB / 0.8028 GB, free: 41.02 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.27e-05/0.6212, allocations: 24.47 kB / 0.8028 GB, free: 41.01 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.212e-05/0.6213, allocations: 8.406 kB / 0.8028 GB, free: 41.01 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001223/0.6225, allocations: 0.9164 MB / 0.8037 GB, free: 40.64 MB / 0.6544 GB Notification: Performance of sort global known variables: time 6.42e-07/0.6225, allocations: 0 / 0.8037 GB, free: 40.64 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004975/0.623, allocations: 108 kB / 0.8038 GB, free: 40.62 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.0002184/0.6232, allocations: 118.6 kB / 0.8039 GB, free: 40.53 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007777/0.624, allocations: 284.5 kB / 0.8042 GB, free: 40.45 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.624, allocations: 0 / 0.8042 GB, free: 40.45 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000322/0.6244, allocations: 106.8 kB / 0.8043 GB, free: 40.43 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005063/0.6249, allocations: 65.22 kB / 0.8044 GB, free: 40.39 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002489/0.6274, allocations: 1.379 MB / 0.8057 GB, free: 39.67 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005845/0.628, allocations: 1.001 MB / 0.8067 GB, free: 38.93 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003107/0.6283, allocations: 101.4 kB / 0.8068 GB, free: 38.91 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/0.6284, allocations: 44.73 kB / 0.8068 GB, free: 38.9 MB / 0.6544 GB Notification: Performance of SimCode: time 8.21e-07/0.6284, allocations: 0 / 0.8068 GB, free: 38.9 MB / 0.6544 GB Notification: Performance of Templates: time 0.01651/0.645, allocations: 5.556 MB / 0.8123 GB, free: 38.63 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1)