Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.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.HeatingOnly,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.181/2.181, allocations: 387.4 MB / 394.9 MB, free: 13.4 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.001103/0.001103, allocations: 184.1 kB / 487.4 MB, free: 5.023 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.621/1.621, allocations: 221.5 MB / 0.7824 GB, free: 0.9531 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 107 kB / 0.9219 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.446e-05/2.448e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2955, allocations: 142.4 MB / 1.206 GB, free: 43.83 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.087/6.382, allocations: 2.184 GB / 3.39 GB, free: 139.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002808/6.383, allocations: 100.9 kB / 3.39 GB, free: 139.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.798/11.18, allocations: 1.239 GB / 4.629 GB, free: 176.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.655e-06/11.18, allocations: 0 / 4.629 GB, free: 176.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000632/11.18, allocations: 83.77 kB / 4.629 GB, free: 176.3 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.01176/11.19, allocations: 3.475 MB / 4.632 GB, free: 174.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.873e-05/11.19, allocations: 9.75 kB / 4.632 GB, free: 174.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004162/11.2, allocations: 0.5059 MB / 4.633 GB, free: 174.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01122/11.21, allocations: 3.305 MB / 4.636 GB, free: 173.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001131/11.21, allocations: 60.78 kB / 4.636 GB, free: 173.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000663/11.21, allocations: 123 kB / 4.636 GB, free: 173.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005201/11.21, allocations: 1.729 MB / 4.638 GB, free: 173.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005436/11.22, allocations: 2.098 MB / 4.64 GB, free: 172.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-05/11.22, allocations: 3.906 kB / 4.64 GB, free: 172.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002339/11.22, allocations: 8 kB / 4.64 GB, free: 172.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001042/11.22, allocations: 68.2 kB / 4.64 GB, free: 172.5 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.01953/11.24, allocations: 9.404 MB / 4.649 GB, free: 166.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002436/11.24, allocations: 1.274 MB / 4.65 GB, free: 166.2 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001502/11.24, allocations: 0.9018 MB / 4.651 GB, free: 165.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001067/11.25, allocations: 1.177 MB / 4.652 GB, free: 164.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.6e-05/11.25, allocations: 46.28 kB / 4.652 GB, free: 164.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=113): time 5.16e-06/11.25, allocations: 2.188 kB / 4.652 GB, free: 164.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=115): time 0.01155/11.26, allocations: 4.217 MB / 4.656 GB, free: 162.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/11.26, allocations: 289 kB / 4.657 GB, free: 162.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004288/11.26, allocations: 2.542 MB / 4.659 GB, free: 161.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003304/11.26, allocations: 31.64 kB / 4.659 GB, free: 161 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001028/11.26, allocations: 1.416 MB / 4.661 GB, free: 159.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003867/11.26, allocations: 383.5 kB / 4.661 GB, free: 159.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.187e-05/11.26, allocations: 3.75 kB / 4.661 GB, free: 159.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001013/11.26, allocations: 365.6 kB / 4.661 GB, free: 159.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001104/11.26, allocations: 0.9672 MB / 4.662 GB, free: 158.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001358/11.27, allocations: 1.365 MB / 4.664 GB, free: 158.1 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.004383/11.27, allocations: 2.512 MB / 4.666 GB, free: 157 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/11.27, allocations: 3.094 kB / 4.666 GB, free: 157 MB / 1.167 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004118/11.27, allocations: 2.569 MB / 4.668 GB, free: 155.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007198/11.28, allocations: 2.87 MB / 4.671 GB, free: 152.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/11.28, allocations: 7.156 kB / 4.671 GB, free: 152.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.65e-05/11.28, allocations: 11.72 kB / 4.671 GB, free: 152.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/11.28, allocations: 259 kB / 4.672 GB, free: 152.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003517/11.28, allocations: 0.6244 MB / 4.672 GB, free: 152.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002657/11.28, allocations: 148.3 kB / 4.672 GB, free: 152.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002029/11.28, allocations: 79.53 kB / 4.672 GB, free: 152.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/11.28, allocations: 5.656 kB / 4.672 GB, free: 152.3 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003505/11.28, allocations: 2.515 MB / 4.675 GB, free: 151.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/11.28, allocations: 3.406 kB / 4.675 GB, free: 151.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/11.28, allocations: 12.53 kB / 4.675 GB, free: 151.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008985/11.28, allocations: 250.5 kB / 4.675 GB, free: 151.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/11.28, allocations: 13.28 kB / 4.675 GB, free: 151.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0028/11.29, allocations: 151.8 kB / 4.675 GB, free: 151.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001756/11.29, allocations: 77.95 kB / 4.675 GB, free: 151.3 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.0005479/11.29, allocations: 334.2 kB / 4.676 GB, free: 151 MB / 1.167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003561/11.29, allocations: 1.906 MB / 4.678 GB, free: 150.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006738/11.29, allocations: 277.6 kB / 4.678 GB, free: 150.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003481/11.3, allocations: 2.017 MB / 4.68 GB, free: 149.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.698e-05/11.3, allocations: 17.23 kB / 4.68 GB, free: 149.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/11.3, allocations: 6.344 kB / 4.68 GB, free: 149.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002188/11.3, allocations: 1.845 MB / 4.682 GB, free: 148.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009217/11.31, allocations: 5.049 MB / 4.686 GB, free: 146 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/11.31, allocations: 10.09 kB / 4.687 GB, free: 146 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009444/11.31, allocations: 220.9 kB / 4.687 GB, free: 146 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.685e-05/11.31, allocations: 13.03 kB / 4.687 GB, free: 146 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.76e-05/11.31, allocations: 26.06 kB / 4.687 GB, free: 146 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002432/11.31, allocations: 0.6155 MB / 4.687 GB, free: 145.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.313e-06/11.31, allocations: 7.344 kB / 4.687 GB, free: 145.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00468/11.31, allocations: 3.946 MB / 4.691 GB, free: 143 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001735/11.31, allocations: 0.6403 MB / 4.692 GB, free: 142.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004751/11.32, allocations: 24.14 kB / 4.692 GB, free: 142.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001504/11.32, allocations: 131.5 kB / 4.692 GB, free: 142.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002914/11.32, allocations: 155.2 kB / 4.692 GB, free: 142.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001172/11.32, allocations: 61.61 kB / 4.692 GB, free: 142.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.003066/11.32, allocations: 1.921 MB / 4.694 GB, free: 141.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.6e-07/11.32, allocations: 0 / 4.694 GB, free: 141.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.004691/11.32, allocations: 1.346 MB / 4.695 GB, free: 141.2 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.008615/11.33, allocations: 8.672 MB / 4.704 GB, free: 134.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.005469/11.34, allocations: 5.253 MB / 4.709 GB, free: 128.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.388e-05/11.34, allocations: 1.844 kB / 4.709 GB, free: 128.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001896/11.34, allocations: 1.787 MB / 4.711 GB, free: 127 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007244/11.35, allocations: 1.365 MB / 4.712 GB, free: 125.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01242/11.36, allocations: 5.477 MB / 4.717 GB, free: 120.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001569/11.36, allocations: 2.08 MB / 4.719 GB, free: 118.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.004023/11.37, allocations: 0.9522 MB / 4.72 GB, free: 117.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001356/11.37, allocations: 1.202 MB / 4.722 GB, free: 116.2 MB / 1.167 GB Notification: Performance of SimCode: time 9.92e-07/11.37, allocations: 0 / 4.722 GB, free: 116.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1539/11.52, allocations: 98.33 MB / 4.818 GB, free: 19.82 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002231/11.52, allocations: 193.6 kB / 4.818 GB, free: 19.62 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.666/17.19, allocations: 0 / 4.818 GB, free: 19.62 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly_res.mat does not exist to compare? outputFormat=mat