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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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.7716/0.7716, allocations: 140.1 MB / 156 MB, free: 5.148 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001104/0.001104, allocations: 183.4 kB / 188.5 MB, free: 15.81 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.618/1.618, allocations: 205.4 MB / 426.3 MB, free: 8.465 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009096/0.0009098, allocations: 90.28 kB / 0.4945 GB, free: 8.406 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001774/0.001774, allocations: 262.5 kB / 0.5728 GB, free: 66.21 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000582/0.0005819, allocations: 16 kB / 0.662 GB, free: 6.777 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3839/0.3846, allocations: 79.3 MB / 0.7395 GB, free: 46.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7212/1.106, allocations: 381.9 MB / 1.112 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003397/1.106, allocations: 107.6 kB / 1.113 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.398/2.504, allocations: 357.3 MB / 1.461 GB, free: 149.1 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.275e-06/2.504, allocations: 2.781 kB / 1.461 GB, free: 149.1 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001594/2.505, allocations: 28.55 kB / 1.461 GB, free: 149.1 MB / 0.6667 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.0037/2.508, allocations: 1.626 MB / 1.463 GB, free: 148.2 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/2.508, allocations: 13.97 kB / 1.463 GB, free: 148.2 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005293/2.509, allocations: 131.9 kB / 1.463 GB, free: 148.1 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00246/2.511, allocations: 1.198 MB / 1.464 GB, free: 147.8 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.93e-05/2.511, allocations: 56.72 kB / 1.464 GB, free: 147.8 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001688/2.512, allocations: 69.11 kB / 1.465 GB, free: 147.8 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001403/2.513, allocations: 0.7976 MB / 1.465 GB, free: 147.7 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.762e-05/2.513, allocations: 9.938 kB / 1.465 GB, free: 147.7 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.905e-05/2.513, allocations: 28.09 kB / 1.465 GB, free: 147.7 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.809e-05/2.513, allocations: 22.83 kB / 1.465 GB, free: 147.7 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001097/2.514, allocations: 0.6127 MB / 1.466 GB, free: 147.7 MB / 0.6667 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.004151/2.518, allocations: 3.094 MB / 1.469 GB, free: 146.6 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006143/2.519, allocations: 441.4 kB / 1.469 GB, free: 146.6 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004082/2.519, allocations: 310.7 kB / 1.47 GB, free: 146.6 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006062/2.52, allocations: 0.7662 MB / 1.47 GB, free: 145.7 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/2.52, allocations: 38.47 kB / 1.47 GB, free: 145.7 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=37): time 3.306e-06/2.52, allocations: 0 / 1.47 GB, free: 145.7 MB / 0.6667 GB Notification: Performance of matching and sorting (n=37): time 0.001529/2.522, allocations: 1.016 MB / 1.471 GB, free: 145.5 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/2.522, allocations: 139 kB / 1.472 GB, free: 145.4 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001462/2.523, allocations: 1.069 MB / 1.473 GB, free: 145.2 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.129e-05/2.523, allocations: 33.11 kB / 1.473 GB, free: 145.2 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003321/2.524, allocations: 481.5 kB / 1.473 GB, free: 145 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/2.524, allocations: 131.9 kB / 1.473 GB, free: 144.9 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.018e-05/2.524, allocations: 16.22 kB / 1.473 GB, free: 144.9 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 6.279e-05/2.524, allocations: 324.6 kB / 1.474 GB, free: 144.6 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004506/2.524, allocations: 336.7 kB / 1.474 GB, free: 144.6 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005134/2.525, allocations: 450.4 kB / 1.474 GB, free: 144.5 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009489/2.526, allocations: 0.9565 MB / 1.475 GB, free: 144.2 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/2.526, allocations: 0 / 1.475 GB, free: 144.2 MB / 0.6667 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001385/2.527, allocations: 1.08 MB / 1.476 GB, free: 143.9 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.000133/2.527, allocations: 330.5 kB / 1.477 GB, free: 143.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/2.527, allocations: 0 / 1.477 GB, free: 143.6 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/2.527, allocations: 6.438 kB / 1.477 GB, free: 143.6 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003101/2.528, allocations: 89.19 kB / 1.477 GB, free: 143.6 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/2.528, allocations: 3.906 kB / 1.477 GB, free: 143.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007137/2.528, allocations: 100.1 kB / 1.477 GB, free: 143.5 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-05/2.529, allocations: 26.7 kB / 1.477 GB, free: 143.5 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 8.075e-06/2.529, allocations: 3.312 kB / 1.477 GB, free: 143.5 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00123/2.53, allocations: 1.078 MB / 1.478 GB, free: 143.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/2.53, allocations: 3.312 kB / 1.478 GB, free: 143.3 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.332e-06/2.53, allocations: 8.281 kB / 1.478 GB, free: 143.3 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003065/2.53, allocations: 85.17 kB / 1.478 GB, free: 143.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/2.53, allocations: 10.75 kB / 1.478 GB, free: 143.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000663/2.531, allocations: 93.47 kB / 1.478 GB, free: 143.3 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.427e-05/2.531, allocations: 31.12 kB / 1.478 GB, free: 143.3 MB / 0.6667 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.0005429/2.531, allocations: 475.2 kB / 1.479 GB, free: 143 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001706/2.532, allocations: 99.78 kB / 1.479 GB, free: 143 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001273/2.533, allocations: 0.909 MB / 1.48 GB, free: 142.8 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/2.533, allocations: 11.47 kB / 1.48 GB, free: 142.8 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/2.533, allocations: 0 / 1.48 GB, free: 142.8 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009243/2.534, allocations: 0.9933 MB / 1.481 GB, free: 142.4 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002861/2.537, allocations: 2.093 MB / 1.483 GB, free: 141.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/2.537, allocations: 2.25 kB / 1.483 GB, free: 141.8 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002771/2.537, allocations: 78.02 kB / 1.483 GB, free: 141.8 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/2.537, allocations: 3.969 kB / 1.483 GB, free: 141.8 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.761e-05/2.537, allocations: 14.81 kB / 1.483 GB, free: 141.8 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/2.537, allocations: 3.906 kB / 1.483 GB, free: 141.8 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/2.537, allocations: 2.812 kB / 1.483 GB, free: 141.8 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00163/2.539, allocations: 1.423 MB / 1.484 GB, free: 141.4 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004406/2.539, allocations: 282.8 kB / 1.484 GB, free: 141.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001728/2.539, allocations: 19.02 kB / 1.484 GB, free: 141.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005357/2.54, allocations: 52.45 kB / 1.484 GB, free: 141.3 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/2.54, allocations: 60.92 kB / 1.484 GB, free: 141.3 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-05/2.54, allocations: 18.12 kB / 1.484 GB, free: 141.3 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001014/2.541, allocations: 0.7577 MB / 1.485 GB, free: 141.2 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.6e-07/2.541, allocations: 2.375 kB / 1.485 GB, free: 141.2 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001755/2.543, allocations: 0.5659 MB / 1.486 GB, free: 141.1 MB / 0.6667 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.001494/2.544, allocations: 0.7333 MB / 1.487 GB, free: 140.9 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.00205/2.547, allocations: 1.925 MB / 1.488 GB, free: 140.1 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/2.547, allocations: 0 / 1.488 GB, free: 140.1 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.000577/2.547, allocations: 0.5536 MB / 1.489 GB, free: 139.9 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00263/2.55, allocations: 0.5172 MB / 1.489 GB, free: 139.9 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00318/2.553, allocations: 2.282 MB / 1.492 GB, free: 139 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000602/2.554, allocations: 1.068 MB / 1.493 GB, free: 138.3 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0009445/2.555, allocations: 209.1 kB / 1.493 GB, free: 138.3 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002142/2.555, allocations: 84.86 kB / 1.493 GB, free: 138.3 MB / 0.6667 GB Notification: Performance of SimCode: time 1.182e-06/2.555, allocations: 0 / 1.493 GB, free: 138.3 MB / 0.6667 GB Notification: Performance of Templates: time 0.04213/2.597, allocations: 26 MB / 1.518 GB, free: 136.8 MB / 0.6667 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)