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.782/1.782, allocations: 292.6 MB / 307.5 MB, free: 5.09 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.001416/0.001416, allocations: 196.1 kB / 377.1 MB, free: 1.441 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.058/2.058, allocations: 205.4 MB / 0.6366 GB, free: 8.566 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.001064/0.001064, allocations: 97.3 kB / 0.7509 GB, free: 62.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004832/0.0004832, allocations: 8 kB / 0.8749 GB, free: 11.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.289, allocations: 116.3 MB / 0.9884 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8282/1.117, allocations: 141.9 MB / 1.127 GB, free: 33.41 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002695/1.118, allocations: 89.59 kB / 1.127 GB, free: 33.34 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.02322/1.141, allocations: 9.917 MB / 1.137 GB, free: 25.91 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.703e-06/1.141, allocations: 0 / 1.137 GB, free: 25.91 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.264e-05/1.141, allocations: 8 kB / 1.137 GB, free: 25.91 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.001328/1.142, allocations: 0.9042 MB / 1.138 GB, free: 25.01 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/1.142, allocations: 16.02 kB / 1.138 GB, free: 25 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.108e-05/1.142, allocations: 44.91 kB / 1.138 GB, free: 24.95 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000532/1.143, allocations: 114.1 kB / 1.138 GB, free: 24.85 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000676/1.144, allocations: 0.5217 MB / 1.138 GB, free: 24.33 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/1.144, allocations: 12 kB / 1.138 GB, free: 24.32 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.73e-05/1.144, allocations: 11.44 kB / 1.138 GB, free: 24.31 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000501/1.144, allocations: 241.8 kB / 1.139 GB, free: 24.12 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/1.144, allocations: 0 / 1.139 GB, free: 24.12 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.196e-05/1.144, allocations: 8 kB / 1.139 GB, free: 24.11 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/1.144, allocations: 4 kB / 1.139 GB, free: 24.11 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006068/1.145, allocations: 302.2 kB / 1.139 GB, free: 23.87 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001605/1.146, allocations: 0.9811 MB / 1.14 GB, free: 23.05 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008138/1.147, allocations: 402.7 kB / 1.14 GB, free: 22.72 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007006/1.148, allocations: 331.3 kB / 1.141 GB, free: 22.45 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/1.148, allocations: 38.53 kB / 1.141 GB, free: 22.4 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 1.653e-06/1.148, allocations: 0.5625 kB / 1.141 GB, free: 22.4 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.001068/1.149, allocations: 0.5102 MB / 1.141 GB, free: 21.96 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/1.149, allocations: 55.41 kB / 1.141 GB, free: 21.9 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001254/1.15, allocations: 0.9058 MB / 1.142 GB, free: 21.12 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/1.15, allocations: 30.27 kB / 1.142 GB, free: 21.09 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002385/1.151, allocations: 349 kB / 1.142 GB, free: 20.77 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.706e-05/1.151, allocations: 27.45 kB / 1.142 GB, free: 20.75 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.337e-05/1.151, allocations: 8 kB / 1.142 GB, free: 20.74 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.886e-05/1.151, allocations: 311.1 kB / 1.143 GB, free: 20.43 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002823/1.151, allocations: 138.5 kB / 1.143 GB, free: 20.32 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002684/1.151, allocations: 130.9 kB / 1.143 GB, free: 20.22 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002697/1.152, allocations: 141.1 kB / 1.143 GB, free: 20.11 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/1.152, allocations: 0 / 1.143 GB, free: 20.11 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006992/1.152, allocations: 388.2 kB / 1.143 GB, free: 19.77 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/1.152, allocations: 4 kB / 1.143 GB, free: 19.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/1.152, allocations: 0.5469 kB / 1.143 GB, free: 19.77 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/1.153, allocations: 4.797 kB / 1.143 GB, free: 19.77 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000206/1.153, allocations: 34.45 kB / 1.143 GB, free: 19.74 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/1.153, allocations: 0 / 1.143 GB, free: 19.74 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002091/1.153, allocations: 21.89 kB / 1.144 GB, free: 19.72 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.809e-05/1.153, allocations: 16.44 kB / 1.144 GB, free: 19.71 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 () * Number of clocked 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 0.0002877/1.153, allocations: 253.1 kB / 1.144 GB, free: 19.48 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/1.153, allocations: 78.02 kB / 1.144 GB, free: 19.41 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009035/1.154, allocations: 454.2 kB / 1.144 GB, free: 19.04 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/1.154, allocations: 1.219 kB / 1.144 GB, free: 19.04 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/1.154, allocations: 0 / 1.144 GB, free: 19.04 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/1.154, allocations: 0.6094 kB / 1.144 GB, free: 19.04 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006857/1.155, allocations: 0.5464 MB / 1.145 GB, free: 18.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/1.155, allocations: 1.062 kB / 1.145 GB, free: 18.57 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002103/1.155, allocations: 31.31 kB / 1.145 GB, free: 18.55 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/1.155, allocations: 8 kB / 1.145 GB, free: 18.54 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.251e-05/1.155, allocations: 5.266 kB / 1.145 GB, free: 18.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/1.155, allocations: 0 / 1.145 GB, free: 18.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/1.155, allocations: 4.547 kB / 1.145 GB, free: 18.53 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007438/1.156, allocations: 491 kB / 1.145 GB, free: 18.09 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002991/1.156, allocations: 203 kB / 1.146 GB, free: 17.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.151e-05/1.156, allocations: 5.359 kB / 1.146 GB, free: 17.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/1.157, allocations: 16.41 kB / 1.146 GB, free: 17.87 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.967e-05/1.157, allocations: 10.42 kB / 1.146 GB, free: 17.86 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.184e-05/1.157, allocations: 14.2 kB / 1.146 GB, free: 17.85 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001169/1.158, allocations: 0.725 MB / 1.146 GB, free: 17.25 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.41e-07/1.158, allocations: 0 / 1.146 GB, free: 17.25 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005138/1.159, allocations: 68.8 kB / 1.146 GB, free: 17.18 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 () * 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 (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.001232/1.16, allocations: 1.034 MB / 1.147 GB, free: 16.16 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005772/1.16, allocations: 246.2 kB / 1.148 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/1.16, allocations: 0 / 1.148 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002593/1.161, allocations: 125.9 kB / 1.148 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003981/1.161, allocations: 50.22 kB / 1.148 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006486/1.168, allocations: 4.697 MB / 1.152 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004415/1.168, allocations: 0.9575 MB / 1.153 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.00022/1.168, allocations: 74.31 kB / 1.153 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00024/1.168, allocations: 229.5 kB / 1.154 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of SimCode: time 1.222e-06/1.168, allocations: 0.8438 kB / 1.154 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02543/1.194, allocations: 12.68 MB / 1.166 GB, free: 0.5508 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001624/1.194, allocations: 195.5 kB / 1.166 GB, free: 320 kB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.269/3.464, allocations: 0 / 1.166 GB, free: 320 kB / 0.7292 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)