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.859/1.859, allocations: 288.2 MB / 303.2 MB, free: 8.074 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.00117/0.00117, allocations: 185 kB / 371.8 MB, free: 10.26 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.969/1.969, allocations: 205.4 MB / 0.6305 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008899/0.0008899, allocations: 97.05 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006666/0.0006667, allocations: 15.38 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2845, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7902/1.075, allocations: 140.9 MB / 1.117 GB, free: 16.35 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002408/1.075, allocations: 89.83 kB / 1.117 GB, free: 16.35 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02196/1.097, allocations: 9.911 MB / 1.127 GB, free: 30.81 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.325e-06/1.097, allocations: 4 kB / 1.127 GB, free: 30.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.811e-05/1.097, allocations: 7.781 kB / 1.127 GB, free: 30.8 MB / 0.698 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.00121/1.098, allocations: 0.9041 MB / 1.128 GB, free: 30.13 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/1.098, allocations: 7.812 kB / 1.128 GB, free: 30.13 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.041e-05/1.098, allocations: 44.19 kB / 1.128 GB, free: 30.09 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005118/1.099, allocations: 120 kB / 1.128 GB, free: 30.04 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000685/1.1, allocations: 0.5235 MB / 1.128 GB, free: 29.75 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/1.1, allocations: 7.375 kB / 1.128 GB, free: 29.75 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.701e-05/1.1, allocations: 11.44 kB / 1.128 GB, free: 29.75 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004845/1.1, allocations: 241.1 kB / 1.129 GB, free: 29.72 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/1.1, allocations: 7.922 kB / 1.129 GB, free: 29.71 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.554e-05/1.1, allocations: 6.469 kB / 1.129 GB, free: 29.71 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/1.1, allocations: 0 / 1.129 GB, free: 29.71 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006/1.101, allocations: 308.6 kB / 1.129 GB, free: 29.7 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001448/1.102, allocations: 0.968 MB / 1.13 GB, free: 29.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008042/1.103, allocations: 399.5 kB / 1.13 GB, free: 29.11 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006861/1.104, allocations: 334.5 kB / 1.131 GB, free: 28.92 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/1.104, allocations: 33.25 kB / 1.131 GB, free: 28.88 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 2.966e-06/1.104, allocations: 0 / 1.131 GB, free: 28.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0009875/1.105, allocations: 0.5207 MB / 1.131 GB, free: 28.71 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/1.105, allocations: 55.25 kB / 1.131 GB, free: 28.65 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009765/1.106, allocations: 0.9029 MB / 1.132 GB, free: 28.39 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/1.106, allocations: 28.83 kB / 1.132 GB, free: 28.36 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002548/1.106, allocations: 350.4 kB / 1.132 GB, free: 28.24 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.235e-05/1.106, allocations: 30.75 kB / 1.132 GB, free: 28.22 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.186e-05/1.106, allocations: 0 / 1.132 GB, free: 28.22 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001046/1.106, allocations: 321.3 kB / 1.133 GB, free: 27.91 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002552/1.107, allocations: 129.8 kB / 1.133 GB, free: 27.88 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002393/1.107, allocations: 147 kB / 1.133 GB, free: 27.85 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002398/1.107, allocations: 128.4 kB / 1.133 GB, free: 27.82 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/1.107, allocations: 0 / 1.133 GB, free: 27.82 MB / 0.698 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006164/1.108, allocations: 391.8 kB / 1.134 GB, free: 27.69 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/1.108, allocations: 3.844 kB / 1.134 GB, free: 27.69 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/1.108, allocations: 0 / 1.134 GB, free: 27.69 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/1.108, allocations: 0 / 1.134 GB, free: 27.69 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001982/1.108, allocations: 42.12 kB / 1.134 GB, free: 27.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/1.108, allocations: 7.734 kB / 1.134 GB, free: 27.67 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001797/1.108, allocations: 15.61 kB / 1.134 GB, free: 27.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.335e-05/1.108, allocations: 11.5 kB / 1.134 GB, free: 27.66 MB / 0.698 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.0002446/1.108, allocations: 250.7 kB / 1.134 GB, free: 27.52 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.639e-05/1.109, allocations: 81.69 kB / 1.134 GB, free: 27.47 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008642/1.109, allocations: 453.2 kB / 1.134 GB, free: 27.34 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/1.109, allocations: 0 / 1.134 GB, free: 27.34 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/1.109, allocations: 0 / 1.134 GB, free: 27.34 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/1.109, allocations: 0 / 1.134 GB, free: 27.34 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004914/1.11, allocations: 0.5503 MB / 1.135 GB, free: 27.01 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/1.11, allocations: 3.984 kB / 1.135 GB, free: 27.01 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001993/1.11, allocations: 35.08 kB / 1.135 GB, free: 27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/1.11, allocations: 0 / 1.135 GB, free: 27 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.04e-05/1.11, allocations: 11.02 kB / 1.135 GB, free: 26.99 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/1.11, allocations: 0 / 1.135 GB, free: 26.99 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/1.11, allocations: 0 / 1.135 GB, free: 26.99 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000635/1.111, allocations: 494.4 kB / 1.135 GB, free: 26.75 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002557/1.111, allocations: 211.1 kB / 1.136 GB, free: 26.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.182e-05/1.111, allocations: 0 / 1.136 GB, free: 26.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001951/1.111, allocations: 11.89 kB / 1.136 GB, free: 26.59 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.734e-05/1.111, allocations: 3.906 kB / 1.136 GB, free: 26.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.229e-05/1.111, allocations: 18.95 kB / 1.136 GB, free: 26.59 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006936/1.112, allocations: 0.7212 MB / 1.136 GB, free: 26.38 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/1.112, allocations: 0 / 1.136 GB, free: 26.38 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003697/1.113, allocations: 72.56 kB / 1.136 GB, free: 26.38 MB / 0.698 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.0009524/1.114, allocations: 1.041 MB / 1.137 GB, free: 25.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00046/1.114, allocations: 247.3 kB / 1.138 GB, free: 25.56 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/1.114, allocations: 0 / 1.138 GB, free: 25.56 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002176/1.114, allocations: 124.6 kB / 1.138 GB, free: 25.54 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002993/1.115, allocations: 50.86 kB / 1.138 GB, free: 25.53 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005205/1.12, allocations: 4.691 MB / 1.142 GB, free: 23.69 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004577/1.12, allocations: 0.9595 MB / 1.143 GB, free: 22.89 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002037/1.12, allocations: 75.97 kB / 1.143 GB, free: 22.86 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002086/1.121, allocations: 225.1 kB / 1.144 GB, free: 22.83 MB / 0.698 GB Notification: Performance of SimCode: time 6.41e-07/1.121, allocations: 0 / 1.144 GB, free: 22.83 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02253/1.143, allocations: 12.7 MB / 1.156 GB, free: 15.75 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001402/1.143, allocations: 207.2 kB / 1.156 GB, free: 15.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.12/3.263, allocations: 0 / 1.156 GB, free: 15.5 MB / 0.698 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)