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.8075/0.8075, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 186.8 kB / 187.3 MB, free: 11.88 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.532/1.532, allocations: 221.3 MB / 441.4 MB, free: 4.605 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.001087/0.001087, allocations: 101.9 kB / 0.5124 GB, free: 24.14 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001833/0.001833, allocations: 269.7 kB / 0.5939 GB, free: 7.961 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 5.434e-05/5.448e-05, allocations: 7.938 kB / 0.6835 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5802/0.5803, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.233/1.814, allocations: 383.8 MB / 1.139 GB, free: 6.578 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000373/1.814, allocations: 112.6 kB / 1.139 GB, free: 6.52 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 1.643/3.457, allocations: 367.9 MB / 1.498 GB, free: 156.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.654e-06/3.457, allocations: 0 / 1.498 GB, free: 156.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001032/3.457, allocations: 27.39 kB / 1.498 GB, free: 156.1 MB / 0.698 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.002349/3.459, allocations: 1.44 MB / 1.5 GB, free: 155.4 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/3.459, allocations: 6.844 kB / 1.5 GB, free: 155.4 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000305/3.46, allocations: 131 kB / 1.5 GB, free: 155.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001989/3.462, allocations: 1.167 MB / 1.501 GB, free: 155 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.52e-05/3.462, allocations: 53.59 kB / 1.501 GB, free: 155 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/3.462, allocations: 66.03 kB / 1.501 GB, free: 155 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001196/3.463, allocations: 0.772 MB / 1.502 GB, free: 154.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/3.463, allocations: 0 / 1.502 GB, free: 154.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.497e-05/3.463, allocations: 31.45 kB / 1.502 GB, free: 154.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.767e-05/3.463, allocations: 21.05 kB / 1.502 GB, free: 154.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009295/3.464, allocations: 0.5645 MB / 1.503 GB, free: 154.9 MB / 0.698 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.004224/3.468, allocations: 3.115 MB / 1.506 GB, free: 153.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007528/3.469, allocations: 424.2 kB / 1.506 GB, free: 153.8 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003309/3.469, allocations: 289 kB / 1.506 GB, free: 153.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006328/3.47, allocations: 0.7693 MB / 1.507 GB, free: 153 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/3.47, allocations: 37.31 kB / 1.507 GB, free: 152.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=37): time 4.348e-06/3.47, allocations: 5.625 kB / 1.507 GB, free: 152.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=37): time 0.001301/3.471, allocations: 0.708 MB / 1.508 GB, free: 152.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.445e-05/3.471, allocations: 151.7 kB / 1.508 GB, free: 152.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001291/3.473, allocations: 0.9625 MB / 1.509 GB, free: 152.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.873e-05/3.473, allocations: 38.7 kB / 1.509 GB, free: 152.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003248/3.473, allocations: 479.1 kB / 1.509 GB, free: 152.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.834e-05/3.473, allocations: 125.7 kB / 1.51 GB, free: 152.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-05/3.473, allocations: 9.781 kB / 1.51 GB, free: 152.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.932e-05/3.473, allocations: 331.1 kB / 1.51 GB, free: 151.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003715/3.474, allocations: 319.2 kB / 1.51 GB, free: 151.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004335/3.474, allocations: 425.7 kB / 1.511 GB, free: 151.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004668/3.475, allocations: 0.5159 MB / 1.511 GB, free: 151.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/3.475, allocations: 0 / 1.511 GB, free: 151.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00121/3.476, allocations: 1.035 MB / 1.512 GB, free: 151.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002427/3.476, allocations: 0.8829 MB / 1.513 GB, free: 150.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/3.476, allocations: 0 / 1.513 GB, free: 150.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.436e-05/3.476, allocations: 7.844 kB / 1.513 GB, free: 150.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003474/3.477, allocations: 89.89 kB / 1.513 GB, free: 150.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/3.477, allocations: 8.719 kB / 1.513 GB, free: 150.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007388/3.477, allocations: 102.9 kB / 1.513 GB, free: 150.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.989e-05/3.477, allocations: 26.59 kB / 1.513 GB, free: 150.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.586e-06/3.477, allocations: 7 kB / 1.513 GB, free: 150.4 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001118/3.479, allocations: 1.035 MB / 1.514 GB, free: 150.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/3.479, allocations: 3.281 kB / 1.514 GB, free: 150.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.32e-06/3.479, allocations: 3.969 kB / 1.514 GB, free: 150.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003063/3.479, allocations: 86.98 kB / 1.514 GB, free: 150.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/3.479, allocations: 10.02 kB / 1.514 GB, free: 150.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005939/3.479, allocations: 97.33 kB / 1.514 GB, free: 150.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.431e-05/3.48, allocations: 31.2 kB / 1.514 GB, free: 150.2 MB / 0.698 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 () * 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.0001722/3.48, allocations: 221.7 kB / 1.515 GB, free: 150 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001442/3.48, allocations: 105 kB / 1.515 GB, free: 149.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001229/3.481, allocations: 0.875 MB / 1.516 GB, free: 149.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/3.481, allocations: 7 kB / 1.516 GB, free: 149.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/3.481, allocations: 0 / 1.516 GB, free: 149.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008442/3.482, allocations: 0.9476 MB / 1.517 GB, free: 149.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002727/3.485, allocations: 2.062 MB / 1.519 GB, free: 148.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/3.485, allocations: 6.969 kB / 1.519 GB, free: 148.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002804/3.485, allocations: 69.47 kB / 1.519 GB, free: 148.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.026e-05/3.485, allocations: 7.828 kB / 1.519 GB, free: 148.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.898e-05/3.485, allocations: 14.56 kB / 1.519 GB, free: 148.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/3.485, allocations: 7.062 kB / 1.519 GB, free: 148.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/3.485, allocations: 10.38 kB / 1.519 GB, free: 148.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001584/3.487, allocations: 1.466 MB / 1.52 GB, free: 148.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004992/3.487, allocations: 293.1 kB / 1.52 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001274/3.487, allocations: 21.31 kB / 1.52 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004959/3.488, allocations: 47.78 kB / 1.52 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001582/3.488, allocations: 48.12 kB / 1.52 GB, free: 148.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.804e-05/3.488, allocations: 24.66 kB / 1.52 GB, free: 148.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001068/3.489, allocations: 0.7696 MB / 1.521 GB, free: 148 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.4e-07/3.489, allocations: 0 / 1.521 GB, free: 148 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002214/3.491, allocations: 0.5891 MB / 1.522 GB, free: 147.9 MB / 0.698 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) * 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.001597/3.493, allocations: 0.7379 MB / 1.523 GB, free: 147.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002322/3.495, allocations: 1.884 MB / 1.524 GB, free: 147 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/3.495, allocations: 0 / 1.524 GB, free: 147 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005987/3.496, allocations: 0.5291 MB / 1.525 GB, free: 146.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003222/3.499, allocations: 0.5076 MB / 1.525 GB, free: 146.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003264/3.502, allocations: 1.524 MB / 1.527 GB, free: 146.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006803/3.503, allocations: 1.096 MB / 1.528 GB, free: 145.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001481/3.505, allocations: 317.7 kB / 1.528 GB, free: 145.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/3.505, allocations: 54.69 kB / 1.528 GB, free: 145.6 MB / 0.698 GB Notification: Performance of SimCode: time 2.214e-06/3.505, allocations: 0 / 1.528 GB, free: 145.6 MB / 0.698 GB Notification: Performance of Templates: time 0.04397/3.549, allocations: 28.26 MB / 1.556 GB, free: 144.6 MB / 0.698 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)