Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.EnergyConversionNormal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002259/0.002259, allocations: 188.3 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.83/2.83, allocations: 472.6 MB / 0.7448 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 70.34 kB / 0.9115 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.3481, allocations: 159.9 MB / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003722/0.3519, allocations: 2.308 MB / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001343/0.3533, allocations: 0.9326 MB / 1.071 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.008e-05/0.3534, allocations: 0 / 1.071 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005663/0.354, allocations: 179.3 kB / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000114/0.3541, allocations: 59.62 kB / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003461/0.3545, allocations: 99.83 kB / 1.071 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002582/0.3547, allocations: 223.1 kB / 1.071 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002106/0.355, allocations: 97.61 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.3551, allocations: 91.52 kB / 1.072 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.3552, allocations: 107.4 kB / 1.072 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.807e-05/0.3553, allocations: 20 kB / 1.072 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002953/0.3556, allocations: 143.8 kB / 1.072 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.00019/0.3558, allocations: 207.4 kB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002125/0.356, allocations: 266 kB / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006452/0.3566, allocations: 0.7159 MB / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3566, allocations: 0 / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.452e-06/0.3566, allocations: 0 / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.997e-06/0.3567, allocations: 0 / 1.073 GB, free: 5.332 MB / 0.8262 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.001266/0.3579, allocations: 0.9747 MB / 1.074 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.718e-05/0.358, allocations: 12.03 kB / 1.074 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005681/0.3586, allocations: 119.8 kB / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007493/0.3593, allocations: 0.5895 MB / 1.075 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.3594, allocations: 12.38 kB / 1.075 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.402e-05/0.3594, allocations: 8.375 kB / 1.075 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004249/0.3598, allocations: 194.7 kB / 1.075 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.3599, allocations: 192 / 1.075 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.344e-05/0.3599, allocations: 7.938 kB / 1.075 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.3599, allocations: 4 kB / 1.075 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004528/0.3604, allocations: 231.9 kB / 1.075 GB, free: 3.09 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001161/0.3615, allocations: 0.9254 MB / 1.076 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006518/0.3622, allocations: 314.5 kB / 1.076 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002037/0.3624, allocations: 101 kB / 1.076 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007158/0.3631, allocations: 240.9 kB / 1.077 GB, free: 1.441 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.922e-05/0.3632, allocations: 42.5 kB / 1.077 GB, free: 1.391 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 2.615e-06/0.3632, allocations: 4 kB / 1.077 GB, free: 1.387 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0008339/0.364, allocations: 396.5 kB / 1.077 GB, free: 0.9922 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.3641, allocations: 51.41 kB / 1.077 GB, free: 0.9297 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.3652, allocations: 1.005 MB / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.3653, allocations: 29.7 kB / 1.078 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002795/0.3656, allocations: 344 kB / 1.078 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.746e-05/0.3656, allocations: 31.55 kB / 1.078 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.505e-05/0.3657, allocations: 21.72 kB / 1.078 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.3658, allocations: 314 kB / 1.079 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002066/0.366, allocations: 99.95 kB / 1.079 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002026/0.3662, allocations: 118.5 kB / 1.079 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003917/0.3666, allocations: 222.8 kB / 1.079 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3666, allocations: 0 / 1.079 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005362/0.3671, allocations: 328.5 kB / 1.079 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.3672, allocations: 8 kB / 1.08 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.3672, allocations: 0 / 1.08 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.3672, allocations: 0 / 1.08 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.3674, allocations: 23.98 kB / 1.08 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.3674, allocations: 3.984 kB / 1.08 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001628/0.3676, allocations: 8 kB / 1.08 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.3676, allocations: 4 kB / 1.08 GB, free: 14.34 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0002589/0.3679, allocations: 249.8 kB / 1.08 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.082e-05/0.3679, allocations: 82.94 kB / 1.08 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000614/0.3686, allocations: 324.4 kB / 1.08 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.3686, allocations: 3.984 kB / 1.08 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3686, allocations: 0 / 1.08 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.3686, allocations: 0 / 1.08 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005198/0.3691, allocations: 0.5362 MB / 1.081 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/0.3691, allocations: 7.938 kB / 1.081 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001463/0.3693, allocations: 19.98 kB / 1.081 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.3693, allocations: 3.984 kB / 1.081 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.3693, allocations: 0 / 1.081 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.3693, allocations: 4 kB / 1.081 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3693, allocations: 0 / 1.081 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005348/0.3699, allocations: 406.6 kB / 1.081 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001872/0.3701, allocations: 180.2 kB / 1.081 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.124e-05/0.3701, allocations: 3.938 kB / 1.081 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/0.3703, allocations: 8 kB / 1.081 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.151e-05/0.3704, allocations: 7.984 kB / 1.081 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.3704, allocations: 4 kB / 1.081 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0008019/0.3712, allocations: 0.7215 MB / 1.082 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.8e-07/0.3712, allocations: 0 / 1.082 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003756/0.3716, allocations: 71.84 kB / 1.082 GB, free: 11.64 MB / 0.8419 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 () * Number of clocked 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 (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.0001991/0.3718, allocations: 107.2 kB / 1.082 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004759/0.3723, allocations: 223.9 kB / 1.082 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3723, allocations: 0 / 1.082 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001977/0.3725, allocations: 107.9 kB / 1.083 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004186/0.3729, allocations: 57.08 kB / 1.083 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00174/0.3746, allocations: 1.338 MB / 1.084 GB, free: 9.773 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005346/0.3752, allocations: 0.9479 MB / 1.085 GB, free: 8.801 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002186/0.3754, allocations: 85.3 kB / 1.085 GB, free: 8.715 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.786e-05/0.3755, allocations: 35.42 kB / 1.085 GB, free: 8.684 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.3755, allocations: 0 / 1.085 GB, free: 8.684 MB / 0.8419 GB Notification: Performance of Templates: time 0.009506/0.385, allocations: 4.363 MB / 1.089 GB, free: 4.324 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1)