Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.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.HeatExchangers.ActiveBeams.Examples.CoolingOnly,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.561/1.561, allocations: 249.3 MB / 261.8 MB, free: 5.836 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.001022/0.001022, allocations: 169 kB / 321.3 MB, free: 14.64 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.796/1.796, allocations: 205.2 MB / 0.572 GB, free: 10.6 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.0009788/0.0009789, allocations: 86.53 kB / 0.6764 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 5.288e-05/5.29e-05, allocations: 4 kB / 0.788 GB, free: 96.99 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2684, allocations: 106.3 MB / 0.8919 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.018/7.287, allocations: 2.459 GB / 3.351 GB, free: 207.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002432/7.287, allocations: 98.69 kB / 3.351 GB, free: 207.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.841/10.13, allocations: 0.8501 GB / 4.201 GB, free: 3.41 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.753e-06/10.13, allocations: 0 / 4.201 GB, free: 3.41 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002001/10.13, allocations: 58.52 kB / 4.201 GB, free: 3.355 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.004907/10.13, allocations: 2.366 MB / 4.203 GB, free: 0.8984 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/10.13, allocations: 8.031 kB / 4.203 GB, free: 0.8906 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002407/10.13, allocations: 199.9 kB / 4.204 GB, free: 0.6875 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001732/10.14, allocations: 384.8 kB / 4.204 GB, free: 316 kB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004254/10.14, allocations: 2.044 MB / 4.206 GB, free: 14.22 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/10.14, allocations: 106.6 kB / 4.206 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002465/10.14, allocations: 140 kB / 4.206 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003026/10.14, allocations: 1.56 MB / 4.208 GB, free: 12.36 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.442e-05/10.14, allocations: 4 kB / 4.208 GB, free: 12.36 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00013/10.14, allocations: 52 kB / 4.208 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.957e-05/10.14, allocations: 46.55 kB / 4.208 GB, free: 12.26 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002188/10.15, allocations: 1.185 MB / 4.209 GB, free: 11.07 MB / 0.8855 GB Warning: The model contains alias variables with conflicting start and/or 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.01186/10.16, allocations: 6.467 MB / 4.215 GB, free: 4.297 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001508/10.16, allocations: 0.8845 MB / 4.216 GB, free: 3.402 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008898/10.16, allocations: 0.5928 MB / 4.217 GB, free: 2.809 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008076/10.16, allocations: 0.689 MB / 4.217 GB, free: 1.973 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.331e-05/10.16, allocations: 43.28 kB / 4.217 GB, free: 1.922 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=83): time 3.957e-06/10.16, allocations: 4 kB / 4.217 GB, free: 1.918 MB / 0.8855 GB Notification: Performance of matching and sorting (n=85): time 0.6369/10.8, allocations: 3.079 MB / 4.22 GB, free: 119.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.162e-05/10.8, allocations: 198.7 kB / 4.221 GB, free: 119.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003718/10.8, allocations: 1.78 MB / 4.222 GB, free: 119.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.00033/10.8, allocations: 47.11 kB / 4.222 GB, free: 119.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009134/10.8, allocations: 0.8866 MB / 4.223 GB, free: 118.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003388/10.8, allocations: 289.7 kB / 4.224 GB, free: 118.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.51e-05/10.8, allocations: 17 kB / 4.224 GB, free: 118.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.428e-05/10.8, allocations: 343.7 kB / 4.224 GB, free: 118.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009626/10.8, allocations: 0.5791 MB / 4.224 GB, free: 118.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001095/10.81, allocations: 0.8431 MB / 4.225 GB, free: 118.1 MB / 0.8855 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.004661/10.81, allocations: 2.361 MB / 4.228 GB, free: 117.7 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/10.81, allocations: 3.969 kB / 4.228 GB, free: 117.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002828/10.81, allocations: 1.785 MB / 4.229 GB, free: 117.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.00037/10.81, allocations: 1.662 MB / 4.231 GB, free: 115.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/10.81, allocations: 3.844 kB / 4.231 GB, free: 115.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.831e-05/10.81, allocations: 10.27 kB / 4.231 GB, free: 115.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00073/10.81, allocations: 178.6 kB / 4.231 GB, free: 115.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.033e-05/10.81, allocations: 12.55 kB / 4.231 GB, free: 115.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002048/10.82, allocations: 124.5 kB / 4.231 GB, free: 115.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001615/10.82, allocations: 47.12 kB / 4.231 GB, free: 115.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/10.82, allocations: 3.688 kB / 4.231 GB, free: 115.6 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00304/10.82, allocations: 1.785 MB / 4.233 GB, free: 115.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/10.82, allocations: 3.812 kB / 4.233 GB, free: 115.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/10.82, allocations: 8.094 kB / 4.233 GB, free: 115.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007574/10.82, allocations: 184.1 kB / 4.233 GB, free: 115.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.65e-05/10.82, allocations: 9.438 kB / 4.233 GB, free: 115.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002168/10.82, allocations: 121.5 kB / 4.233 GB, free: 115.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001487/10.82, allocations: 50.94 kB / 4.233 GB, free: 115.4 MB / 0.8855 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 () * 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.0004111/10.82, allocations: 265.1 kB / 4.234 GB, free: 115.1 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005331/10.82, allocations: 199.3 kB / 4.234 GB, free: 115 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00282/10.83, allocations: 1.424 MB / 4.235 GB, free: 114.9 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-05/10.83, allocations: 13.19 kB / 4.235 GB, free: 114.9 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/10.83, allocations: 0 / 4.235 GB, free: 114.9 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001803/10.83, allocations: 1.493 MB / 4.237 GB, free: 114.3 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006748/10.84, allocations: 3.58 MB / 4.24 GB, free: 113.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/10.84, allocations: 3.469 kB / 4.24 GB, free: 113.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000718/10.84, allocations: 164.7 kB / 4.24 GB, free: 113.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.361e-05/10.84, allocations: 9.562 kB / 4.24 GB, free: 113.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.762e-05/10.84, allocations: 26.19 kB / 4.24 GB, free: 113.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.098e-05/10.84, allocations: 15.39 kB / 4.24 GB, free: 113.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/10.84, allocations: 10.78 kB / 4.24 GB, free: 113.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003814/10.84, allocations: 2.715 MB / 4.243 GB, free: 112.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001483/10.84, allocations: 460.7 kB / 4.244 GB, free: 112.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000359/10.84, allocations: 23.31 kB / 4.244 GB, free: 112.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/10.84, allocations: 108.3 kB / 4.244 GB, free: 112.6 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002236/10.84, allocations: 102.8 kB / 4.244 GB, free: 112.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.461e-05/10.84, allocations: 33.19 kB / 4.244 GB, free: 112.6 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002548/10.85, allocations: 1.387 MB / 4.245 GB, free: 112.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.31e-07/10.85, allocations: 0 / 4.245 GB, free: 112.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0045/10.85, allocations: 1.006 MB / 4.246 GB, free: 112.4 MB / 0.8855 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) * 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.007786/10.86, allocations: 6.604 MB / 4.253 GB, free: 109.2 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004569/10.86, allocations: 3.036 MB / 4.256 GB, free: 108.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.357e-05/10.86, allocations: 1.031 kB / 4.256 GB, free: 108.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001383/10.86, allocations: 0.9854 MB / 4.256 GB, free: 108.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006649/10.87, allocations: 1.009 MB / 4.257 GB, free: 108.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01029/10.88, allocations: 3.639 MB / 4.261 GB, free: 107.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001531/10.88, allocations: 1.569 MB / 4.263 GB, free: 106.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003698/10.89, allocations: 0.6639 MB / 4.263 GB, free: 106.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001214/10.89, allocations: 0.7396 MB / 4.264 GB, free: 106.6 MB / 0.8855 GB Notification: Performance of SimCode: time 1.523e-06/10.89, allocations: 0.625 kB / 4.264 GB, free: 106.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1425/11.03, allocations: 91.44 MB / 4.353 GB, free: 103.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001606/11.03, allocations: 216.2 kB / 4.353 GB, free: 102.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.008/16.04, allocations: 1.859 kB / 4.353 GB, free: 102.9 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe 2>&1)