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: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.648/1.648, allocations: 289.9 MB / 297.4 MB, free: 6.363 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.00111/0.00111, allocations: 176.8 kB / 366.7 MB, free: 1.652 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.575/1.575, allocations: 205.3 MB / 0.626 GB, free: 7.148 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.0008774/0.0008773, allocations: 89.86 kB / 0.74 GB, free: 39.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.185e-05/2.197e-05, allocations: 8 kB / 0.8598 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6304/0.6304, allocations: 116.3 MB / 0.9733 GB, free: 76.4 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2/0.8304, allocations: 141.1 MB / 1.111 GB, free: 9.02 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002775/0.8308, allocations: 81.69 kB / 1.111 GB, free: 8.941 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02436/0.8552, allocations: 9.781 MB / 1.121 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.895e-06/0.8552, allocations: 4 kB / 1.121 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.409e-05/0.8552, allocations: 8 kB / 1.121 GB, free: 15.12 MB / 0.7292 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.0008268/0.8561, allocations: 0.7344 MB / 1.122 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.8561, allocations: 8.031 kB / 1.122 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004839/0.8566, allocations: 122.9 kB / 1.122 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006066/0.8572, allocations: 0.5073 MB / 1.122 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.8572, allocations: 4 kB / 1.122 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.04e-05/0.8573, allocations: 10.88 kB / 1.122 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003767/0.8577, allocations: 247.8 kB / 1.122 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003135/0.858, allocations: 197.6 kB / 1.123 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.858, allocations: 0 / 1.123 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.032e-05/0.858, allocations: 0 / 1.123 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.858, allocations: 7.984 kB / 1.123 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001301/0.8593, allocations: 0.9299 MB / 1.124 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005226/0.8599, allocations: 350.3 kB / 1.124 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001624/0.8601, allocations: 123.6 kB / 1.124 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000737/0.8608, allocations: 332.8 kB / 1.124 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.8608, allocations: 30.56 kB / 1.124 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 1.362e-06/0.8609, allocations: 0 / 1.124 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.001029/0.8619, allocations: 428.6 kB / 1.125 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.8619, allocations: 51.41 kB / 1.125 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009791/0.8629, allocations: 0.8366 MB / 1.126 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.953e-05/0.863, allocations: 25.7 kB / 1.126 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002962/0.8633, allocations: 340 kB / 1.126 GB, free: 9.676 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.103e-05/0.8633, allocations: 31.55 kB / 1.126 GB, free: 9.645 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.381e-05/0.8633, allocations: 2.953 kB / 1.126 GB, free: 9.645 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.8635, allocations: 310.8 kB / 1.126 GB, free: 9.336 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/0.8636, allocations: 111.9 kB / 1.126 GB, free: 9.227 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001355/0.8638, allocations: 115.9 kB / 1.126 GB, free: 9.113 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006823/0.8645, allocations: 198 kB / 1.127 GB, free: 8.922 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.8645, allocations: 0 / 1.127 GB, free: 8.922 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0009349/0.8654, allocations: 412.6 kB / 1.127 GB, free: 8.512 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.8654, allocations: 4 kB / 1.127 GB, free: 8.508 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.8655, allocations: 0 / 1.127 GB, free: 8.508 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.8655, allocations: 3.938 kB / 1.127 GB, free: 8.504 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002152/0.8657, allocations: 35.97 kB / 1.127 GB, free: 8.469 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.8657, allocations: 0 / 1.127 GB, free: 8.469 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001768/0.8659, allocations: 19.83 kB / 1.127 GB, free: 8.449 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.359e-05/0.8659, allocations: 12 kB / 1.127 GB, free: 8.438 MB / 0.7292 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 9.259e-05/0.866, allocations: 106.5 kB / 1.127 GB, free: 8.328 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009488/0.867, allocations: 425.8 kB / 1.128 GB, free: 7.906 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.8671, allocations: 71.06 kB / 1.128 GB, free: 7.836 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001169/0.8683, allocations: 482.2 kB / 1.128 GB, free: 7.359 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.8683, allocations: 4 kB / 1.128 GB, free: 7.355 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.8683, allocations: 0 / 1.128 GB, free: 7.355 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.8683, allocations: 3.984 kB / 1.128 GB, free: 7.352 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005713/0.8689, allocations: 0.5141 MB / 1.129 GB, free: 6.801 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.8689, allocations: 0 / 1.129 GB, free: 6.801 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001991/0.8691, allocations: 31.97 kB / 1.129 GB, free: 6.77 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.8691, allocations: 3.938 kB / 1.129 GB, free: 6.766 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.883e-05/0.8691, allocations: 5.812 kB / 1.129 GB, free: 6.762 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.8692, allocations: 0 / 1.129 GB, free: 6.762 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.8692, allocations: 0 / 1.129 GB, free: 6.762 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009766/0.8701, allocations: 0.5172 MB / 1.129 GB, free: 6.23 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002296/0.8704, allocations: 204.1 kB / 1.129 GB, free: 6.012 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.77e-05/0.8705, allocations: 0 / 1.129 GB, free: 6.012 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/0.8707, allocations: 11.98 kB / 1.129 GB, free: 6 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.699e-05/0.8707, allocations: 4 kB / 1.129 GB, free: 5.996 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.661e-05/0.8707, allocations: 15.98 kB / 1.129 GB, free: 5.98 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.000795/0.8715, allocations: 0.6631 MB / 1.13 GB, free: 5.324 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.6e-07/0.8716, allocations: 0 / 1.13 GB, free: 5.324 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003453/0.8719, allocations: 71.84 kB / 1.13 GB, free: 5.254 MB / 0.7292 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.001341/0.8733, allocations: 1.112 MB / 1.131 GB, free: 4.117 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000259/0.8735, allocations: 183.9 kB / 1.131 GB, free: 3.938 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.8735, allocations: 4 kB / 1.131 GB, free: 3.934 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.8737, allocations: 99.92 kB / 1.132 GB, free: 3.836 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.874, allocations: 50.2 kB / 1.132 GB, free: 3.785 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001609/0.8756, allocations: 0.9824 MB / 1.133 GB, free: 2.766 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005739/0.8762, allocations: 0.9612 MB / 1.133 GB, free: 1.781 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001994/0.8764, allocations: 74.69 kB / 1.134 GB, free: 1.711 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002839/0.8767, allocations: 219.4 kB / 1.134 GB, free: 1.496 MB / 0.7292 GB Notification: Performance of SimCode: time 2.524e-06/0.8767, allocations: 0 / 1.134 GB, free: 1.496 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03375/0.9105, allocations: 10.7 MB / 1.144 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002259/0.9108, allocations: 154 kB / 1.144 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.36/3.271, allocations: 0 / 1.144 GB, free: 6.805 MB / 0.7448 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.fmu > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1)