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 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.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.752/0.752, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009397/0.0009398, allocations: 183.3 kB / 187.3 MB, free: 11.88 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.353/1.353, allocations: 221.3 MB / 441.4 MB, free: 4.605 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.0009241/0.0009243, allocations: 90.47 kB / 0.5124 GB, free: 24.19 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001974/0.001974, allocations: 275.5 kB / 0.5939 GB, free: 7.945 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.322e-05/4.324e-05, allocations: 4 kB / 0.6834 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5025/0.5025, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8355/1.338, allocations: 361.8 MB / 1.118 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004245/1.339, allocations: 92.2 kB / 1.118 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.964/3.302, allocations: 488.6 MB / 1.595 GB, free: 129.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.873e-06/3.303, allocations: 4 kB / 1.595 GB, free: 129.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001612/3.303, allocations: 36.92 kB / 1.595 GB, free: 129.2 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.002869/3.306, allocations: 1.519 MB / 1.596 GB, free: 127.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/3.306, allocations: 12.03 kB / 1.596 GB, free: 127.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000995/3.307, allocations: 228.5 kB / 1.597 GB, free: 127.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003931/3.311, allocations: 1.936 MB / 1.598 GB, free: 125.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.006e-05/3.311, allocations: 66 kB / 1.599 GB, free: 125.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001262/3.311, allocations: 87.14 kB / 1.599 GB, free: 125.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001375/3.312, allocations: 0.9184 MB / 1.6 GB, free: 124.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.46e-05/3.312, allocations: 8.25 kB / 1.6 GB, free: 124.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.381e-05/3.312, allocations: 32 kB / 1.6 GB, free: 124.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.591e-05/3.312, allocations: 20 kB / 1.6 GB, free: 124.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008996/3.313, allocations: 0.6441 MB / 1.6 GB, free: 123.7 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.005069/3.318, allocations: 4.608 MB / 1.605 GB, free: 118.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007533/3.319, allocations: 0.5361 MB / 1.605 GB, free: 118.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003953/3.32, allocations: 291.2 kB / 1.606 GB, free: 118 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002442/3.322, allocations: 1.706 MB / 1.607 GB, free: 116.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004408/3.322, allocations: 310.3 kB / 1.607 GB, free: 115.9 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005095/3.323, allocations: 116.7 kB / 1.608 GB, free: 115.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=46): time 3.175e-06/3.323, allocations: 0 / 1.608 GB, free: 115.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=46): time 0.001199/3.324, allocations: 0.6384 MB / 1.608 GB, free: 115.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/3.324, allocations: 59.41 kB / 1.608 GB, free: 115.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001437/3.326, allocations: 1.105 MB / 1.609 GB, free: 114 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.398e-05/3.326, allocations: 37.7 kB / 1.609 GB, free: 113.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004502/3.326, allocations: 0.6481 MB / 1.61 GB, free: 113.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/3.326, allocations: 165.6 kB / 1.61 GB, free: 113.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.23e-05/3.326, allocations: 12 kB / 1.61 GB, free: 113.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.929e-05/3.326, allocations: 336.9 kB / 1.611 GB, free: 112.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002918/3.327, allocations: 201.5 kB / 1.611 GB, free: 112.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004674/3.327, allocations: 0.5418 MB / 1.611 GB, free: 111.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004189/3.328, allocations: 320 kB / 1.612 GB, free: 111.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/3.328, allocations: 4 kB / 1.612 GB, free: 111.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001315/3.329, allocations: 0.9444 MB / 1.612 GB, free: 110.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006203/3.33, allocations: 3.044 MB / 1.615 GB, free: 107.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/3.33, allocations: 8 kB / 1.615 GB, free: 107.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003289/3.33, allocations: 152.4 kB / 1.616 GB, free: 107.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005309/3.331, allocations: 152.7 kB / 1.616 GB, free: 107.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005642/3.331, allocations: 0.7564 MB / 1.616 GB, free: 106.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009961/3.332, allocations: 79.91 kB / 1.617 GB, free: 106.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.266e-05/3.332, allocations: 39.98 kB / 1.617 GB, free: 106.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/3.332, allocations: 4 kB / 1.617 GB, free: 106.2 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001139/3.333, allocations: 0.8581 MB / 1.617 GB, free: 105.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/3.333, allocations: 8 kB / 1.617 GB, free: 105.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001705/3.334, allocations: 112.8 kB / 1.618 GB, free: 105.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004358/3.334, allocations: 140.2 kB / 1.618 GB, free: 105.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001611/3.336, allocations: 2.201 MB / 1.62 GB, free: 102.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009095/3.337, allocations: 71.92 kB / 1.62 GB, free: 102.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.08e-05/3.337, allocations: 39.98 kB / 1.62 GB, free: 102.6 MB / 0.698 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 () * 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.0002067/3.337, allocations: 161.5 kB / 1.62 GB, free: 102.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/3.337, allocations: 134.2 kB / 1.62 GB, free: 102.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001444/3.338, allocations: 0.8127 MB / 1.621 GB, free: 101.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.357e-06/3.338, allocations: 11.98 kB / 1.621 GB, free: 101.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/3.338, allocations: 0 / 1.621 GB, free: 101.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007814/3.339, allocations: 0.8264 MB / 1.622 GB, free: 100.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002474/3.342, allocations: 1.825 MB / 1.624 GB, free: 98.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/3.342, allocations: 0 / 1.624 GB, free: 98.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003763/3.342, allocations: 79.88 kB / 1.624 GB, free: 98.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002348/3.342, allocations: 139.3 kB / 1.624 GB, free: 98.49 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.399e-05/3.342, allocations: 12 kB / 1.624 GB, free: 98.48 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004345/3.343, allocations: 0.7397 MB / 1.625 GB, free: 97.71 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/3.343, allocations: 0 / 1.625 GB, free: 97.71 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001241/3.344, allocations: 1.147 MB / 1.626 GB, free: 96.52 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004596/3.345, allocations: 271.4 kB / 1.626 GB, free: 96.23 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/3.345, allocations: 12 kB / 1.626 GB, free: 96.22 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006048/3.345, allocations: 75.84 kB / 1.626 GB, free: 96.15 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.317e-05/3.345, allocations: 36.38 kB / 1.626 GB, free: 96.11 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.662e-05/3.345, allocations: 23.98 kB / 1.626 GB, free: 96.09 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009566/3.346, allocations: 0.8642 MB / 1.627 GB, free: 95.22 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.71e-07/3.346, allocations: 0 / 1.627 GB, free: 95.22 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002098/3.349, allocations: 0.7156 MB / 1.628 GB, free: 94.51 MB / 0.698 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) * 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.001237/3.35, allocations: 0.7678 MB / 1.628 GB, free: 93.84 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001864/3.352, allocations: 1.272 MB / 1.63 GB, free: 92.54 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/3.352, allocations: 0 / 1.63 GB, free: 92.54 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004554/3.352, allocations: 307.5 kB / 1.63 GB, free: 92.23 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002153/3.354, allocations: 0.5471 MB / 1.63 GB, free: 91.71 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00246/3.357, allocations: 1.696 MB / 1.632 GB, free: 89.98 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005754/3.357, allocations: 1.297 MB / 1.633 GB, free: 88.65 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001681/3.359, allocations: 0.5629 MB / 1.634 GB, free: 88.11 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001609/3.359, allocations: 75.41 kB / 1.634 GB, free: 88.04 MB / 0.698 GB Notification: Performance of SimCode: time 6.81e-07/3.359, allocations: 4 kB / 1.634 GB, free: 88.04 MB / 0.698 GB Notification: Performance of Templates: time 0.04514/3.404, allocations: 31.15 MB / 1.664 GB, free: 57.56 MB / 0.698 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)