Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.721/1.721, allocations: 289.7 MB / 302.3 MB, free: 2.133 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.001426/0.001426, allocations: 178.5 kB / 371.6 MB, free: 3.371 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.752/1.752, allocations: 205.2 MB / 0.6309 GB, free: 11.73 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009924/0.0009924, allocations: 92.11 kB / 0.745 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.974e-05/3.987e-05, allocations: 4 kB / 0.8663 GB, free: 14.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3072, allocations: 116.3 MB / 0.9799 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.871/7.178, allocations: 2.343 GB / 3.323 GB, free: 258.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/7.179, allocations: 93.94 kB / 3.323 GB, free: 258.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.086/10.26, allocations: 0.8725 GB / 4.195 GB, free: 77.88 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.644e-06/10.26, allocations: 0 / 4.195 GB, free: 77.88 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002353/10.27, allocations: 58.44 kB / 4.196 GB, free: 77.86 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.005118/10.27, allocations: 2.358 MB / 4.198 GB, free: 76.08 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/10.27, allocations: 14.67 kB / 4.198 GB, free: 76.08 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002715/10.27, allocations: 189.2 kB / 4.198 GB, free: 75.93 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001734/10.27, allocations: 382.9 kB / 4.198 GB, free: 75.75 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003759/10.28, allocations: 2.032 MB / 4.2 GB, free: 74.32 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.925e-05/10.28, allocations: 109.1 kB / 4.2 GB, free: 74.28 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000199/10.28, allocations: 136.6 kB / 4.201 GB, free: 74.23 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002461/10.28, allocations: 1.566 MB / 4.202 GB, free: 73.33 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.227e-05/10.28, allocations: 3.906 kB / 4.202 GB, free: 73.33 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/10.28, allocations: 54.94 kB / 4.202 GB, free: 73.29 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.6e-05/10.28, allocations: 53.5 kB / 4.202 GB, free: 73.28 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001766/10.28, allocations: 1.184 MB / 4.203 GB, free: 72.33 MB / 0.948 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.008694/10.29, allocations: 6.461 MB / 4.21 GB, free: 65.68 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001166/10.29, allocations: 0.8871 MB / 4.211 GB, free: 64.78 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006773/10.29, allocations: 0.6038 MB / 4.211 GB, free: 64.18 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006336/10.29, allocations: 0.6913 MB / 4.212 GB, free: 63.34 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/10.29, allocations: 43.28 kB / 4.212 GB, free: 63.29 MB / 0.948 GB Notification: Performance of pre-optimization done (n=83): time 5.38e-06/10.29, allocations: 7.188 kB / 4.212 GB, free: 63.29 MB / 0.948 GB Notification: Performance of matching and sorting (n=85): time 0.005078/10.3, allocations: 3.082 MB / 4.215 GB, free: 60.09 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.697e-05/10.3, allocations: 200.7 kB / 4.215 GB, free: 59.86 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002263/10.3, allocations: 1.765 MB / 4.217 GB, free: 58.05 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.956e-05/10.3, allocations: 48.95 kB / 4.217 GB, free: 58 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005684/10.3, allocations: 0.8895 MB / 4.218 GB, free: 57.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001977/10.3, allocations: 294.6 kB / 4.218 GB, free: 56.82 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.78e-05/10.3, allocations: 16 kB / 4.218 GB, free: 56.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.857e-05/10.3, allocations: 341.9 kB / 4.218 GB, free: 56.46 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006846/10.3, allocations: 0.5799 MB / 4.219 GB, free: 55.88 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008162/10.3, allocations: 0.8471 MB / 4.22 GB, free: 54.95 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.003859/10.31, allocations: 2.374 MB / 4.222 GB, free: 52.51 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/10.31, allocations: 0 / 4.222 GB, free: 52.51 MB / 0.948 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002142/10.31, allocations: 1.788 MB / 4.224 GB, free: 50.68 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003661/10.31, allocations: 1.662 MB / 4.225 GB, free: 48.83 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/10.31, allocations: 7.984 kB / 4.225 GB, free: 48.82 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.507e-05/10.31, allocations: 8 kB / 4.225 GB, free: 48.82 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000703/10.31, allocations: 179 kB / 4.226 GB, free: 48.64 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.402e-05/10.31, allocations: 8 kB / 4.226 GB, free: 48.64 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/10.31, allocations: 125.7 kB / 4.226 GB, free: 48.52 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/10.31, allocations: 51.98 kB / 4.226 GB, free: 48.47 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.337e-06/10.31, allocations: 1.406 kB / 4.226 GB, free: 48.47 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001906/10.31, allocations: 1.785 MB / 4.228 GB, free: 46.65 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/10.31, allocations: 4 kB / 4.228 GB, free: 46.64 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.566e-06/10.31, allocations: 8 kB / 4.228 GB, free: 46.64 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006702/10.31, allocations: 182.6 kB / 4.228 GB, free: 46.46 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/10.31, allocations: 19.2 kB / 4.228 GB, free: 46.45 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/10.31, allocations: 120.8 kB / 4.228 GB, free: 46.33 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.553e-05/10.32, allocations: 55.69 kB / 4.228 GB, free: 46.28 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 () * 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.0002797/10.32, allocations: 258 kB / 4.228 GB, free: 46 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000241/10.32, allocations: 197.6 kB / 4.228 GB, free: 45.81 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002065/10.32, allocations: 1.423 MB / 4.23 GB, free: 44.36 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/10.32, allocations: 11.98 kB / 4.23 GB, free: 44.35 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/10.32, allocations: 0 / 4.23 GB, free: 44.35 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001354/10.32, allocations: 1.503 MB / 4.231 GB, free: 42.75 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004689/10.32, allocations: 3.576 MB / 4.235 GB, free: 39.05 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/10.32, allocations: 4 kB / 4.235 GB, free: 39.05 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007121/10.32, allocations: 171.5 kB / 4.235 GB, free: 38.88 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.116e-05/10.32, allocations: 8 kB / 4.235 GB, free: 38.88 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.258e-05/10.32, allocations: 24 kB / 4.235 GB, free: 38.85 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.666e-06/10.32, allocations: 15.92 kB / 4.235 GB, free: 38.84 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/10.32, allocations: 11.94 kB / 4.235 GB, free: 38.82 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002528/10.33, allocations: 2.72 MB / 4.238 GB, free: 35.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008689/10.33, allocations: 454.3 kB / 4.238 GB, free: 35.44 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002195/10.33, allocations: 32 kB / 4.238 GB, free: 35.41 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/10.33, allocations: 97.52 kB / 4.238 GB, free: 35.32 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001846/10.33, allocations: 101.3 kB / 4.238 GB, free: 35.22 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.986e-05/10.33, allocations: 39.98 kB / 4.238 GB, free: 35.18 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001771/10.33, allocations: 1.383 MB / 4.24 GB, free: 33.77 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.9e-07/10.33, allocations: 0 / 4.24 GB, free: 33.77 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003064/10.33, allocations: 0.9997 MB / 4.241 GB, free: 32.77 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) * 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.006159/10.34, allocations: 6.603 MB / 4.247 GB, free: 26.41 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003035/10.34, allocations: 3.048 MB / 4.25 GB, free: 23.22 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/10.34, allocations: 7.953 kB / 4.25 GB, free: 23.21 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009518/10.34, allocations: 0.988 MB / 4.251 GB, free: 22.19 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004705/10.35, allocations: 0.999 MB / 4.252 GB, free: 21.26 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006628/10.36, allocations: 3.629 MB / 4.256 GB, free: 17.64 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008972/10.36, allocations: 1.567 MB / 4.257 GB, free: 16.06 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002523/10.36, allocations: 0.6648 MB / 4.258 GB, free: 15.47 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007791/10.36, allocations: 0.7375 MB / 4.258 GB, free: 14.73 MB / 0.948 GB Notification: Performance of SimCode: time 8.92e-07/10.36, allocations: 4 kB / 4.258 GB, free: 14.73 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8883/11.25, allocations: 91.35 MB / 4.348 GB, free: 118.7 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001565/11.25, allocations: 206.5 kB / 4.348 GB, free: 118.4 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.573/16.82, allocations: 0 / 4.348 GB, free: 118.4 MB / 0.9636 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe 2>&1)