Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000808/0.0008079, allocations: 94.03 kB / 15.06 MB, free: 1.086 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.0008789/0.000879, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 223.2 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.378/2.378, allocations: 390.4 MB / 0.6655 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003453/0.0003454, allocations: 8 kB / 0.8149 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7371/0.7374, allocations: 142.3 MB / 0.9538 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.002671/0.7402, allocations: 2.291 MB / 0.9561 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001659/0.7418, allocations: 0.9978 MB / 0.9571 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000284/0.7421, allocations: 4.375 kB / 0.9571 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005358/0.7427, allocations: 182.4 kB / 0.9572 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00023/0.7429, allocations: 67.48 kB / 0.9573 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004785/0.7434, allocations: 119.3 kB / 0.9574 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005069/0.744, allocations: 361.3 kB / 0.9578 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003083/0.7443, allocations: 163.2 kB / 0.9579 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001778/0.7445, allocations: 115.9 kB / 0.958 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001678/0.7446, allocations: 137.6 kB / 0.9582 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.567e-05/0.7447, allocations: 11.22 kB / 0.9582 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003109/0.745, allocations: 141.8 kB / 0.9583 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001858/0.7452, allocations: 224.7 kB / 0.9585 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.7453, allocations: 146.2 kB / 0.9587 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005945/0.7459, allocations: 0.7223 MB / 0.9594 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.7459, allocations: 1.219 kB / 0.9594 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7459, allocations: 0 / 0.9594 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.813e-05/0.746, allocations: 0 / 0.9594 GB, free: 3.875 MB / 0.7169 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.001415/0.7474, allocations: 1.017 MB / 0.9604 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.7474, allocations: 9.438 kB / 0.9604 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.329e-05/0.7475, allocations: 72.72 kB / 0.9604 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001239/0.7488, allocations: 269.3 kB / 0.9607 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001307/0.7501, allocations: 0.6959 MB / 0.9614 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.998e-05/0.7501, allocations: 24.22 kB / 0.9614 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.59e-05/0.7502, allocations: 28.38 kB / 0.9614 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008806/0.7511, allocations: 386.9 kB / 0.9618 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.7511, allocations: 0 / 0.9618 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.411e-05/0.7512, allocations: 11.72 kB / 0.9618 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.652e-05/0.7512, allocations: 14.58 kB / 0.9618 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/0.7523, allocations: 433.3 kB / 0.9622 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004121/0.7564, allocations: 2.127 MB / 0.9643 GB, free: 420 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006792/0.7571, allocations: 222.5 kB / 0.9645 GB, free: 296 kB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000277/0.7574, allocations: 92.66 kB / 0.9646 GB, free: 248 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.618e-05/0.7574, allocations: 12.73 kB / 0.9646 GB, free: 240 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.7575, allocations: 39.48 kB / 0.9647 GB, free: 192 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 2.254e-06/0.7575, allocations: 1 kB / 0.9647 GB, free: 192 kB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.001084/0.7586, allocations: 369 kB / 0.965 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.7586, allocations: 57.64 kB / 0.9651 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001703/0.7603, allocations: 1.236 MB / 0.9663 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.261e-05/0.7604, allocations: 30.86 kB / 0.9663 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003991/0.7608, allocations: 430.8 kB / 0.9667 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.11e-05/0.7609, allocations: 67.25 kB / 0.9668 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.689e-05/0.7609, allocations: 8.906 kB / 0.9668 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.761, allocations: 316.1 kB / 0.9671 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003343/0.7613, allocations: 143.9 kB / 0.9672 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003708/0.7617, allocations: 197.4 kB / 0.9674 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003457/0.7621, allocations: 155.1 kB / 0.9676 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.7621, allocations: 0 / 0.9676 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009577/0.7631, allocations: 469.9 kB / 0.968 GB, free: 14 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.7631, allocations: 10.05 kB / 0.968 GB, free: 14 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.7631, allocations: 5.25 kB / 0.968 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.7631, allocations: 2.594 kB / 0.968 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003269/0.7635, allocations: 57.8 kB / 0.9681 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.7635, allocations: 2.312 kB / 0.9681 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002846/0.7638, allocations: 36.86 kB / 0.9681 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.562e-05/0.7638, allocations: 12.06 kB / 0.9681 GB, free: 13.95 MB / 0.7325 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 ($PRE.opeModWarUpEngTem.temChe.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003561/0.7642, allocations: 273.2 kB / 0.9684 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001243/0.7643, allocations: 81 kB / 0.9685 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008181/0.7651, allocations: 330.3 kB / 0.9688 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.7651, allocations: 2.125 kB / 0.9688 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.7652, allocations: 0 / 0.9688 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.7652, allocations: 3.953 kB / 0.9688 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001677/0.7668, allocations: 1.011 MB / 0.9698 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.7669, allocations: 1.25 kB / 0.9698 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002405/0.7671, allocations: 43.88 kB / 0.9698 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.7e-06/0.7671, allocations: 3.781 kB / 0.9698 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.337e-05/0.7672, allocations: 8.031 kB / 0.9698 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.7672, allocations: 1.094 kB / 0.9698 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.7672, allocations: 6.562 kB / 0.9698 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007257/0.7679, allocations: 438.2 kB / 0.9703 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002448/0.7682, allocations: 207.5 kB / 0.9705 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.941e-05/0.7682, allocations: 15.27 kB / 0.9705 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002622/0.7685, allocations: 16.83 kB / 0.9705 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.424e-05/0.7686, allocations: 20.44 kB / 0.9705 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.098e-05/0.7686, allocations: 6.25 kB / 0.9705 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001149/0.7698, allocations: 0.8943 MB / 0.9714 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.493e-06/0.7698, allocations: 0 / 0.9714 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004865/0.7703, allocations: 109.6 kB / 0.9715 GB, free: 11.63 MB / 0.7325 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 (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.001176/0.7715, allocations: 0.9851 MB / 0.9724 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007182/0.7722, allocations: 271.9 kB / 0.9727 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.7722, allocations: 0.9688 kB / 0.9727 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003/0.7725, allocations: 109.9 kB / 0.9728 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005021/0.773, allocations: 62.41 kB / 0.9729 GB, free: 10.56 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009559/0.7826, allocations: 5.474 MB / 0.9782 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006552/0.7833, allocations: 1.004 MB / 0.9792 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004095/0.7837, allocations: 100.6 kB / 0.9793 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003704/0.7841, allocations: 291.3 kB / 0.9796 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of SimCode: time 1.583e-06/0.7841, allocations: 0 / 0.9796 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02847/0.8126, allocations: 13.65 MB / 0.9929 GB, free: 7.578 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003674/0.813, allocations: 210.5 kB / 0.9931 GB, free: 7.332 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.015/2.828, allocations: 0 / 0.9931 GB, free: 7.332 MB / 0.7481 GB (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.fmu > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat does not exist to compare? outputFormat=mat