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.49/1.49, allocations: 249.3 MB / 261.8 MB, free: 5.938 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009376/0.0009377, allocations: 186.5 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.264/1.264, allocations: 205.1 MB / 0.572 GB, free: 10.62 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.00104/0.001039, allocations: 90.47 kB / 0.6764 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.349e-05/3.361e-05, allocations: 4 kB / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.179, allocations: 106.3 MB / 0.8919 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5946/0.7737, allocations: 134.6 MB / 1.023 GB, free: 96 kB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002428/0.774, allocations: 82.02 kB / 1.023 GB, free: 52 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02467/0.7987, allocations: 9.912 MB / 1.033 GB, free: 7.184 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.242e-06/0.7987, allocations: 4 kB / 1.033 GB, free: 7.18 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.46e-05/0.7987, allocations: 8 kB / 1.033 GB, free: 7.172 MB / 0.6511 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.0007726/0.7995, allocations: 0.7351 MB / 1.034 GB, free: 6.426 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.7996, allocations: 12.03 kB / 1.034 GB, free: 6.414 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.451e-05/0.7996, allocations: 45.19 kB / 1.034 GB, free: 6.371 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004738/0.8001, allocations: 117.7 kB / 1.034 GB, free: 6.258 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006202/0.8007, allocations: 0.5157 MB / 1.035 GB, free: 5.758 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.8007, allocations: 7.812 kB / 1.035 GB, free: 5.754 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.718e-05/0.8008, allocations: 11 kB / 1.035 GB, free: 5.746 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003267/0.8011, allocations: 213.2 kB / 1.035 GB, free: 5.594 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.8011, allocations: 0 / 1.035 GB, free: 5.594 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.193e-05/0.8012, allocations: 7.875 kB / 1.035 GB, free: 5.59 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.8012, allocations: 4 kB / 1.035 GB, free: 5.586 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003508/0.8015, allocations: 255.7 kB / 1.035 GB, free: 5.422 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001351/0.8029, allocations: 0.968 MB / 1.036 GB, free: 4.633 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005443/0.8034, allocations: 366.2 kB / 1.036 GB, free: 4.383 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001566/0.8036, allocations: 123.3 kB / 1.036 GB, free: 4.301 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007377/0.8044, allocations: 332.1 kB / 1.037 GB, free: 3.961 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.8044, allocations: 30.56 kB / 1.037 GB, free: 3.922 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.8044, allocations: 0 / 1.037 GB, free: 3.922 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.0005362/0.8049, allocations: 336.2 kB / 1.037 GB, free: 3.664 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/0.805, allocations: 59.28 kB / 1.037 GB, free: 3.598 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001079/0.8061, allocations: 0.8984 MB / 1.038 GB, free: 2.91 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.8061, allocations: 29.14 kB / 1.038 GB, free: 2.879 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002469/0.8064, allocations: 336.7 kB / 1.038 GB, free: 2.727 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.337e-05/0.8064, allocations: 38.47 kB / 1.038 GB, free: 2.695 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.31e-05/0.8064, allocations: 7.828 kB / 1.038 GB, free: 2.691 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.8066, allocations: 306 kB / 1.039 GB, free: 2.387 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/0.8067, allocations: 110.9 kB / 1.039 GB, free: 2.316 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.8069, allocations: 112.2 kB / 1.039 GB, free: 2.246 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/0.8071, allocations: 113.4 kB / 1.039 GB, free: 2.172 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.8071, allocations: 0 / 1.039 GB, free: 2.172 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004291/0.8075, allocations: 327.9 kB / 1.039 GB, free: 1.922 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.8075, allocations: 8.375 kB / 1.039 GB, free: 1.914 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.8075, allocations: 3.938 kB / 1.039 GB, free: 1.91 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.8076, allocations: 0 / 1.039 GB, free: 1.91 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002036/0.8078, allocations: 35.59 kB / 1.039 GB, free: 1.879 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.8078, allocations: 7.938 kB / 1.039 GB, free: 1.871 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001799/0.808, allocations: 23.83 kB / 1.039 GB, free: 1.848 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-05/0.808, allocations: 15.94 kB / 1.039 GB, free: 1.832 MB / 0.6511 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.21e-05/0.8081, allocations: 104 kB / 1.04 GB, free: 1.727 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.058e-05/0.8082, allocations: 75.06 kB / 1.04 GB, free: 1.652 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006439/0.8088, allocations: 401.2 kB / 1.04 GB, free: 1.355 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.8089, allocations: 0 / 1.04 GB, free: 1.355 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.8089, allocations: 0 / 1.04 GB, free: 1.355 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.8089, allocations: 4 kB / 1.04 GB, free: 1.352 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005598/0.8094, allocations: 0.5446 MB / 1.041 GB, free: 0.8789 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.8095, allocations: 4 kB / 1.041 GB, free: 0.875 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001964/0.8097, allocations: 39.28 kB / 1.041 GB, free: 0.8398 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.8097, allocations: 3.938 kB / 1.041 GB, free: 0.8359 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.8097, allocations: 0 / 1.041 GB, free: 0.8359 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.8097, allocations: 4 kB / 1.041 GB, free: 0.832 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.8097, allocations: 0 / 1.041 GB, free: 0.832 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004646/0.8102, allocations: 438.1 kB / 1.041 GB, free: 480 kB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002728/0.8105, allocations: 204.8 kB / 1.041 GB, free: 280 kB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.368e-05/0.8105, allocations: 4.188 kB / 1.041 GB, free: 276 kB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002304/0.8108, allocations: 19.8 kB / 1.041 GB, free: 260 kB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.816e-05/0.8108, allocations: 11.92 kB / 1.041 GB, free: 248 kB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.318e-05/0.8108, allocations: 8 kB / 1.041 GB, free: 240 kB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000807/0.8117, allocations: 0.7147 MB / 1.042 GB, free: 15.71 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8117, allocations: 0 / 1.042 GB, free: 15.71 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0003854/0.8121, allocations: 83.05 kB / 1.042 GB, free: 15.63 MB / 0.6667 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.0008512/0.8129, allocations: 0.9749 MB / 1.043 GB, free: 14.68 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0002693/0.8132, allocations: 196.6 kB / 1.043 GB, free: 14.54 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.8132, allocations: 0 / 1.043 GB, free: 14.54 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.8133, allocations: 99.97 kB / 1.043 GB, free: 14.47 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000314/0.8137, allocations: 52.5 kB / 1.043 GB, free: 14.45 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/0.8153, allocations: 1 MB / 1.044 GB, free: 13.54 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005431/0.8158, allocations: 0.9533 MB / 1.045 GB, free: 12.59 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002108/0.816, allocations: 81.69 kB / 1.045 GB, free: 12.52 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002302/0.8163, allocations: 224.9 kB / 1.045 GB, free: 12.47 MB / 0.6667 GB Notification: Performance of SimCode: time 9.82e-07/0.8163, allocations: 0 / 1.045 GB, free: 12.47 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0265/0.8428, allocations: 12.57 MB / 1.058 GB, free: 20 kB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001896/0.843, allocations: 177.5 kB / 1.058 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.144/2.987, allocations: 4.062 kB / 1.058 GB, free: 15.79 MB / 0.6823 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)