Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.396/2.396, allocations: 390.5 MB / 398 MB, free: 10.92 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.001126/0.001125, allocations: 184.8 kB / 491.2 MB, free: 1.539 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.667/1.667, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.001138/0.001138, allocations: 83.97 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.198e-05/2.202e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2941/0.2941, allocations: 143 MB / 1.212 GB, free: 39.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.902/6.196, allocations: 2.185 GB / 3.397 GB, free: 91.73 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003202/6.197, allocations: 91.95 kB / 3.397 GB, free: 91.68 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.867/11.06, allocations: 1.239 GB / 4.636 GB, free: 155.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.617e-06/11.06, allocations: 0 / 4.636 GB, free: 155.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0005641/11.06, allocations: 88.72 kB / 4.636 GB, free: 155.5 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: 481 * Number of variables: 481 Notification: Performance of Generate backend data structure: time 0.009822/11.07, allocations: 3.474 MB / 4.639 GB, free: 153 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/11.07, allocations: 7.406 kB / 4.639 GB, free: 153 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003247/11.08, allocations: 0.5125 MB / 4.64 GB, free: 152.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008212/11.09, allocations: 3.3 MB / 4.643 GB, free: 150.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001308/11.09, allocations: 64.59 kB / 4.643 GB, free: 150.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007484/11.09, allocations: 126.8 kB / 4.643 GB, free: 150.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003947/11.09, allocations: 1.726 MB / 4.645 GB, free: 149.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004727/11.1, allocations: 2.096 MB / 4.647 GB, free: 148.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.363e-05/11.1, allocations: 3.938 kB / 4.647 GB, free: 148.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001882/11.1, allocations: 7.75 kB / 4.647 GB, free: 148.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.56e-05/11.1, allocations: 69.8 kB / 4.647 GB, free: 148.4 MB / 1.167 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.01289/11.11, allocations: 9.403 MB / 4.656 GB, free: 140.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001507/11.11, allocations: 1.276 MB / 4.657 GB, free: 140.3 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009062/11.11, allocations: 0.8888 MB / 4.658 GB, free: 139.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007793/11.11, allocations: 1.178 MB / 4.659 GB, free: 138.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.542e-05/11.11, allocations: 53.36 kB / 4.659 GB, free: 138.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=113): time 3.376e-06/11.11, allocations: 3.062 kB / 4.659 GB, free: 138.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=115): time 0.007397/11.12, allocations: 4.214 MB / 4.664 GB, free: 135.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.038e-05/11.12, allocations: 294.3 kB / 4.664 GB, free: 135.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003272/11.12, allocations: 2.542 MB / 4.666 GB, free: 132.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001596/11.12, allocations: 35.67 kB / 4.666 GB, free: 132.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009507/11.12, allocations: 1.413 MB / 4.668 GB, free: 131.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002743/11.12, allocations: 378.3 kB / 4.668 GB, free: 130.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.493e-05/11.12, allocations: 4 kB / 4.668 GB, free: 130.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.635e-05/11.12, allocations: 362.4 kB / 4.668 GB, free: 130.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001053/11.13, allocations: 0.9717 MB / 4.669 GB, free: 129.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001219/11.13, allocations: 1.377 MB / 4.671 GB, free: 127.9 MB / 1.167 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.004318/11.13, allocations: 2.503 MB / 4.673 GB, free: 125.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/11.13, allocations: 4 kB / 4.673 GB, free: 125.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.003757/11.14, allocations: 2.58 MB / 4.676 GB, free: 122.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006125/11.14, allocations: 2.865 MB / 4.678 GB, free: 119.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/11.14, allocations: 5.875 kB / 4.678 GB, free: 119.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.813e-05/11.14, allocations: 16 kB / 4.678 GB, free: 119.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/11.14, allocations: 251.6 kB / 4.679 GB, free: 119.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003166/11.14, allocations: 0.6197 MB / 4.679 GB, free: 118.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002294/11.14, allocations: 159.3 kB / 4.679 GB, free: 118.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001642/11.14, allocations: 79.97 kB / 4.68 GB, free: 118.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/11.14, allocations: 5.719 kB / 4.68 GB, free: 118.5 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003305/11.14, allocations: 2.499 MB / 4.682 GB, free: 116 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/11.14, allocations: 8 kB / 4.682 GB, free: 116 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/11.14, allocations: 12 kB / 4.682 GB, free: 116 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008994/11.14, allocations: 258.2 kB / 4.682 GB, free: 115.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/11.14, allocations: 19.06 kB / 4.682 GB, free: 115.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002506/11.15, allocations: 150.4 kB / 4.682 GB, free: 115.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001616/11.15, allocations: 71.98 kB / 4.682 GB, free: 115.6 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: 26 * Number of states: 0 () * Number of discrete variables: 7 (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,conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 12 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005163/11.15, allocations: 338.4 kB / 4.683 GB, free: 115.2 MB / 1.167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003066/11.15, allocations: 1.898 MB / 4.685 GB, free: 113.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004062/11.15, allocations: 280.5 kB / 4.685 GB, free: 113 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003488/11.15, allocations: 2.018 MB / 4.687 GB, free: 111 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.775e-05/11.15, allocations: 12 kB / 4.687 GB, free: 111 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/11.15, allocations: 1.969 kB / 4.687 GB, free: 111 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002263/11.16, allocations: 1.852 MB / 4.689 GB, free: 109.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009635/11.17, allocations: 5.046 MB / 4.694 GB, free: 103.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/11.17, allocations: 5.469 kB / 4.694 GB, free: 103.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009486/11.17, allocations: 225.8 kB / 4.694 GB, free: 103.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.458e-05/11.17, allocations: 12 kB / 4.694 GB, free: 103.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.371e-05/11.17, allocations: 20 kB / 4.694 GB, free: 103.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002443/11.17, allocations: 0.6219 MB / 4.695 GB, free: 103 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.386e-06/11.17, allocations: 11.94 kB / 4.695 GB, free: 103 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004254/11.17, allocations: 3.94 MB / 4.698 GB, free: 98.84 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001233/11.17, allocations: 0.6536 MB / 4.699 GB, free: 98.17 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003141/11.17, allocations: 23.98 kB / 4.699 GB, free: 98.14 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001366/11.17, allocations: 129.8 kB / 4.699 GB, free: 98.03 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002441/11.18, allocations: 147.4 kB / 4.699 GB, free: 97.89 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.872e-05/11.18, allocations: 54.62 kB / 4.699 GB, free: 97.84 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002483/11.18, allocations: 1.929 MB / 4.701 GB, free: 95.91 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.5e-07/11.18, allocations: 0.6562 kB / 4.701 GB, free: 95.91 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003679/11.18, allocations: 1.353 MB / 4.703 GB, free: 94.56 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 5 (conPID.I.y,vol.dynBal.medium.Xi[1],vol.dynBal.U,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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (113): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007896/11.19, allocations: 8.675 MB / 4.711 GB, free: 86.12 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00493/11.19, allocations: 5.242 MB / 4.716 GB, free: 80.59 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 9.268e-06/11.19, allocations: 5.719 kB / 4.716 GB, free: 80.58 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001729/11.2, allocations: 1.79 MB / 4.718 GB, free: 78.71 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006324/11.2, allocations: 1.358 MB / 4.719 GB, free: 77.49 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01019/11.21, allocations: 5.477 MB / 4.725 GB, free: 72.06 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001694/11.21, allocations: 2.075 MB / 4.727 GB, free: 69.98 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.004323/11.22, allocations: 0.9584 MB / 4.728 GB, free: 69.14 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001438/11.22, allocations: 1.202 MB / 4.729 GB, free: 67.94 MB / 1.167 GB Notification: Performance of SimCode: time 1.763e-06/11.22, allocations: 4 kB / 4.729 GB, free: 67.94 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1602/11.38, allocations: 98.33 MB / 4.825 GB, free: 3.125 MB / 1.198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002388/11.38, allocations: 187.6 kB / 4.825 GB, free: 2.934 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.645/17.03, allocations: 4 kB / 4.825 GB, free: 2.93 MB / 1.198 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly_res.mat does not exist to compare? outputFormat=mat