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.416/2.416, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001368/0.001368, allocations: 187.4 kB / 0.4901 GB, free: 2.215 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.644/1.644, allocations: 223.1 MB / 0.7992 GB, free: 15.67 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.0009315/0.0009315, allocations: 111.8 kB / 0.9396 GB, free: 2.852 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003608/0.000361, allocations: 10.77 kB / 1.09 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.3114, allocations: 143 MB / 1.229 GB, free: 85.38 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.415/5.726, allocations: 2.185 GB / 3.415 GB, free: 245.6 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/5.726, allocations: 103.9 kB / 3.415 GB, free: 245.5 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 4.516/10.24, allocations: 1.25 GB / 4.665 GB, free: 161.7 MB / 1.182 GB Notification: Performance of FrontEnd: time 4.058e-06/10.24, allocations: 2.125 kB / 4.665 GB, free: 161.7 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0004724/10.24, allocations: 84.5 kB / 4.665 GB, free: 161.7 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: 481 * Number of variables: 481 Notification: Performance of Generate backend data structure: time 0.01164/10.25, allocations: 4.136 MB / 4.669 GB, free: 159.8 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/10.25, allocations: 10.38 kB / 4.669 GB, free: 159.8 MB / 1.182 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001049/10.26, allocations: 274.7 kB / 4.669 GB, free: 159.7 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002702/10.26, allocations: 0.5103 MB / 4.67 GB, free: 159.5 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007535/10.27, allocations: 3.316 MB / 4.673 GB, free: 159 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001314/10.27, allocations: 154.7 kB / 4.673 GB, free: 158.9 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004217/10.27, allocations: 219.3 kB / 4.674 GB, free: 158.9 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004206/10.27, allocations: 2.409 MB / 4.676 GB, free: 158.7 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.429e-05/10.27, allocations: 6.156 kB / 4.676 GB, free: 158.7 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002107/10.27, allocations: 82.66 kB / 4.676 GB, free: 158.7 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.13e-05/10.27, allocations: 70.16 kB / 4.676 GB, free: 158.7 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003279/10.27, allocations: 1.907 MB / 4.678 GB, free: 158.7 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.01388/10.29, allocations: 9.826 MB / 4.688 GB, free: 155.7 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001782/10.29, allocations: 1.366 MB / 4.689 GB, free: 155.7 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007593/10.29, allocations: 1.18 MB / 4.69 GB, free: 154.3 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.868e-05/10.29, allocations: 47.97 kB / 4.69 GB, free: 154.3 MB / 1.182 GB Notification: Performance of pre-optimization done (n=113): time 3.566e-06/10.29, allocations: 3.875 kB / 4.69 GB, free: 154.3 MB / 1.182 GB Notification: Performance of matching and sorting (n=115): time 0.009487/10.3, allocations: 6.216 MB / 4.696 GB, free: 152.3 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/10.3, allocations: 284.4 kB / 4.696 GB, free: 151.9 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005045/10.31, allocations: 3.014 MB / 4.699 GB, free: 151.7 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0003995/10.31, allocations: 58.7 kB / 4.699 GB, free: 151.7 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.001083/10.31, allocations: 1.403 MB / 4.701 GB, free: 151.3 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.000428/10.31, allocations: 392.7 kB / 4.701 GB, free: 151.1 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.47e-05/10.31, allocations: 29.28 kB / 4.701 GB, free: 151.1 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 9.854e-05/10.31, allocations: 365.1 kB / 4.702 GB, free: 150.8 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001336/10.31, allocations: 1.021 MB / 4.703 GB, free: 150.8 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001442/10.31, allocations: 1.433 MB / 4.704 GB, free: 150.4 MB / 1.182 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.004855/10.32, allocations: 2.962 MB / 4.707 GB, free: 149.6 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/10.32, allocations: 0 / 4.707 GB, free: 149.6 MB / 1.182 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004461/10.32, allocations: 3.084 MB / 4.71 GB, free: 149 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006992/10.32, allocations: 2.913 MB / 4.713 GB, free: 146 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/10.32, allocations: 7.875 kB / 4.713 GB, free: 146 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.112e-05/10.32, allocations: 11.31 kB / 4.713 GB, free: 146 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/10.32, allocations: 261.7 kB / 4.713 GB, free: 146 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003619/10.32, allocations: 0.6198 MB / 4.714 GB, free: 145.4 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002864/10.32, allocations: 186 kB / 4.714 GB, free: 145.4 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002182/10.33, allocations: 78.34 kB / 4.714 GB, free: 145.4 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/10.33, allocations: 3.781 kB / 4.714 GB, free: 145.4 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003789/10.33, allocations: 3.184 MB / 4.717 GB, free: 145 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/10.33, allocations: 3.656 kB / 4.717 GB, free: 145 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/10.33, allocations: 15.69 kB / 4.717 GB, free: 145 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009278/10.33, allocations: 248 kB / 4.717 GB, free: 145 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.597e-05/10.33, allocations: 17.53 kB / 4.717 GB, free: 145 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002757/10.33, allocations: 186.6 kB / 4.717 GB, free: 145 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000162/10.33, allocations: 76.89 kB / 4.717 GB, free: 145 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: 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 () * Number of clocked 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.002333/10.34, allocations: 1.094 MB / 4.719 GB, free: 144.6 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008754/10.34, allocations: 310.9 kB / 4.719 GB, free: 144.4 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003473/10.34, allocations: 2.359 MB / 4.721 GB, free: 144.1 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.402e-05/10.34, allocations: 12.22 kB / 4.721 GB, free: 144.1 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/10.34, allocations: 4.672 kB / 4.721 GB, free: 144.1 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00215/10.34, allocations: 2.145 MB / 4.723 GB, free: 143.7 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008907/10.35, allocations: 5.618 MB / 4.729 GB, free: 142.9 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.918e-06/10.35, allocations: 3.75 kB / 4.729 GB, free: 142.9 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/10.35, allocations: 221.8 kB / 4.729 GB, free: 142.9 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.418e-05/10.35, allocations: 9.938 kB / 4.729 GB, free: 142.9 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.695e-05/10.35, allocations: 39.91 kB / 4.729 GB, free: 142.9 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002384/10.35, allocations: 0.6116 MB / 4.73 GB, free: 142.3 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/10.35, allocations: 13.92 kB / 4.73 GB, free: 142.3 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004938/10.36, allocations: 4.417 MB / 4.734 GB, free: 140.8 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002566/10.36, allocations: 0.6847 MB / 4.735 GB, free: 140.6 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007269/10.36, allocations: 37.59 kB / 4.735 GB, free: 140.6 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001766/10.36, allocations: 150.5 kB / 4.735 GB, free: 140.6 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003063/10.36, allocations: 157.4 kB / 4.735 GB, free: 140.6 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001155/10.36, allocations: 57.89 kB / 4.735 GB, free: 140.6 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.004043/10.37, allocations: 2.343 MB / 4.737 GB, free: 140.4 MB / 1.182 GB Notification: Performance of sort global known variables: time 5.51e-07/10.37, allocations: 0 / 4.737 GB, free: 140.4 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.005705/10.37, allocations: 1.468 MB / 4.739 GB, free: 140.4 MB / 1.182 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) * Number of clocked states: 0 () * 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.009553/10.38, allocations: 8.967 MB / 4.747 GB, free: 136.3 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.006061/10.39, allocations: 5.348 MB / 4.753 GB, free: 134.8 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.119e-05/10.39, allocations: 3.875 kB / 4.753 GB, free: 134.8 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.002043/10.39, allocations: 1.851 MB / 4.754 GB, free: 134.4 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007792/10.4, allocations: 1.589 MB / 4.756 GB, free: 134.4 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01815/10.42, allocations: 12.22 MB / 4.768 GB, free: 127.1 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003186/10.42, allocations: 2.076 MB / 4.77 GB, free: 126.3 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.004873/10.42, allocations: 0.6324 MB / 4.771 GB, free: 126.3 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003076/10.43, allocations: 1.264 MB / 4.772 GB, free: 126.3 MB / 1.182 GB Notification: Performance of SimCode: time 2.114e-06/10.43, allocations: 3.906 kB / 4.772 GB, free: 126.3 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1776/10.61, allocations: 121.4 MB / 4.89 GB, free: 75.52 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001785/10.61, allocations: 266.6 kB / 4.891 GB, free: 75.16 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.964/16.57, allocations: 0 / 4.891 GB, free: 75.16 MB / 1.182 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