Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.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.CoolingAndHeating,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating",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.132/2.132, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001354/0.001354, allocations: 177.1 kB / 498.1 MB, free: 5.734 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.409/1.409, allocations: 223.2 MB / 0.7948 GB, free: 18.8 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.001047/0.001047, allocations: 98.36 kB / 0.9346 GB, free: 7.152 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003215/0.0003215, allocations: 8.562 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.253, allocations: 142.4 MB / 1.223 GB, free: 89.49 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.907/4.16, allocations: 2.185 GB / 3.407 GB, free: 266.9 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/4.161, allocations: 106.2 kB / 3.408 GB, free: 266.8 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.797/7.958, allocations: 1.254 GB / 4.662 GB, free: 162.3 MB / 1.182 GB Notification: Performance of FrontEnd: time 1.764e-06/7.958, allocations: 0 / 4.662 GB, free: 162.3 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0004841/7.959, allocations: 95.61 kB / 4.662 GB, free: 162.2 MB / 1.182 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 516 * Number of variables: 516 Notification: Performance of Generate backend data structure: time 0.01022/7.969, allocations: 4.31 MB / 4.666 GB, free: 160.3 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/7.969, allocations: 8.906 kB / 4.666 GB, free: 160.3 MB / 1.182 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008758/7.97, allocations: 291.1 kB / 4.666 GB, free: 160.3 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002783/7.973, allocations: 0.5355 MB / 4.667 GB, free: 160.1 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008777/7.981, allocations: 3.431 MB / 4.67 GB, free: 159.5 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001999/7.982, allocations: 162.8 kB / 4.67 GB, free: 159.5 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008328/7.982, allocations: 220.3 kB / 4.671 GB, free: 159.5 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006241/7.989, allocations: 2.591 MB / 4.673 GB, free: 159.2 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-05/7.989, allocations: 2.953 kB / 4.673 GB, free: 159.2 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004195/7.989, allocations: 94.88 kB / 4.673 GB, free: 159.2 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.527e-05/7.989, allocations: 67.14 kB / 4.673 GB, free: 159.2 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003977/7.993, allocations: 2.03 MB / 4.675 GB, free: 159.2 MB / 1.182 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.0155/8.009, allocations: 10.5 MB / 4.686 GB, free: 155.8 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002057/8.011, allocations: 1.535 MB / 4.687 GB, free: 155.7 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007713/8.012, allocations: 1.184 MB / 4.688 GB, free: 154.4 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.994e-05/8.012, allocations: 53.22 kB / 4.688 GB, free: 154.4 MB / 1.182 GB Notification: Performance of pre-optimization done (n=126): time 3.837e-06/8.012, allocations: 0 / 4.688 GB, free: 154.4 MB / 1.182 GB Notification: Performance of matching and sorting (n=134): time 0.01068/8.022, allocations: 6.802 MB / 4.695 GB, free: 152.3 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/8.023, allocations: 341 kB / 4.695 GB, free: 151.9 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005804/8.028, allocations: 3.084 MB / 4.698 GB, free: 151.7 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.000298/8.029, allocations: 62.23 kB / 4.698 GB, free: 151.7 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.00144/8.03, allocations: 1.478 MB / 4.7 GB, free: 151.3 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004317/8.031, allocations: 455.1 kB / 4.7 GB, free: 151 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/8.031, allocations: 30.41 kB / 4.7 GB, free: 151 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001386/8.031, allocations: 369.4 kB / 4.701 GB, free: 150.7 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001477/8.032, allocations: 1.076 MB / 4.702 GB, free: 150.7 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001659/8.034, allocations: 1.52 MB / 4.703 GB, free: 150.3 MB / 1.182 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.006755/8.041, allocations: 4.285 MB / 4.707 GB, free: 149.4 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/8.041, allocations: 5.938 kB / 4.707 GB, free: 149.4 MB / 1.182 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004758/8.046, allocations: 3.325 MB / 4.71 GB, free: 148.8 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006967/8.046, allocations: 2.938 MB / 4.713 GB, free: 145.7 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.998e-05/8.046, allocations: 7.844 kB / 4.713 GB, free: 145.7 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004501/8.047, allocations: 146.5 kB / 4.714 GB, free: 145.7 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/8.048, allocations: 266 kB / 4.714 GB, free: 145.7 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007766/8.049, allocations: 1.289 MB / 4.715 GB, free: 144.7 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002826/8.051, allocations: 204.4 kB / 4.715 GB, free: 144.6 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002374/8.052, allocations: 82.98 kB / 4.715 GB, free: 144.6 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/8.052, allocations: 2.5 kB / 4.715 GB, free: 144.6 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004116/8.056, allocations: 3.414 MB / 4.719 GB, free: 144.2 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/8.056, allocations: 9.094 kB / 4.719 GB, free: 144.2 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004147/8.056, allocations: 147.4 kB / 4.719 GB, free: 144.2 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009783/8.057, allocations: 262.4 kB / 4.719 GB, free: 144.2 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006981/8.058, allocations: 1.295 MB / 4.72 GB, free: 143.2 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002914/8.061, allocations: 198.4 kB / 4.72 GB, free: 143.1 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002013/8.061, allocations: 85.7 kB / 4.721 GB, free: 143.1 MB / 1.182 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: 26 * Number of states: 0 () * Number of discrete variables: 8 (beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i,conCoo.I.trigger_internal,conHea.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (159): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 12 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.002192/8.063, allocations: 1.112 MB / 4.722 GB, free: 142.8 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009088/8.064, allocations: 324.8 kB / 4.722 GB, free: 142.6 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003979/8.068, allocations: 2.546 MB / 4.724 GB, free: 142.3 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.639e-05/8.068, allocations: 15.8 kB / 4.724 GB, free: 142.3 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/8.068, allocations: 0 / 4.724 GB, free: 142.3 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002562/8.071, allocations: 2.302 MB / 4.727 GB, free: 141.8 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0112/8.082, allocations: 5.992 MB / 4.733 GB, free: 141.1 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.749e-05/8.082, allocations: 14.17 kB / 4.733 GB, free: 141.1 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001113/8.083, allocations: 261 kB / 4.733 GB, free: 141.1 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.102e-05/8.083, allocations: 11.19 kB / 4.733 GB, free: 141.1 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001267/8.083, allocations: 41.19 kB / 4.733 GB, free: 141.1 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.35e-05/8.083, allocations: 18.75 kB / 4.733 GB, free: 141.1 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/8.083, allocations: 6.156 kB / 4.733 GB, free: 141.1 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005171/8.089, allocations: 4.693 MB / 4.737 GB, free: 139.6 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002006/8.091, allocations: 0.7103 MB / 4.738 GB, free: 139.3 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009893/8.092, allocations: 42.97 kB / 4.738 GB, free: 139.3 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002286/8.094, allocations: 177.8 kB / 4.738 GB, free: 139.3 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003051/8.094, allocations: 160.5 kB / 4.739 GB, free: 139.3 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001556/8.094, allocations: 56.53 kB / 4.739 GB, free: 139.3 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.004591/8.099, allocations: 2.397 MB / 4.741 GB, free: 139.2 MB / 1.182 GB Notification: Performance of sort global known variables: time 2.01e-07/8.099, allocations: 0 / 4.741 GB, free: 139.2 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.006029/8.105, allocations: 1.503 MB / 4.742 GB, free: 139.1 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 6 (conHea.I.y,vol.dynBal.medium.Xi[1],vol.dynBal.U,conCoo.I.y,beaCooHea.conCoo.hex.vol.dynBal.U,beaCooHea.conHea.hex.vol.dynBal.U) * Number of discrete variables: 6 (beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i) * Number of discrete states: 6 (beaCooHea.conHea.mod.airFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (132): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 4 * 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.009807/8.115, allocations: 9.182 MB / 4.751 GB, free: 135.2 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.006057/8.121, allocations: 5.606 MB / 4.757 GB, free: 133.6 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 9.488e-06/8.121, allocations: 3.875 kB / 4.757 GB, free: 133.6 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.001959/8.123, allocations: 1.911 MB / 4.759 GB, free: 133.2 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007166/8.13, allocations: 1.6 MB / 4.76 GB, free: 133.2 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01541/8.146, allocations: 12.83 MB / 4.773 GB, free: 125.6 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002053/8.148, allocations: 2.148 MB / 4.775 GB, free: 124.9 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.003173/8.151, allocations: 0.6394 MB / 4.776 GB, free: 124.9 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00188/8.153, allocations: 1.363 MB / 4.777 GB, free: 124.9 MB / 1.182 GB Notification: Performance of SimCode: time 1.102e-06/8.153, allocations: 3.562 kB / 4.777 GB, free: 124.9 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.152/8.305, allocations: 125.5 MB / 4.899 GB, free: 81.52 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001489/8.305, allocations: 277.1 kB / 4.9 GB, free: 81.16 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.637/13.94, allocations: 3.438 kB / 4.9 GB, free: 81.16 MB / 1.182 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating_res.mat does not exist to compare? outputFormat=mat