Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.555/1.555, allocations: 285.4 MB / 298 MB, free: 5.996 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.001131/0.001131, allocations: 172.9 kB / 366.4 MB, free: 2.094 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.37/1.37, allocations: 205.1 MB / 0.6248 GB, free: 7.73 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.0008108/0.0008109, allocations: 91.45 kB / 0.738 GB, free: 40.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.95e-05/2.952e-05, allocations: 4 kB / 0.8584 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6366/0.6366, allocations: 115.3 MB / 0.971 GB, free: 77.97 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1692/0.8059, allocations: 140.8 MB / 1.109 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/0.8062, allocations: 88.5 kB / 1.109 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02406/0.8303, allocations: 9.894 MB / 1.118 GB, free: 0.9492 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.192e-06/0.8303, allocations: 0 / 1.118 GB, free: 0.9492 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.405e-05/0.8303, allocations: 14.91 kB / 1.118 GB, free: 0.9375 MB / 0.7136 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.0007268/0.8311, allocations: 0.7384 MB / 1.119 GB, free: 156 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.8311, allocations: 8.031 kB / 1.119 GB, free: 148 kB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.233e-05/0.8312, allocations: 46.55 kB / 1.119 GB, free: 92 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004909/0.8317, allocations: 119.1 kB / 1.119 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000619/0.8323, allocations: 0.511 MB / 1.12 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.8323, allocations: 8 kB / 1.12 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.727e-05/0.8324, allocations: 12 kB / 1.12 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003351/0.8327, allocations: 210.8 kB / 1.12 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.8327, allocations: 0 / 1.12 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/0.8328, allocations: 4 kB / 1.12 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.8328, allocations: 4 kB / 1.12 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003602/0.8331, allocations: 259.8 kB / 1.12 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001279/0.8344, allocations: 0.9722 MB / 1.121 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005499/0.835, allocations: 364.2 kB / 1.121 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001626/0.8352, allocations: 124.9 kB / 1.122 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00072/0.8359, allocations: 336.8 kB / 1.122 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.8359, allocations: 30.56 kB / 1.122 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.8359, allocations: 0 / 1.122 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.0004881/0.8364, allocations: 336.7 kB / 1.122 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/0.8365, allocations: 55.41 kB / 1.122 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009796/0.8374, allocations: 0.8915 MB / 1.123 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.8375, allocations: 33.7 kB / 1.123 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002617/0.8377, allocations: 349 kB / 1.124 GB, free: 11.35 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.22e-05/0.8378, allocations: 26.61 kB / 1.124 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.246e-05/0.8378, allocations: 4 kB / 1.124 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.458e-05/0.8379, allocations: 313.9 kB / 1.124 GB, free: 11.01 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.8381, allocations: 107.9 kB / 1.124 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.8382, allocations: 107.9 kB / 1.124 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/0.8384, allocations: 114 kB / 1.124 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.8384, allocations: 0 / 1.124 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004265/0.8388, allocations: 344.5 kB / 1.124 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.8388, allocations: 7.938 kB / 1.124 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.8388, allocations: 0 / 1.124 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.8388, allocations: 0 / 1.124 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002019/0.8391, allocations: 27.98 kB / 1.125 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.8391, allocations: 0 / 1.125 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001789/0.8393, allocations: 27.92 kB / 1.125 GB, free: 10.28 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.528e-05/0.8393, allocations: 11.98 kB / 1.125 GB, free: 10.27 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 7.888e-05/0.8394, allocations: 114 kB / 1.125 GB, free: 10.15 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.591e-05/0.8395, allocations: 76.66 kB / 1.125 GB, free: 10.08 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006537/0.8402, allocations: 396.7 kB / 1.125 GB, free: 9.68 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.8402, allocations: 5.312 kB / 1.125 GB, free: 9.676 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.8402, allocations: 3.5 kB / 1.125 GB, free: 9.676 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.8402, allocations: 3.984 kB / 1.125 GB, free: 9.672 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005513/0.8407, allocations: 0.5402 MB / 1.126 GB, free: 9.082 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.8408, allocations: 0 / 1.126 GB, free: 9.082 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001951/0.841, allocations: 35.91 kB / 1.126 GB, free: 9.047 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.841, allocations: 7.938 kB / 1.126 GB, free: 9.039 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.841, allocations: 8 kB / 1.126 GB, free: 9.031 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.841, allocations: 0 / 1.126 GB, free: 9.031 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.841, allocations: 2.266 kB / 1.126 GB, free: 9.031 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00046/0.8415, allocations: 441.6 kB / 1.126 GB, free: 8.586 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002627/0.8417, allocations: 204.1 kB / 1.126 GB, free: 8.367 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.966e-05/0.8418, allocations: 0 / 1.126 GB, free: 8.367 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001982/0.842, allocations: 15.98 kB / 1.126 GB, free: 8.352 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.536e-05/0.8421, allocations: 7.984 kB / 1.126 GB, free: 8.344 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-05/0.8421, allocations: 16 kB / 1.126 GB, free: 8.328 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0008041/0.8429, allocations: 0.7138 MB / 1.127 GB, free: 7.617 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.91e-07/0.8429, allocations: 0 / 1.127 GB, free: 7.617 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003409/0.8433, allocations: 75.94 kB / 1.127 GB, free: 7.543 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.0007909/0.8441, allocations: 0.9896 MB / 1.128 GB, free: 6.523 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002502/0.8443, allocations: 187.9 kB / 1.128 GB, free: 6.34 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.8443, allocations: 0 / 1.128 GB, free: 6.34 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.8444, allocations: 99.91 kB / 1.128 GB, free: 6.242 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.8447, allocations: 49.19 kB / 1.128 GB, free: 6.199 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.8462, allocations: 1.003 MB / 1.129 GB, free: 5.152 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005114/0.8467, allocations: 0.9619 MB / 1.13 GB, free: 4.168 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001977/0.8469, allocations: 75.25 kB / 1.13 GB, free: 4.094 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002591/0.8472, allocations: 227.3 kB / 1.131 GB, free: 3.871 MB / 0.7292 GB Notification: Performance of SimCode: time 2.81e-07/0.8472, allocations: 0 / 1.131 GB, free: 3.871 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02442/0.8716, allocations: 12.56 MB / 1.143 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001731/0.8719, allocations: 183.2 kB / 1.143 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.038/2.909, allocations: 4 kB / 1.143 GB, free: 7.414 MB / 0.7448 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.fmu > Buildings_maint.8.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1)