Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.157/2.157, allocations: 390.3 MB / 405.3 MB, free: 13.45 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 177.1 kB / 498.1 MB, free: 5.684 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 223.1 MB / 0.7948 GB, free: 18.91 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009508/0.0009508, allocations: 92.33 kB / 0.9346 GB, free: 7.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004238/0.0004238, allocations: 9.562 kB / 1.084 GB, free: 212.4 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2275/0.228, allocations: 142.4 MB / 1.223 GB, free: 89.5 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.847/4.075, allocations: 2.183 GB / 3.406 GB, free: 269.1 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002418/4.075, allocations: 109.5 kB / 3.406 GB, free: 269 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.558/6.634, allocations: 0.8863 GB / 4.292 GB, free: 233.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.665e-06/6.634, allocations: 2.594 kB / 4.292 GB, free: 233.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002894/6.634, allocations: 56.53 kB / 4.292 GB, free: 233.6 MB / 1.167 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.006818/6.641, allocations: 2.763 MB / 4.295 GB, free: 232.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/6.641, allocations: 11.34 kB / 4.295 GB, free: 232.2 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007839/6.642, allocations: 191.3 kB / 4.295 GB, free: 232 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002252/6.644, allocations: 392.4 kB / 4.295 GB, free: 231.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005079/6.649, allocations: 2.06 MB / 4.297 GB, free: 230.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.894e-05/6.649, allocations: 107.2 kB / 4.297 GB, free: 230.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004108/6.65, allocations: 139.2 kB / 4.297 GB, free: 230.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003071/6.653, allocations: 1.598 MB / 4.299 GB, free: 229.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.739e-05/6.653, allocations: 2.438 kB / 4.299 GB, free: 229.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001546/6.653, allocations: 58 kB / 4.299 GB, free: 229.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.733e-05/6.653, allocations: 51.7 kB / 4.299 GB, free: 229.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002227/6.655, allocations: 1.246 MB / 4.3 GB, free: 229.2 MB / 1.167 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.00969/6.665, allocations: 6.474 MB / 4.307 GB, free: 224.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/6.666, allocations: 0.9218 MB / 4.308 GB, free: 223.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004978/6.667, allocations: 0.6768 MB / 4.308 GB, free: 222.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/6.667, allocations: 55.58 kB / 4.308 GB, free: 222.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=83): time 2.946e-06/6.667, allocations: 0 / 4.308 GB, free: 222.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=85): time 0.006015/6.673, allocations: 3.919 MB / 4.312 GB, free: 220.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.813e-05/6.673, allocations: 201.9 kB / 4.312 GB, free: 220.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002927/6.676, allocations: 1.794 MB / 4.314 GB, free: 219.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001264/6.676, allocations: 45.11 kB / 4.314 GB, free: 219.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006816/6.677, allocations: 0.8769 MB / 4.315 GB, free: 218.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002519/6.677, allocations: 297 kB / 4.315 GB, free: 218.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-05/6.677, allocations: 22.72 kB / 4.315 GB, free: 218.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.778e-05/6.677, allocations: 341.4 kB / 4.316 GB, free: 217.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007651/6.678, allocations: 0.607 MB / 4.316 GB, free: 217.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009084/6.679, allocations: 0.8661 MB / 4.317 GB, free: 216.9 MB / 1.167 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.004011/6.683, allocations: 2.436 MB / 4.319 GB, free: 215.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/6.683, allocations: 3.188 kB / 4.319 GB, free: 215.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002429/6.685, allocations: 1.846 MB / 4.321 GB, free: 214.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003528/6.686, allocations: 1.664 MB / 4.323 GB, free: 212.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/6.686, allocations: 6.984 kB / 4.323 GB, free: 212.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.766e-05/6.686, allocations: 12.94 kB / 4.323 GB, free: 212.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007034/6.686, allocations: 172.7 kB / 4.323 GB, free: 212.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.849e-05/6.686, allocations: 12.84 kB / 4.323 GB, free: 212.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001604/6.688, allocations: 125.2 kB / 4.323 GB, free: 212.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/6.688, allocations: 46.58 kB / 4.323 GB, free: 212.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/6.688, allocations: 9 kB / 4.323 GB, free: 212.5 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002107/6.69, allocations: 1.841 MB / 4.325 GB, free: 211.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/6.69, allocations: 3.5 kB / 4.325 GB, free: 211.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.378e-06/6.69, allocations: 14.47 kB / 4.325 GB, free: 211.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006636/6.691, allocations: 173.8 kB / 4.325 GB, free: 211.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/6.691, allocations: 9.781 kB / 4.325 GB, free: 211.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001568/6.693, allocations: 123.8 kB / 4.325 GB, free: 211.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/6.693, allocations: 58.39 kB / 4.325 GB, free: 211.4 MB / 1.167 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.00111/6.694, allocations: 0.7065 MB / 4.326 GB, free: 210.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004089/6.694, allocations: 191.9 kB / 4.326 GB, free: 210.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002133/6.696, allocations: 1.488 MB / 4.328 GB, free: 209.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/6.696, allocations: 11.72 kB / 4.328 GB, free: 209.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/6.696, allocations: 0 / 4.328 GB, free: 209.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001513/6.698, allocations: 1.555 MB / 4.329 GB, free: 208.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00551/6.703, allocations: 3.634 MB / 4.333 GB, free: 206.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/6.703, allocations: 6.5 kB / 4.333 GB, free: 206.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007206/6.704, allocations: 168.7 kB / 4.333 GB, free: 206.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.32e-05/6.704, allocations: 11.03 kB / 4.333 GB, free: 206.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.961e-05/6.704, allocations: 27.62 kB / 4.333 GB, free: 206.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.008e-05/6.704, allocations: 13.02 kB / 4.333 GB, free: 206.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/6.704, allocations: 10 kB / 4.333 GB, free: 206.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002784/6.707, allocations: 2.775 MB / 4.336 GB, free: 204.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001014/6.708, allocations: 456.4 kB / 4.336 GB, free: 204 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004365/6.709, allocations: 27.52 kB / 4.336 GB, free: 204 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001309/6.71, allocations: 104.9 kB / 4.336 GB, free: 204 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001776/6.71, allocations: 95.78 kB / 4.336 GB, free: 203.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.199e-05/6.71, allocations: 38.58 kB / 4.336 GB, free: 203.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002185/6.712, allocations: 1.416 MB / 4.338 GB, free: 203.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.9e-07/6.712, allocations: 0 / 4.338 GB, free: 203.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003148/6.716, allocations: 0.9966 MB / 4.339 GB, free: 202.9 MB / 1.167 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.medium.Xi[1],vol.dynBal.U,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.006045/6.722, allocations: 6.679 MB / 4.345 GB, free: 198.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003135/6.725, allocations: 3.051 MB / 4.348 GB, free: 196.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/6.725, allocations: 4 kB / 4.348 GB, free: 196.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001008/6.726, allocations: 1.008 MB / 4.349 GB, free: 195.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004393/6.73, allocations: 1.002 MB / 4.35 GB, free: 194.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008803/6.739, allocations: 7.818 MB / 4.358 GB, free: 186.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001162/6.74, allocations: 1.559 MB / 4.359 GB, free: 185.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.00191/6.742, allocations: 436.7 kB / 4.36 GB, free: 184.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009746/6.743, allocations: 0.7726 MB / 4.361 GB, free: 184.2 MB / 1.167 GB Notification: Performance of SimCode: time 9.62e-07/6.743, allocations: 0 / 4.361 GB, free: 184.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1085/6.852, allocations: 82.99 MB / 4.442 GB, free: 104.2 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001522/6.852, allocations: 229.7 kB / 4.442 GB, free: 104 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.356/11.21, allocations: 0 / 4.442 GB, free: 104 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly_res.mat does not exist to compare? outputFormat=mat