Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.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.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5") translateModel(BuildingSystems.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7835/0.7835, allocations: 140.1 MB / 156 MB, free: 5.156 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.001205/0.001205, allocations: 182.6 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.739/1.739, allocations: 205.4 MB / 426.3 MB, free: 8.457 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.000875/0.000875, allocations: 102.3 kB / 0.4945 GB, free: 8.398 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001755/0.001755, allocations: 272.7 kB / 0.5729 GB, free: 66.21 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005293/0.0005295, allocations: 16 kB / 0.662 GB, free: 6.809 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4438/0.4444, allocations: 79.3 MB / 0.7395 GB, free: 46.35 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1373/0.5817, allocations: 106.3 MB / 0.8433 GB, free: 3.879 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002066/0.582, allocations: 71.95 kB / 0.8434 GB, free: 3.809 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.001063/0.583, allocations: 483.3 kB / 0.8438 GB, free: 3.336 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.256e-06/0.5831, allocations: 4 kB / 0.8438 GB, free: 3.332 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.5831, allocations: 3.938 kB / 0.8438 GB, free: 3.328 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003318/0.5834, allocations: 327.6 kB / 0.8442 GB, free: 2.957 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.5835, allocations: 8.031 kB / 0.8442 GB, free: 2.949 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.029e-05/0.5835, allocations: 4.844 kB / 0.8442 GB, free: 2.945 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002135/0.5837, allocations: 176.4 kB / 0.8443 GB, free: 2.734 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.5837, allocations: 384 / 0.8443 GB, free: 2.734 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.5838, allocations: 12.31 kB / 0.8443 GB, free: 2.723 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.217e-05/0.5838, allocations: 26.27 kB / 0.8444 GB, free: 2.691 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.5839, allocations: 192 / 0.8444 GB, free: 2.691 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.876e-06/0.5839, allocations: 7.938 kB / 0.8444 GB, free: 2.684 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.5839, allocations: 4 kB / 0.8444 GB, free: 2.68 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.093e-05/0.5839, allocations: 7.922 kB / 0.8444 GB, free: 2.672 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001784/0.5841, allocations: 153.7 kB / 0.8445 GB, free: 2.473 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.18e-05/0.5841, allocations: 18.61 kB / 0.8446 GB, free: 2.445 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.093e-05/0.5842, allocations: 8.922 kB / 0.8446 GB, free: 2.434 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.431e-05/0.5842, allocations: 0 / 0.8446 GB, free: 2.434 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.5842, allocations: 38.56 kB / 0.8446 GB, free: 2.387 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.5842, allocations: 0 / 0.8446 GB, free: 2.387 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001619/0.5844, allocations: 49.55 kB / 0.8446 GB, free: 2.332 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.5845, allocations: 55.41 kB / 0.8447 GB, free: 2.266 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.873e-05/0.5846, allocations: 109.8 kB / 0.8448 GB, free: 2.148 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.5846, allocations: 25.7 kB / 0.8448 GB, free: 2.117 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.748e-05/0.5846, allocations: 80.14 kB / 0.8449 GB, free: 2.035 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.433e-05/0.5847, allocations: 15.83 kB / 0.8449 GB, free: 2.02 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.465e-06/0.5847, allocations: 4.125 kB / 0.8449 GB, free: 2.016 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.5848, allocations: 314.8 kB / 0.8452 GB, free: 1.699 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.628e-05/0.5848, allocations: 7.984 kB / 0.8452 GB, free: 1.691 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.414e-05/0.5849, allocations: 13.72 kB / 0.8452 GB, free: 1.672 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.017e-05/0.5849, allocations: 29.64 kB / 0.8453 GB, free: 1.637 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.5849, allocations: 0 / 0.8453 GB, free: 1.637 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.786e-05/0.585, allocations: 45.75 kB / 0.8453 GB, free: 1.586 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.585, allocations: 4 kB / 0.8453 GB, free: 1.582 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/0.5851, allocations: 7.922 kB / 0.8453 GB, free: 1.574 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.5851, allocations: 0 / 0.8453 GB, free: 1.574 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.182e-05/0.5851, allocations: 7.938 kB / 0.8453 GB, free: 1.566 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.5852, allocations: 0 / 0.8453 GB, free: 1.566 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.459e-05/0.5852, allocations: 4 kB / 0.8453 GB, free: 1.562 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/0.5852, allocations: 0 / 0.8453 GB, free: 1.562 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 7.954e-05/0.5853, allocations: 117.9 kB / 0.8455 GB, free: 1.438 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.307e-06/0.5853, allocations: 7.906 kB / 0.8455 GB, free: 1.43 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001047/0.5854, allocations: 48.75 kB / 0.8455 GB, free: 1.379 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.5854, allocations: 7.938 kB / 0.8455 GB, free: 1.371 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.5854, allocations: 3.938 kB / 0.8455 GB, free: 1.367 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.5854, allocations: 0 / 0.8455 GB, free: 1.367 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000119/0.5856, allocations: 149.7 kB / 0.8457 GB, free: 1.172 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.5856, allocations: 0 / 0.8457 GB, free: 1.172 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.89e-05/0.5856, allocations: 7.938 kB / 0.8457 GB, free: 1.164 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.5856, allocations: 0 / 0.8457 GB, free: 1.164 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.5857, allocations: 11.95 kB / 0.8457 GB, free: 1.152 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.5857, allocations: 0 / 0.8457 GB, free: 1.152 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.5857, allocations: 0 / 0.8457 GB, free: 1.152 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001317/0.5858, allocations: 77.12 kB / 0.8458 GB, free: 1.059 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.994e-05/0.5859, allocations: 77.11 kB / 0.8458 GB, free: 0.9648 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.5859, allocations: 7.922 kB / 0.8458 GB, free: 0.957 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.035e-05/0.5859, allocations: 0 / 0.8458 GB, free: 0.957 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.155e-05/0.5859, allocations: 8.125 kB / 0.8458 GB, free: 0.9492 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/0.5859, allocations: 0 / 0.8458 GB, free: 0.9492 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 6.048e-05/0.586, allocations: 95.52 kB / 0.8459 GB, free: 0.8555 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.31e-07/0.586, allocations: 0 / 0.8459 GB, free: 0.8555 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001996/0.5862, allocations: 4 kB / 0.8459 GB, free: 0.8516 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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.0001243/0.5863, allocations: 103.2 kB / 0.846 GB, free: 0.7422 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.319e-05/0.5864, allocations: 11.98 kB / 0.846 GB, free: 0.7305 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.5864, allocations: 4.125 kB / 0.846 GB, free: 0.7266 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.238e-05/0.5864, allocations: 8 kB / 0.8461 GB, free: 0.7188 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001377/0.5866, allocations: 4 kB / 0.8461 GB, free: 0.7148 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002724/0.5869, allocations: 120.8 kB / 0.8462 GB, free: 0.5625 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.5872, allocations: 0.677 MB / 0.8468 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.9e-05/0.5872, allocations: 4 kB / 0.8468 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.555e-05/0.5872, allocations: 11.38 kB / 0.8469 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of SimCode: time 2.51e-07/0.5872, allocations: 0 / 0.8469 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of Templates: time 0.001975/0.5892, allocations: 300.6 kB / 0.8471 GB, free: 15.55 MB / 0.5261 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example5.pipe 2>&1)