Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.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.Examples.Performance.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8") translateModel(BuildingSystems.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7622/0.7622, allocations: 140.1 MB / 156 MB, free: 5.176 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.001222/0.001222, allocations: 181.2 kB / 188.5 MB, free: 15.83 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.691/1.691, allocations: 205.4 MB / 426.3 MB, free: 8.395 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.0008973/0.0008973, allocations: 82.36 kB / 0.4945 GB, free: 8.34 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001803/0.001803, allocations: 272.6 kB / 0.5729 GB, free: 66.21 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004649/0.000465, allocations: 24 kB / 0.662 GB, free: 6.797 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4065/0.4069, allocations: 79.29 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1387/0.5457, allocations: 106.3 MB / 0.8433 GB, free: 3.926 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001916/0.5459, allocations: 63.97 kB / 0.8433 GB, free: 3.863 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.0006093/0.5466, allocations: 422.1 kB / 0.8437 GB, free: 3.445 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.964e-06/0.5466, allocations: 0 / 0.8437 GB, free: 3.445 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.171e-05/0.5466, allocations: 0 / 0.8437 GB, free: 3.445 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002517/0.5468, allocations: 307.5 kB / 0.844 GB, free: 3.094 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.5469, allocations: 12.09 kB / 0.844 GB, free: 3.082 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.964e-05/0.5469, allocations: 0.9375 kB / 0.844 GB, free: 3.082 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.951e-05/0.547, allocations: 160.4 kB / 0.8442 GB, free: 2.887 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.5471, allocations: 4.375 kB / 0.8442 GB, free: 2.883 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.5471, allocations: 4.375 kB / 0.8442 GB, free: 2.879 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.5472, allocations: 47.86 kB / 0.8442 GB, free: 2.82 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.5472, allocations: 4.172 kB / 0.8442 GB, free: 2.816 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.5472, allocations: 3.938 kB / 0.8442 GB, free: 2.812 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.5472, allocations: 4 kB / 0.8442 GB, free: 2.809 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.377e-05/0.5473, allocations: 0 / 0.8442 GB, free: 2.809 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001574/0.5474, allocations: 158.6 kB / 0.8444 GB, free: 2.602 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 6.181e-05/0.5475, allocations: 41.19 kB / 0.8444 GB, free: 2.543 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.263e-05/0.5475, allocations: 13.7 kB / 0.8445 GB, free: 2.523 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.5475, allocations: 0 / 0.8445 GB, free: 2.523 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.5476, allocations: 42.55 kB / 0.8445 GB, free: 2.473 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.5476, allocations: 0 / 0.8445 GB, free: 2.473 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.000152/0.5477, allocations: 45.64 kB / 0.8445 GB, free: 2.422 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.412e-05/0.5478, allocations: 85.03 kB / 0.8446 GB, free: 2.32 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.527e-05/0.5479, allocations: 89.86 kB / 0.8447 GB, free: 2.223 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.5479, allocations: 25.7 kB / 0.8447 GB, free: 2.191 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.524e-05/0.5479, allocations: 84.14 kB / 0.8448 GB, free: 2.105 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.298e-05/0.548, allocations: 7.844 kB / 0.8448 GB, free: 2.098 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-06/0.548, allocations: 0 / 0.8448 GB, free: 2.098 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.5481, allocations: 323 kB / 0.8451 GB, free: 1.773 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.025e-05/0.5481, allocations: 0 / 0.8451 GB, free: 1.773 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.749e-05/0.5481, allocations: 13.72 kB / 0.8451 GB, free: 1.754 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.339e-05/0.5482, allocations: 13.72 kB / 0.8451 GB, free: 1.734 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.5482, allocations: 0 / 0.8451 GB, free: 1.734 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.652e-05/0.5483, allocations: 49.62 kB / 0.8452 GB, free: 1.68 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.5483, allocations: 9.688 kB / 0.8452 GB, free: 1.672 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.5483, allocations: 0 / 0.8452 GB, free: 1.672 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.5483, allocations: 3.938 kB / 0.8452 GB, free: 1.668 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.528e-05/0.5484, allocations: 4 kB / 0.8452 GB, free: 1.664 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.026e-06/0.5484, allocations: 4 kB / 0.8452 GB, free: 1.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.651e-05/0.5484, allocations: 0 / 0.8452 GB, free: 1.66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.5484, allocations: 7.984 kB / 0.8452 GB, free: 1.652 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 8.085e-05/0.5485, allocations: 109.8 kB / 0.8453 GB, free: 1.535 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.975e-06/0.5485, allocations: 0 / 0.8453 GB, free: 1.535 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001071/0.5486, allocations: 60.69 kB / 0.8454 GB, free: 1.473 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.5487, allocations: 0 / 0.8454 GB, free: 1.473 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.5487, allocations: 0 / 0.8454 GB, free: 1.473 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.5487, allocations: 3.938 kB / 0.8454 GB, free: 1.469 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001109/0.5488, allocations: 149.7 kB / 0.8455 GB, free: 1.273 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.5488, allocations: 3.984 kB / 0.8455 GB, free: 1.27 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.33e-05/0.5488, allocations: 4 kB / 0.8455 GB, free: 1.266 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.5488, allocations: 0 / 0.8455 GB, free: 1.266 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.298e-06/0.5488, allocations: 8 kB / 0.8455 GB, free: 1.258 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.5489, allocations: 0 / 0.8455 GB, free: 1.258 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.5489, allocations: 0 / 0.8455 GB, free: 1.258 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.538e-05/0.549, allocations: 69.98 kB / 0.8456 GB, free: 1.168 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.199e-05/0.549, allocations: 81.02 kB / 0.8457 GB, free: 1.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.549, allocations: 3.938 kB / 0.8457 GB, free: 1.066 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.453e-05/0.549, allocations: 3.938 kB / 0.8457 GB, free: 1.062 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.329e-05/0.5491, allocations: 8.031 kB / 0.8457 GB, free: 1.055 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-06/0.5491, allocations: 0 / 0.8457 GB, free: 1.055 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.657e-05/0.5491, allocations: 75.28 kB / 0.8458 GB, free: 0.9805 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1e-07/0.5491, allocations: 0 / 0.8458 GB, free: 0.9805 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001922/0.5493, allocations: 8 kB / 0.8458 GB, free: 0.9727 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001171/0.5494, allocations: 99.23 kB / 0.8459 GB, free: 0.8672 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.3e-05/0.5495, allocations: 4 kB / 0.8459 GB, free: 0.8633 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.5495, allocations: 4.125 kB / 0.8459 GB, free: 0.8594 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.054e-05/0.5495, allocations: 7.938 kB / 0.8459 GB, free: 0.8516 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000137/0.5497, allocations: 6.109 kB / 0.8459 GB, free: 0.8477 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002098/0.5499, allocations: 83.61 kB / 0.846 GB, free: 0.7344 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/0.5502, allocations: 0.677 MB / 0.8466 GB, free: 32 kB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.184e-05/0.5502, allocations: 0 / 0.8466 GB, free: 32 kB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.585e-05/0.5502, allocations: 19.5 kB / 0.8467 GB, free: 16 kB / 0.5105 GB Notification: Performance of SimCode: time 5.21e-07/0.5502, allocations: 0 / 0.8467 GB, free: 16 kB / 0.5105 GB Notification: Performance of Templates: time 0.001883/0.5521, allocations: 180.1 kB / 0.8468 GB, free: 15.84 MB / 0.5261 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example8.pipe 2>&1)