Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example2.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.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example2") translateModel(BuildingSystems.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8029/0.8029, allocations: 140.1 MB / 156 MB, free: 8.402 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.001277/0.001277, allocations: 179 kB / 188.5 MB, free: 8.996 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.753/1.753, allocations: 205.4 MB / 426.4 MB, free: 8.125 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.0009448/0.0009451, allocations: 96.36 kB / 0.4945 GB, free: 8.051 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001786/0.001786, allocations: 268.1 kB / 0.5728 GB, free: 66.13 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008498/0.0008499, allocations: 19.98 kB / 0.662 GB, free: 6.727 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.474/0.4749, allocations: 79.29 MB / 0.7395 GB, free: 46.3 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8088/1.284, allocations: 373.6 MB / 1.104 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003057/1.284, allocations: 104.6 kB / 1.104 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.797/3.081, allocations: 476.8 MB / 1.57 GB, free: 85.52 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.835e-06/3.081, allocations: 0 / 1.57 GB, free: 85.52 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002731/3.082, allocations: 39.2 kB / 1.57 GB, free: 85.49 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.005994/3.088, allocations: 1.943 MB / 1.572 GB, free: 83.5 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/3.088, allocations: 12.03 kB / 1.572 GB, free: 83.49 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001518/3.089, allocations: 234.9 kB / 1.572 GB, free: 83.26 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007146/3.097, allocations: 1.935 MB / 1.574 GB, free: 81.32 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001455/3.097, allocations: 66.38 kB / 1.574 GB, free: 81.25 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004973/3.097, allocations: 84.38 kB / 1.574 GB, free: 81.17 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002984/3.1, allocations: 0.9613 MB / 1.575 GB, free: 80.16 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.827e-05/3.1, allocations: 11.88 kB / 1.575 GB, free: 80.14 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001191/3.1, allocations: 39.92 kB / 1.575 GB, free: 80.11 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.591e-05/3.1, allocations: 20 kB / 1.575 GB, free: 80.09 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001608/3.102, allocations: 0.7103 MB / 1.576 GB, free: 79.38 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.006778/3.109, allocations: 4.709 MB / 1.581 GB, free: 74.41 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001156/3.11, allocations: 0.5905 MB / 1.581 GB, free: 73.81 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005412/3.111, allocations: 322.9 kB / 1.581 GB, free: 73.5 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002674/3.113, allocations: 1.689 MB / 1.583 GB, free: 71.69 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006261/3.114, allocations: 342.4 kB / 1.583 GB, free: 71.34 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006651/3.115, allocations: 107.5 kB / 1.583 GB, free: 71.24 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=46): time 6.202e-06/3.115, allocations: 0 / 1.583 GB, free: 71.24 MB / 0.6667 GB Notification: Performance of matching and sorting (n=46): time 0.003113/3.118, allocations: 1.185 MB / 1.585 GB, free: 70.03 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/3.118, allocations: 63.34 kB / 1.585 GB, free: 69.95 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00194/3.12, allocations: 1.239 MB / 1.586 GB, free: 68.7 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 7.363e-05/3.12, allocations: 41.7 kB / 1.586 GB, free: 68.65 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005315/3.12, allocations: 0.6479 MB / 1.587 GB, free: 68 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/3.121, allocations: 156.2 kB / 1.587 GB, free: 67.85 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-05/3.121, allocations: 19.94 kB / 1.587 GB, free: 67.83 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.163e-05/3.121, allocations: 333.9 kB / 1.587 GB, free: 67.5 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004661/3.121, allocations: 241.8 kB / 1.587 GB, free: 67.26 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006025/3.122, allocations: 0.5748 MB / 1.588 GB, free: 66.53 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/3.123, allocations: 0.7709 MB / 1.589 GB, free: 65.65 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.696e-06/3.123, allocations: 0 / 1.589 GB, free: 65.65 MB / 0.6667 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001935/3.125, allocations: 1.051 MB / 1.59 GB, free: 64.59 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001815/3.125, allocations: 342.6 kB / 1.59 GB, free: 64.14 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/3.125, allocations: 8 kB / 1.59 GB, free: 64.13 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005737/3.126, allocations: 179.6 kB / 1.59 GB, free: 63.96 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005159/3.126, allocations: 155.4 kB / 1.59 GB, free: 63.81 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005856/3.127, allocations: 0.7706 MB / 1.591 GB, free: 63.01 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/3.128, allocations: 83.84 kB / 1.591 GB, free: 62.93 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.03e-05/3.128, allocations: 43.98 kB / 1.591 GB, free: 62.89 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/3.128, allocations: 5.562 kB / 1.591 GB, free: 62.88 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001403/3.129, allocations: 0.9098 MB / 1.592 GB, free: 61.95 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/3.129, allocations: 8 kB / 1.592 GB, free: 61.94 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001722/3.129, allocations: 109.2 kB / 1.592 GB, free: 61.83 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004897/3.13, allocations: 147.7 kB / 1.592 GB, free: 61.69 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001721/3.132, allocations: 2.188 MB / 1.594 GB, free: 59.34 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008978/3.133, allocations: 79.86 kB / 1.595 GB, free: 59.27 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.32e-05/3.133, allocations: 43.98 kB / 1.595 GB, free: 59.22 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 70 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.0008157/3.133, allocations: 480.6 kB / 1.595 GB, free: 58.74 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002168/3.134, allocations: 130.4 kB / 1.595 GB, free: 58.61 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00184/3.136, allocations: 0.89 MB / 1.596 GB, free: 57.73 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/3.136, allocations: 4 kB / 1.596 GB, free: 57.72 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/3.136, allocations: 7.938 kB / 1.596 GB, free: 57.71 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00115/3.137, allocations: 0.8922 MB / 1.597 GB, free: 56.75 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 postOpt removeSimpleEquations (simulation): time 0.003267/3.14, allocations: 1.864 MB / 1.599 GB, free: 54.82 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/3.14, allocations: 4 kB / 1.599 GB, free: 54.82 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003696/3.14, allocations: 87.94 kB / 1.599 GB, free: 54.73 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002405/3.141, allocations: 125.8 kB / 1.599 GB, free: 54.61 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.019e-05/3.141, allocations: 15.98 kB / 1.599 GB, free: 54.6 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000454/3.141, allocations: 0.7512 MB / 1.6 GB, free: 53.82 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/3.141, allocations: 0 / 1.6 GB, free: 53.82 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001807/3.143, allocations: 1.203 MB / 1.601 GB, free: 52.59 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000492/3.144, allocations: 271.3 kB / 1.601 GB, free: 52.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002062/3.144, allocations: 12 kB / 1.601 GB, free: 52.29 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007168/3.144, allocations: 63.91 kB / 1.601 GB, free: 52.23 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/3.145, allocations: 44.38 kB / 1.601 GB, free: 52.18 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.424e-05/3.145, allocations: 23.98 kB / 1.601 GB, free: 52.16 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001166/3.146, allocations: 0.858 MB / 1.602 GB, free: 51.3 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.61e-07/3.146, allocations: 0 / 1.602 GB, free: 51.3 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002532/3.148, allocations: 0.7059 MB / 1.603 GB, free: 50.59 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001844/3.15, allocations: 0.7597 MB / 1.604 GB, free: 49.93 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002594/3.153, allocations: 1.31 MB / 1.605 GB, free: 48.59 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/3.153, allocations: 4 kB / 1.605 GB, free: 48.59 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0006502/3.154, allocations: 328.3 kB / 1.605 GB, free: 48.27 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002706/3.156, allocations: 0.5653 MB / 1.606 GB, free: 47.73 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00424/3.16, allocations: 2.679 MB / 1.608 GB, free: 45.02 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009038/3.161, allocations: 1.271 MB / 1.61 GB, free: 43.72 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001426/3.163, allocations: 306.6 kB / 1.61 GB, free: 43.44 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002565/3.163, allocations: 99.41 kB / 1.61 GB, free: 43.34 MB / 0.6667 GB Notification: Performance of SimCode: time 1.442e-06/3.163, allocations: 0 / 1.61 GB, free: 43.34 MB / 0.6667 GB Notification: Performance of Templates: time 0.04409/3.207, allocations: 27.75 MB / 1.637 GB, free: 16.05 MB / 0.6667 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example2.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example2.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.Example2.pipe 2>&1)