Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector") translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8183/0.8183, allocations: 143.4 MB / 158.3 MB, free: 5.781 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 177.1 kB / 191.5 MB, free: 5.75 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 223.2 MB / 447.7 MB, free: 4.809 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 88.31 kB / 0.5188 GB, free: 1.168 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003006/0.003006, allocations: 263.9 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000511/0.0005112, allocations: 10.88 kB / 0.6929 GB, free: 59.68 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1721, allocations: 82.79 MB / 0.7737 GB, free: 13.83 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7371/0.9092, allocations: 383.9 MB / 1.149 GB, free: 2.863 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002816/0.9095, allocations: 113.4 kB / 1.149 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.421/2.33, allocations: 369 MB / 1.509 GB, free: 165.4 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.763e-06/2.33, allocations: 0 / 1.509 GB, free: 165.4 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.533e-05/2.331, allocations: 20.66 kB / 1.509 GB, free: 165.4 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.002878/2.333, allocations: 1.653 MB / 1.511 GB, free: 164.5 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/2.333, allocations: 7.188 kB / 1.511 GB, free: 164.5 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002881/2.334, allocations: 133.7 kB / 1.511 GB, free: 164.5 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00205/2.336, allocations: 1.185 MB / 1.512 GB, free: 164.2 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.579e-05/2.336, allocations: 51.75 kB / 1.512 GB, free: 164.2 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/2.336, allocations: 64.91 kB / 1.512 GB, free: 164.2 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001224/2.337, allocations: 0.8022 MB / 1.513 GB, free: 164.1 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/2.337, allocations: 0 / 1.513 GB, free: 164.1 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.762e-05/2.337, allocations: 25.28 kB / 1.513 GB, free: 164.1 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.714e-05/2.337, allocations: 20.94 kB / 1.513 GB, free: 164.1 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009238/2.338, allocations: 0.6159 MB / 1.514 GB, free: 164.1 MB / 0.7136 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.003795/2.342, allocations: 3.115 MB / 1.517 GB, free: 163 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006657/2.343, allocations: 458.2 kB / 1.517 GB, free: 163 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006447/2.343, allocations: 0.7669 MB / 1.518 GB, free: 162.2 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/2.343, allocations: 38 kB / 1.518 GB, free: 162.1 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=37): time 2.425e-06/2.343, allocations: 0 / 1.518 GB, free: 162.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=37): time 0.001592/2.345, allocations: 1.246 MB / 1.519 GB, free: 161.7 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.871e-05/2.345, allocations: 142.6 kB / 1.519 GB, free: 161.5 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/2.346, allocations: 0.9753 MB / 1.52 GB, free: 161.4 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.339e-05/2.346, allocations: 39.8 kB / 1.52 GB, free: 161.3 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003283/2.347, allocations: 484.5 kB / 1.521 GB, free: 161.2 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/2.347, allocations: 117.8 kB / 1.521 GB, free: 161.1 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.858e-05/2.347, allocations: 10.69 kB / 1.521 GB, free: 161.1 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.119e-05/2.347, allocations: 320.4 kB / 1.521 GB, free: 160.8 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000465/2.347, allocations: 344.2 kB / 1.521 GB, free: 160.8 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004947/2.348, allocations: 447.1 kB / 1.522 GB, free: 160.7 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005174/2.348, allocations: 0.5294 MB / 1.522 GB, free: 160.5 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/2.348, allocations: 0 / 1.522 GB, free: 160.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001306/2.35, allocations: 1.08 MB / 1.523 GB, free: 160.3 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002146/2.35, allocations: 0.8794 MB / 1.524 GB, free: 159.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/2.35, allocations: 3.969 kB / 1.524 GB, free: 159.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/2.35, allocations: 6.391 kB / 1.524 GB, free: 159.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000356/2.35, allocations: 86.45 kB / 1.524 GB, free: 159.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/2.35, allocations: 8.797 kB / 1.524 GB, free: 159.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007348/2.351, allocations: 104.4 kB / 1.524 GB, free: 159.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-05/2.351, allocations: 30.61 kB / 1.524 GB, free: 159.3 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.454e-06/2.351, allocations: 3.875 kB / 1.524 GB, free: 159.3 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001289/2.353, allocations: 1.067 MB / 1.526 GB, free: 159.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/2.353, allocations: 3.219 kB / 1.526 GB, free: 159.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.382e-06/2.353, allocations: 6.062 kB / 1.526 GB, free: 159.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003303/2.353, allocations: 90.73 kB / 1.526 GB, free: 159.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/2.353, allocations: 6.156 kB / 1.526 GB, free: 159.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006756/2.354, allocations: 96.03 kB / 1.526 GB, free: 159.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.911e-05/2.354, allocations: 33.78 kB / 1.526 GB, free: 159.1 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 (con.mod.temDif_mod.i,con.mod.watFlo_mod.i,con.mod.airFlo_mod.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 44 * 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.0006414/2.354, allocations: 483.2 kB / 1.526 GB, free: 158.8 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001739/2.355, allocations: 99.91 kB / 1.526 GB, free: 158.7 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001479/2.356, allocations: 0.9274 MB / 1.527 GB, free: 158.6 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.204e-05/2.356, allocations: 3.969 kB / 1.527 GB, free: 158.6 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/2.356, allocations: 2.844 kB / 1.527 GB, free: 158.6 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009813/2.357, allocations: 0.99 MB / 1.528 GB, free: 158.1 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003238/2.36, allocations: 2.104 MB / 1.53 GB, free: 157.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/2.36, allocations: 2.531 kB / 1.53 GB, free: 157.6 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003051/2.361, allocations: 70.31 kB / 1.53 GB, free: 157.6 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.065e-05/2.361, allocations: 7.578 kB / 1.53 GB, free: 157.6 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.238e-05/2.361, allocations: 14.12 kB / 1.53 GB, free: 157.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/2.361, allocations: 3.969 kB / 1.53 GB, free: 157.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/2.361, allocations: 6.75 kB / 1.53 GB, free: 157.6 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001719/2.362, allocations: 1.524 MB / 1.532 GB, free: 157.1 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005346/2.363, allocations: 294.1 kB / 1.532 GB, free: 156.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002261/2.363, allocations: 14.12 kB / 1.532 GB, free: 156.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006622/2.364, allocations: 55.36 kB / 1.532 GB, free: 156.9 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001451/2.364, allocations: 47.98 kB / 1.532 GB, free: 156.9 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.343e-05/2.364, allocations: 24.53 kB / 1.532 GB, free: 156.9 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001217/2.365, allocations: 0.7819 MB / 1.533 GB, free: 156.8 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/2.365, allocations: 0 / 1.533 GB, free: 156.8 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002121/2.367, allocations: 0.5905 MB / 1.534 GB, free: 156.7 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (con.hex.vol.dynBal.U,senTem.T) * Number of discrete variables: 3 (con.mod.temDif_mod.i,con.mod.watFlo_mod.i,con.mod.airFlo_mod.i) * Number of discrete states: 3 (con.mod.watFlo_mod.i,con.mod.temDif_mod.i,con.mod.airFlo_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 3 * 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.001728/2.369, allocations: 0.7468 MB / 1.534 GB, free: 156.5 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002158/2.371, allocations: 1.918 MB / 1.536 GB, free: 155.8 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/2.371, allocations: 3.406 kB / 1.536 GB, free: 155.8 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006126/2.372, allocations: 0.5435 MB / 1.537 GB, free: 155.6 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002429/2.374, allocations: 0.5064 MB / 1.537 GB, free: 155.6 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003517/2.378, allocations: 2.276 MB / 1.539 GB, free: 154.6 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000694/2.379, allocations: 1.097 MB / 1.541 GB, free: 153.9 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001011/2.38, allocations: 206.8 kB / 1.541 GB, free: 153.9 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002219/2.38, allocations: 80.12 kB / 1.541 GB, free: 153.9 MB / 0.7136 GB Notification: Performance of SimCode: time 6.82e-07/2.38, allocations: 0 / 1.541 GB, free: 153.9 MB / 0.7136 GB Notification: Performance of Templates: time 0.03856/2.419, allocations: 25.86 MB / 1.566 GB, free: 152.7 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe 2>&1)