Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.651/2.651, allocations: 287.3 MB / 302.3 MB, free: 8.371 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.001498/0.001497, allocations: 179.2 kB / 370.8 MB, free: 10.85 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.037/2.037, allocations: 205.4 MB / 0.6295 GB, free: 10.57 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.001124/0.001123, allocations: 95.73 kB / 0.7428 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006932/0.0006935, allocations: 12.69 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.2731, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.572/7.845, allocations: 2.342 GB / 3.32 GB, free: 276.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003162/7.846, allocations: 105.5 kB / 3.32 GB, free: 276.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.196/12.04, allocations: 0.8743 GB / 4.195 GB, free: 132.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.645e-06/12.04, allocations: 0 / 4.195 GB, free: 132.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003768/12.04, allocations: 62.84 kB / 4.195 GB, free: 132.5 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.009596/12.05, allocations: 2.763 MB / 4.197 GB, free: 130.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/12.05, allocations: 9.75 kB / 4.197 GB, free: 130.6 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009287/12.05, allocations: 203.1 kB / 4.198 GB, free: 130.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003158/12.06, allocations: 371.4 kB / 4.198 GB, free: 130.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006947/12.06, allocations: 2.055 MB / 4.2 GB, free: 128.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001169/12.06, allocations: 113.1 kB / 4.2 GB, free: 128.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003922/12.06, allocations: 144.5 kB / 4.2 GB, free: 128.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004064/12.07, allocations: 1.598 MB / 4.202 GB, free: 127.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-05/12.07, allocations: 7.094 kB / 4.202 GB, free: 127.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002028/12.07, allocations: 53.34 kB / 4.202 GB, free: 127.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.264e-05/12.07, allocations: 43.38 kB / 4.202 GB, free: 127.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003406/12.07, allocations: 1.249 MB / 4.203 GB, free: 127 MB / 0.948 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01317/12.09, allocations: 6.467 MB / 4.209 GB, free: 121.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002137/12.09, allocations: 0.9312 MB / 4.21 GB, free: 121.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007678/12.09, allocations: 0.6787 MB / 4.211 GB, free: 120.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.808e-05/12.09, allocations: 50.17 kB / 4.211 GB, free: 120.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=83): time 3.597e-06/12.09, allocations: 0 / 4.211 GB, free: 120.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=85): time 0.01008/12.1, allocations: 3.915 MB / 4.215 GB, free: 118 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.272e-05/12.1, allocations: 196.1 kB / 4.215 GB, free: 117.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003967/12.1, allocations: 1.797 MB / 4.217 GB, free: 116.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003375/12.1, allocations: 49.45 kB / 4.217 GB, free: 116.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009138/12.1, allocations: 0.8786 MB / 4.218 GB, free: 116 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004028/12.1, allocations: 297.1 kB / 4.218 GB, free: 115.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/12.1, allocations: 15.5 kB / 4.218 GB, free: 115.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.633e-05/12.1, allocations: 344.8 kB / 4.218 GB, free: 115.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001401/12.11, allocations: 0.6082 MB / 4.219 GB, free: 115.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001566/12.11, allocations: 0.8706 MB / 4.22 GB, free: 114.5 MB / 0.948 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0071/12.11, allocations: 2.428 MB / 4.222 GB, free: 112.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/12.11, allocations: 0 / 4.222 GB, free: 112.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.004051/12.12, allocations: 1.847 MB / 4.224 GB, free: 110.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004367/12.12, allocations: 1.659 MB / 4.226 GB, free: 108.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/12.12, allocations: 4 kB / 4.226 GB, free: 108.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.567e-05/12.12, allocations: 8 kB / 4.226 GB, free: 108.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001385/12.12, allocations: 179.7 kB / 4.226 GB, free: 108.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.751e-05/12.12, allocations: 10.5 kB / 4.226 GB, free: 108.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002664/12.12, allocations: 117.8 kB / 4.226 GB, free: 108.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001911/12.12, allocations: 55.92 kB / 4.226 GB, free: 108.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/12.12, allocations: 4 kB / 4.226 GB, free: 108.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003713/12.13, allocations: 1.844 MB / 4.228 GB, free: 106.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/12.13, allocations: 4 kB / 4.228 GB, free: 106.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/12.13, allocations: 8 kB / 4.228 GB, free: 106.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/12.13, allocations: 175.7 kB / 4.228 GB, free: 106.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.593e-05/12.13, allocations: 15.67 kB / 4.228 GB, free: 106.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002564/12.13, allocations: 114 kB / 4.228 GB, free: 106.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001593/12.13, allocations: 51.94 kB / 4.228 GB, free: 106.1 MB / 0.948 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 4 (beaCoo.conCoo.mod.temDif_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.airFlo_mod.i,conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 6 * 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.001619/12.13, allocations: 0.7051 MB / 4.229 GB, free: 105.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006031/12.13, allocations: 197.5 kB / 4.229 GB, free: 105.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003338/12.14, allocations: 1.481 MB / 4.23 GB, free: 103.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.72e-05/12.14, allocations: 11.98 kB / 4.23 GB, free: 103.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/12.14, allocations: 3.938 kB / 4.23 GB, free: 103.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002551/12.14, allocations: 1.558 MB / 4.232 GB, free: 102 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008189/12.15, allocations: 3.634 MB / 4.235 GB, free: 98.25 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/12.15, allocations: 4 kB / 4.235 GB, free: 98.24 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001335/12.15, allocations: 163.8 kB / 4.236 GB, free: 98.08 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-05/12.15, allocations: 8 kB / 4.236 GB, free: 98.07 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.382e-05/12.15, allocations: 31.88 kB / 4.236 GB, free: 98.05 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.236e-05/12.15, allocations: 11.94 kB / 4.236 GB, free: 98.04 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/12.15, allocations: 7.312 kB / 4.236 GB, free: 98.03 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005199/12.15, allocations: 2.807 MB / 4.238 GB, free: 95.02 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001627/12.16, allocations: 454.4 kB / 4.239 GB, free: 94.56 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006835/12.16, allocations: 27.98 kB / 4.239 GB, free: 94.53 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002296/12.16, allocations: 107.4 kB / 4.239 GB, free: 94.43 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003259/12.16, allocations: 98.89 kB / 4.239 GB, free: 94.34 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001203/12.16, allocations: 35.94 kB / 4.239 GB, free: 94.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003246/12.16, allocations: 1.406 MB / 4.24 GB, free: 92.88 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.81e-07/12.16, allocations: 0 / 4.24 GB, free: 92.88 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00505/12.17, allocations: 0.9983 MB / 4.241 GB, free: 91.88 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 4 (conPID.I.y,vol.dynBal.U,vol.dynBal.mXi[1],beaCoo.conCoo.hex.vol.dynBal.U) * Number of discrete variables: 3 (beaCoo.conCoo.mod.temDif_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.airFlo_mod.i) * Number of discrete states: 3 (beaCoo.conCoo.mod.airFlo_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.temDif_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 2 * 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.00995/12.18, allocations: 6.704 MB / 4.248 GB, free: 85.48 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00556/12.18, allocations: 3.048 MB / 4.251 GB, free: 82.29 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.111e-05/12.18, allocations: 0 / 4.251 GB, free: 82.29 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001884/12.19, allocations: 1.012 MB / 4.252 GB, free: 81.24 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007912/12.19, allocations: 1.006 MB / 4.253 GB, free: 80.32 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01341/12.21, allocations: 7.815 MB / 4.261 GB, free: 72.51 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001355/12.21, allocations: 1.568 MB / 4.262 GB, free: 70.93 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002952/12.21, allocations: 431.7 kB / 4.262 GB, free: 70.57 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001735/12.21, allocations: 0.7726 MB / 4.263 GB, free: 69.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.503e-06/12.21, allocations: 0 / 4.263 GB, free: 69.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1829/12.4, allocations: 83.25 MB / 4.345 GB, free: 4.203 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003066/12.4, allocations: 226.5 kB / 4.345 GB, free: 3.969 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.073/18.47, allocations: 0 / 4.345 GB, free: 3.969 MB / 0.9636 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe 2>&1)