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.8379/0.8379, allocations: 141.8 MB / 149.3 MB, free: 9.203 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.001074/0.001073, allocations: 180.8 kB / 182.2 MB, free: 9.457 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.707/1.707, allocations: 221.5 MB / 436.4 MB, free: 13.32 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.0008711/0.0008711, allocations: 96.03 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001694/0.001694, allocations: 272.5 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.472e-05/2.446e-05, allocations: 4 kB / 0.6766 GB, free: 12.8 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5887/0.5888, allocations: 82.77 MB / 0.7574 GB, free: 31.99 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9762/1.565, allocations: 383.2 MB / 1.132 GB, free: 14.33 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003408/1.565, allocations: 106.9 kB / 1.132 GB, free: 14.28 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.769/3.335, allocations: 366.1 MB / 1.489 GB, free: 159.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.505e-06/3.335, allocations: 0 / 1.489 GB, free: 159.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001015/3.335, allocations: 28.95 kB / 1.489 GB, free: 159.9 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.002546/3.337, allocations: 1.438 MB / 1.491 GB, free: 159.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/3.337, allocations: 11.78 kB / 1.491 GB, free: 159.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003392/3.338, allocations: 128.9 kB / 1.491 GB, free: 159.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002207/3.34, allocations: 1.171 MB / 1.492 GB, free: 158.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.117e-05/3.34, allocations: 20.94 kB / 1.492 GB, free: 158.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.322e-05/3.34, allocations: 48.59 kB / 1.492 GB, free: 158.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009451/3.341, allocations: 0.5311 MB / 1.492 GB, free: 158.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/3.342, allocations: 0.6846 MB / 1.493 GB, free: 158.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/3.342, allocations: 0 / 1.493 GB, free: 158.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.777e-05/3.342, allocations: 3.938 kB / 1.493 GB, free: 158.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.601e-05/3.342, allocations: 19.34 kB / 1.493 GB, free: 158.8 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.003938/3.346, allocations: 2.961 MB / 1.496 GB, free: 157.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00056/3.347, allocations: 409.8 kB / 1.496 GB, free: 157.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003586/3.347, allocations: 273 kB / 1.497 GB, free: 157.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007817/3.348, allocations: 0.7675 MB / 1.497 GB, free: 156.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/3.348, allocations: 34.59 kB / 1.497 GB, free: 156.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=37): time 3.276e-06/3.348, allocations: 0 / 1.497 GB, free: 156.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=37): time 0.001491/3.349, allocations: 0.6362 MB / 1.498 GB, free: 156.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001246/3.35, allocations: 139.8 kB / 1.498 GB, free: 156.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001234/3.351, allocations: 0.8032 MB / 1.499 GB, free: 156.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.97e-05/3.351, allocations: 32.92 kB / 1.499 GB, free: 156.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003918/3.351, allocations: 488.7 kB / 1.5 GB, free: 156.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/3.351, allocations: 122.1 kB / 1.5 GB, free: 156.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.76e-05/3.351, allocations: 3.938 kB / 1.5 GB, free: 156.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001221/3.352, allocations: 327.7 kB / 1.5 GB, free: 155.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003804/3.352, allocations: 308.3 kB / 1.5 GB, free: 155.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005172/3.352, allocations: 419.5 kB / 1.501 GB, free: 155.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008182/3.353, allocations: 379.2 kB / 1.501 GB, free: 155.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.403e-06/3.353, allocations: 3.938 kB / 1.501 GB, free: 155.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00148/3.355, allocations: 0.8638 MB / 1.502 GB, free: 155.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003777/3.355, allocations: 0.8799 MB / 1.503 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/3.355, allocations: 0 / 1.503 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.857e-05/3.355, allocations: 6.234 kB / 1.503 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000359/3.356, allocations: 93.36 kB / 1.503 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.965e-05/3.356, allocations: 6.906 kB / 1.503 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007547/3.356, allocations: 76.05 kB / 1.503 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.409e-05/3.357, allocations: 31.31 kB / 1.503 GB, free: 154.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.387e-06/3.357, allocations: 3.125 kB / 1.503 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001372/3.358, allocations: 0.8308 MB / 1.504 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/3.358, allocations: 3.875 kB / 1.504 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.021e-06/3.358, allocations: 3.875 kB / 1.504 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003213/3.358, allocations: 94.67 kB / 1.504 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/3.358, allocations: 7.25 kB / 1.504 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005148/3.359, allocations: 69.59 kB / 1.504 GB, free: 154.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.733e-05/3.359, allocations: 25.83 kB / 1.504 GB, free: 154.7 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.0002351/3.359, allocations: 216.4 kB / 1.504 GB, free: 154.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/3.359, allocations: 86.47 kB / 1.504 GB, free: 154.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001494/3.361, allocations: 0.773 MB / 1.505 GB, free: 154.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.386e-05/3.361, allocations: 6.938 kB / 1.505 GB, free: 154.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/3.361, allocations: 3.719 kB / 1.505 GB, free: 154.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001024/3.362, allocations: 0.8629 MB / 1.506 GB, free: 154.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002754/3.365, allocations: 1.873 MB / 1.508 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/3.365, allocations: 2.781 kB / 1.508 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000285/3.365, allocations: 65.44 kB / 1.508 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/3.365, allocations: 3.25 kB / 1.508 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.844e-05/3.365, allocations: 13.73 kB / 1.508 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.817e-06/3.365, allocations: 13.84 kB / 1.508 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/3.365, allocations: 7.375 kB / 1.508 GB, free: 153.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001658/3.367, allocations: 1.345 MB / 1.509 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000349/3.367, allocations: 274 kB / 1.509 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001223/3.367, allocations: 8.5 kB / 1.509 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004733/3.368, allocations: 53.73 kB / 1.509 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/3.368, allocations: 40.28 kB / 1.509 GB, free: 153.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.416e-05/3.368, allocations: 24.02 kB / 1.509 GB, free: 153.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008396/3.369, allocations: 0.6185 MB / 1.51 GB, free: 153 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.11e-07/3.369, allocations: 3.031 kB / 1.51 GB, free: 153 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001857/3.371, allocations: 0.5798 MB / 1.511 GB, free: 152.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.001486/3.372, allocations: 0.7234 MB / 1.511 GB, free: 152.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001859/3.374, allocations: 1.851 MB / 1.513 GB, free: 151.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/3.374, allocations: 0 / 1.513 GB, free: 151.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000516/3.374, allocations: 0.5113 MB / 1.514 GB, free: 151.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001955/3.376, allocations: 413.7 kB / 1.514 GB, free: 151.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002884/3.379, allocations: 1.461 MB / 1.515 GB, free: 151.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006918/3.38, allocations: 1.09 MB / 1.517 GB, free: 150.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001251/3.381, allocations: 291.3 kB / 1.517 GB, free: 150.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/3.381, allocations: 54.08 kB / 1.517 GB, free: 150.6 MB / 0.698 GB Notification: Performance of SimCode: time 1.944e-06/3.381, allocations: 2.781 kB / 1.517 GB, free: 150.6 MB / 0.698 GB Notification: Performance of Templates: time 0.0395/3.421, allocations: 21.64 MB / 1.538 GB, free: 149.8 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)