Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.446/1.446, allocations: 251.9 MB / 266.8 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001327/0.001327, allocations: 183.4 kB / 326.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.305/2.305, allocations: 205.4 MB / 0.5775 GB, free: 20.26 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009555/0.0009554, allocations: 91.72 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004002/0.0004004, allocations: 9.188 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.2982, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1892/0.4875, allocations: 134.7 MB / 1.032 GB, free: 8.918 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003422/0.4879, allocations: 83.95 kB / 1.032 GB, free: 8.836 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02444/0.5124, allocations: 9.94 MB / 1.042 GB, free: 14.77 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.665e-06/0.5124, allocations: 0 / 1.042 GB, free: 14.77 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.486e-05/0.5125, allocations: 12 kB / 1.042 GB, free: 14.76 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.001151/0.5136, allocations: 0.901 MB / 1.042 GB, free: 13.81 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.5137, allocations: 12.03 kB / 1.042 GB, free: 13.8 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.338e-05/0.5138, allocations: 42.56 kB / 1.042 GB, free: 13.75 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004843/0.5142, allocations: 115 kB / 1.043 GB, free: 13.63 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006799/0.5149, allocations: 0.5188 MB / 1.043 GB, free: 13.07 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.515, allocations: 8 kB / 1.043 GB, free: 13.06 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.025e-05/0.515, allocations: 16 kB / 1.043 GB, free: 13.05 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005103/0.5155, allocations: 241.5 kB / 1.043 GB, free: 12.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.5155, allocations: 4 kB / 1.043 GB, free: 12.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.408e-05/0.5156, allocations: 4 kB / 1.043 GB, free: 12.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.5156, allocations: 7.938 kB / 1.043 GB, free: 12.79 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006395/0.5162, allocations: 303.7 kB / 1.044 GB, free: 12.49 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001475/0.5177, allocations: 0.9722 MB / 1.045 GB, free: 11.47 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000895/0.5186, allocations: 402.4 kB / 1.045 GB, free: 11.07 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008029/0.5194, allocations: 328.8 kB / 1.045 GB, free: 10.73 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.5195, allocations: 39.23 kB / 1.045 GB, free: 10.68 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 2.484e-06/0.5195, allocations: 7.938 kB / 1.045 GB, free: 10.67 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.001168/0.5207, allocations: 0.5084 MB / 1.046 GB, free: 10.16 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.289e-05/0.5207, allocations: 55.41 kB / 1.046 GB, free: 10.09 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001141/0.5219, allocations: 0.9069 MB / 1.047 GB, free: 9.18 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.5219, allocations: 25.7 kB / 1.047 GB, free: 9.148 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002912/0.5222, allocations: 347.9 kB / 1.047 GB, free: 8.805 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.205e-05/0.5223, allocations: 31.55 kB / 1.047 GB, free: 8.773 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.111e-05/0.5223, allocations: 0 / 1.047 GB, free: 8.773 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.5224, allocations: 313.9 kB / 1.047 GB, free: 8.461 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002839/0.5227, allocations: 135.9 kB / 1.048 GB, free: 8.328 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002743/0.523, allocations: 139.8 kB / 1.048 GB, free: 8.191 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00029/0.5233, allocations: 131.9 kB / 1.048 GB, free: 8.062 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.5233, allocations: 0 / 1.048 GB, free: 8.062 MB / 0.698 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007577/0.5241, allocations: 392.5 kB / 1.048 GB, free: 7.672 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.5241, allocations: 4 kB / 1.048 GB, free: 7.668 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.5241, allocations: 4 kB / 1.048 GB, free: 7.664 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.5241, allocations: 0.6562 kB / 1.048 GB, free: 7.664 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002204/0.5244, allocations: 31.97 kB / 1.048 GB, free: 7.633 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.5244, allocations: 0 / 1.048 GB, free: 7.633 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002022/0.5246, allocations: 23.83 kB / 1.048 GB, free: 7.609 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.683e-05/0.5246, allocations: 12 kB / 1.048 GB, free: 7.598 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.0003021/0.525, allocations: 253.7 kB / 1.049 GB, free: 7.34 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.247e-05/0.525, allocations: 71.06 kB / 1.049 GB, free: 7.27 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009594/0.526, allocations: 456.4 kB / 1.049 GB, free: 6.816 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.526, allocations: 0 / 1.049 GB, free: 6.816 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.526, allocations: 0 / 1.049 GB, free: 6.816 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.5261, allocations: 7.938 kB / 1.049 GB, free: 6.809 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006073/0.5267, allocations: 0.5479 MB / 1.05 GB, free: 6.211 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.5267, allocations: 4 kB / 1.05 GB, free: 6.207 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002011/0.5269, allocations: 39.91 kB / 1.05 GB, free: 6.168 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.5269, allocations: 0 / 1.05 GB, free: 6.168 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.5269, allocations: 4 kB / 1.05 GB, free: 6.164 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.5269, allocations: 4 kB / 1.05 GB, free: 6.16 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.5269, allocations: 0 / 1.05 GB, free: 6.16 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007658/0.5277, allocations: 490.3 kB / 1.05 GB, free: 5.664 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003083/0.528, allocations: 208 kB / 1.05 GB, free: 5.441 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.544e-05/0.5281, allocations: 4 kB / 1.05 GB, free: 5.438 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002002/0.5283, allocations: 11.98 kB / 1.05 GB, free: 5.426 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.792e-05/0.5284, allocations: 15.98 kB / 1.05 GB, free: 5.41 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.239e-05/0.5284, allocations: 8 kB / 1.05 GB, free: 5.402 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008625/0.5293, allocations: 0.7254 MB / 1.051 GB, free: 4.68 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5293, allocations: 192 / 1.051 GB, free: 4.68 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004077/0.5297, allocations: 71.94 kB / 1.051 GB, free: 4.609 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.00111/0.5308, allocations: 1.029 MB / 1.052 GB, free: 3.551 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000567/0.5314, allocations: 243.8 kB / 1.052 GB, free: 3.312 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.5314, allocations: 4 kB / 1.052 GB, free: 3.309 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002679/0.5317, allocations: 127.9 kB / 1.052 GB, free: 3.184 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004163/0.5321, allocations: 49.3 kB / 1.053 GB, free: 3.137 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5588/1.091, allocations: 4.697 MB / 1.057 GB, free: 148.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005247/1.092, allocations: 0.9602 MB / 1.058 GB, free: 148.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003389/1.092, allocations: 74.73 kB / 1.058 GB, free: 148.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000363/1.092, allocations: 221.7 kB / 1.058 GB, free: 148.1 MB / 0.698 GB Notification: Performance of SimCode: time 1.078e-05/1.092, allocations: 0 / 1.058 GB, free: 148.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03823/1.13, allocations: 12.7 MB / 1.071 GB, free: 147 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001964/1.131, allocations: 206.8 kB / 1.071 GB, free: 146.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.212/3.342, allocations: 1.406 kB / 1.071 GB, free: 146.7 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.fmu > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1)