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.293/2.293, allocations: 387.1 MB / 399.7 MB, free: 9.477 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.001625/0.001625, allocations: 178.4 kB / 492.3 MB, free: 0.6211 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.673/1.673, allocations: 221.3 MB / 0.7871 GB, free: 12.89 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.001049/0.001049, allocations: 84 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.197e-05/4.217e-05, allocations: 8 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3328, allocations: 142.3 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.157/6.489, allocations: 2.183 GB / 3.395 GB, free: 119.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002544/6.49, allocations: 95.94 kB / 3.395 GB, free: 119.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.598/10.09, allocations: 0.8846 GB / 4.28 GB, free: 102.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.124e-06/10.09, allocations: 0 / 4.28 GB, free: 102.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0004908/10.09, allocations: 55.92 kB / 4.28 GB, free: 102.8 MB / 1.151 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.00861/10.1, allocations: 2.364 MB / 4.282 GB, free: 100.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 7.073e-05/10.1, allocations: 16.02 kB / 4.282 GB, free: 100.4 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001063/10.1, allocations: 194.3 kB / 4.282 GB, free: 100.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003641/10.1, allocations: 383.4 kB / 4.283 GB, free: 99.79 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007726/10.11, allocations: 2.037 MB / 4.285 GB, free: 97.71 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002259/10.11, allocations: 106.6 kB / 4.285 GB, free: 97.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007629/10.11, allocations: 143.9 kB / 4.285 GB, free: 97.46 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005583/10.12, allocations: 1.563 MB / 4.286 GB, free: 95.84 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.442e-05/10.12, allocations: 7.922 kB / 4.286 GB, free: 95.84 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004039/10.12, allocations: 52 kB / 4.286 GB, free: 95.79 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.572e-05/10.12, allocations: 48.91 kB / 4.287 GB, free: 95.74 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003517/10.12, allocations: 1.185 MB / 4.288 GB, free: 94.55 MB / 1.151 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.01449/10.13, allocations: 6.463 MB / 4.294 GB, free: 87.81 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001815/10.14, allocations: 0.8782 MB / 4.295 GB, free: 86.93 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001073/10.14, allocations: 0.6083 MB / 4.295 GB, free: 86.32 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007106/10.14, allocations: 0.6855 MB / 4.296 GB, free: 85.48 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.039e-05/10.14, allocations: 50.56 kB / 4.296 GB, free: 85.43 MB / 1.151 GB Notification: Performance of pre-optimization done (n=83): time 6.001e-06/10.14, allocations: 3.938 kB / 4.296 GB, free: 85.43 MB / 1.151 GB Notification: Performance of matching and sorting (n=85): time 0.008172/10.15, allocations: 3.081 MB / 4.299 GB, free: 82.23 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/10.15, allocations: 196.7 kB / 4.299 GB, free: 82 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005639/10.15, allocations: 1.777 MB / 4.301 GB, free: 80.18 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002949/10.15, allocations: 49.7 kB / 4.301 GB, free: 80.12 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001176/10.15, allocations: 0.8909 MB / 4.302 GB, free: 79.22 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004234/10.15, allocations: 287.8 kB / 4.302 GB, free: 78.94 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/10.15, allocations: 20 kB / 4.302 GB, free: 78.92 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001305/10.16, allocations: 345.2 kB / 4.303 GB, free: 78.58 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001206/10.16, allocations: 0.5799 MB / 4.303 GB, free: 78 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001433/10.16, allocations: 0.8387 MB / 4.304 GB, free: 77.08 MB / 1.151 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.005963/10.16, allocations: 2.374 MB / 4.306 GB, free: 74.63 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/10.16, allocations: 0 / 4.306 GB, free: 74.63 MB / 1.151 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003762/10.17, allocations: 1.792 MB / 4.308 GB, free: 72.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004868/10.17, allocations: 1.659 MB / 4.31 GB, free: 70.95 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.595e-05/10.17, allocations: 4 kB / 4.31 GB, free: 70.95 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.362e-05/10.17, allocations: 8 kB / 4.31 GB, free: 70.94 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/10.17, allocations: 186.2 kB / 4.31 GB, free: 70.76 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.79e-05/10.17, allocations: 8 kB / 4.31 GB, free: 70.75 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002502/10.17, allocations: 133.1 kB / 4.31 GB, free: 70.63 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002211/10.17, allocations: 47.98 kB / 4.31 GB, free: 70.59 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/10.17, allocations: 4 kB / 4.31 GB, free: 70.58 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00313/10.18, allocations: 1.793 MB / 4.312 GB, free: 68.75 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/10.18, allocations: 6.719 kB / 4.312 GB, free: 68.75 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/10.18, allocations: 11.98 kB / 4.312 GB, free: 68.74 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009583/10.18, allocations: 179.7 kB / 4.312 GB, free: 68.56 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.569e-05/10.18, allocations: 8 kB / 4.312 GB, free: 68.55 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002616/10.18, allocations: 124.4 kB / 4.312 GB, free: 68.44 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001932/10.18, allocations: 47.98 kB / 4.312 GB, free: 68.39 MB / 1.151 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.0004688/10.18, allocations: 253.9 kB / 4.312 GB, free: 68.12 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007589/10.18, allocations: 203.3 kB / 4.313 GB, free: 67.92 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003479/10.18, allocations: 1.442 MB / 4.314 GB, free: 66.45 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.558e-05/10.18, allocations: 10.53 kB / 4.314 GB, free: 66.45 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/10.18, allocations: 0 / 4.314 GB, free: 66.45 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002136/10.19, allocations: 1.495 MB / 4.316 GB, free: 64.85 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007358/10.19, allocations: 3.584 MB / 4.319 GB, free: 61.12 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.277e-05/10.19, allocations: 7.953 kB / 4.319 GB, free: 61.12 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007218/10.19, allocations: 159.8 kB / 4.319 GB, free: 60.96 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.659e-05/10.19, allocations: 8 kB / 4.319 GB, free: 60.95 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.728e-05/10.19, allocations: 31.98 kB / 4.319 GB, free: 60.92 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.046e-05/10.19, allocations: 11.94 kB / 4.319 GB, free: 60.91 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/10.19, allocations: 4 kB / 4.319 GB, free: 60.91 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003056/10.2, allocations: 2.705 MB / 4.322 GB, free: 58 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001383/10.2, allocations: 454.5 kB / 4.322 GB, free: 57.53 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000659/10.2, allocations: 31.92 kB / 4.322 GB, free: 57.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001609/10.2, allocations: 99.86 kB / 4.322 GB, free: 57.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002221/10.2, allocations: 100.3 kB / 4.323 GB, free: 57.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001066/10.2, allocations: 43.98 kB / 4.323 GB, free: 57.26 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002907/10.2, allocations: 1.38 MB / 4.324 GB, free: 55.86 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/10.2, allocations: 0 / 4.324 GB, free: 55.86 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004508/10.21, allocations: 1.004 MB / 4.325 GB, free: 54.85 MB / 1.151 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) * 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.008295/10.22, allocations: 6.597 MB / 4.331 GB, free: 47.99 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003805/10.22, allocations: 3.044 MB / 4.334 GB, free: 44.79 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/10.22, allocations: 448 / 4.334 GB, free: 44.79 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001146/10.22, allocations: 0.9853 MB / 4.335 GB, free: 43.77 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006376/10.23, allocations: 0.9889 MB / 4.336 GB, free: 42.79 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01135/10.24, allocations: 3.63 MB / 4.34 GB, free: 39.05 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001752/10.24, allocations: 1.561 MB / 4.341 GB, free: 37.45 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.003684/10.25, allocations: 0.6626 MB / 4.342 GB, free: 36.79 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001121/10.25, allocations: 0.7375 MB / 4.343 GB, free: 36.05 MB / 1.151 GB Notification: Performance of SimCode: time 1.603e-06/10.25, allocations: 3.938 kB / 4.343 GB, free: 36.04 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9998/11.25, allocations: 91.1 MB / 4.432 GB, free: 210 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002013/11.25, allocations: 205.9 kB / 4.432 GB, free: 209.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.924/17.17, allocations: 0 / 4.432 GB, free: 209.8 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