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.9218/0.9218, allocations: 141.8 MB / 149.3 MB, free: 9.207 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.001328/0.001328, allocations: 180.8 kB / 182.2 MB, free: 9.445 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.51/1.51, allocations: 221.5 MB / 436.4 MB, free: 13.27 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.001063/0.001063, allocations: 80.12 kB / 0.5074 GB, free: 10.11 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001728/0.001728, allocations: 280.7 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.484e-05/1.486e-05, allocations: 4 kB / 0.6765 GB, free: 12.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4285/0.4285, allocations: 82.77 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8402/1.269, allocations: 361.1 MB / 1.11 GB, free: 3.75 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003014/1.269, allocations: 94.45 kB / 1.11 GB, free: 3.707 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.785/3.054, allocations: 485.7 MB / 1.584 GB, free: 130.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.854e-06/3.054, allocations: 0 / 1.584 GB, free: 130.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001536/3.054, allocations: 39.59 kB / 1.585 GB, free: 130.7 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.002657/3.057, allocations: 1.519 MB / 1.586 GB, free: 129.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/3.057, allocations: 8.031 kB / 1.586 GB, free: 129.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009144/3.058, allocations: 233.1 kB / 1.586 GB, free: 128.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003357/3.061, allocations: 1.938 MB / 1.588 GB, free: 127 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.233e-05/3.061, allocations: 24 kB / 1.588 GB, free: 127 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.755e-05/3.061, allocations: 52 kB / 1.588 GB, free: 126.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008933/3.062, allocations: 0.6247 MB / 1.589 GB, free: 126.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/3.063, allocations: 0.8043 MB / 1.59 GB, free: 125.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/3.063, allocations: 7.938 kB / 1.59 GB, free: 125.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.73e-05/3.063, allocations: 0 / 1.59 GB, free: 125.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.364e-05/3.063, allocations: 20 kB / 1.59 GB, free: 125.4 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.004168/3.067, allocations: 4.455 MB / 1.594 GB, free: 120.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006977/3.068, allocations: 0.5697 MB / 1.595 GB, free: 120.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003422/3.069, allocations: 300.1 kB / 1.595 GB, free: 119.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002021/3.071, allocations: 1.664 MB / 1.596 GB, free: 118.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000365/3.071, allocations: 305 kB / 1.597 GB, free: 117.8 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003289/3.071, allocations: 87.45 kB / 1.597 GB, free: 117.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=46): time 3.497e-06/3.071, allocations: 0 / 1.597 GB, free: 117.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=46): time 0.00144/3.073, allocations: 0.7106 MB / 1.598 GB, free: 117 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.521e-05/3.073, allocations: 57.69 kB / 1.598 GB, free: 116.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009827/3.074, allocations: 0.9988 MB / 1.599 GB, free: 115.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.958e-05/3.074, allocations: 33.69 kB / 1.599 GB, free: 115.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003832/3.074, allocations: 0.637 MB / 1.599 GB, free: 115.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.337e-05/3.074, allocations: 157.6 kB / 1.599 GB, free: 115.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-05/3.074, allocations: 2.625 kB / 1.599 GB, free: 115.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.815e-05/3.074, allocations: 337.9 kB / 1.6 GB, free: 114.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002524/3.075, allocations: 205.5 kB / 1.6 GB, free: 114.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003799/3.075, allocations: 0.5337 MB / 1.6 GB, free: 113.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007818/3.076, allocations: 345.6 kB / 1.601 GB, free: 113.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/3.076, allocations: 7.219 kB / 1.601 GB, free: 113.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001557/3.077, allocations: 0.9303 MB / 1.602 GB, free: 112.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005943/3.078, allocations: 3.042 MB / 1.605 GB, free: 109.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/3.078, allocations: 8 kB / 1.605 GB, free: 109.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002585/3.078, allocations: 119.6 kB / 1.605 GB, free: 109.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005129/3.079, allocations: 147.7 kB / 1.605 GB, free: 109.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005627/3.079, allocations: 0.7912 MB / 1.606 GB, free: 108.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00083/3.08, allocations: 67.78 kB / 1.606 GB, free: 108.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-05/3.08, allocations: 44.05 kB / 1.606 GB, free: 108.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.936e-06/3.08, allocations: 4 kB / 1.606 GB, free: 108.2 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001337/3.082, allocations: 0.7789 MB / 1.607 GB, free: 107.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/3.082, allocations: 12.03 kB / 1.607 GB, free: 107.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001532/3.082, allocations: 100.7 kB / 1.607 GB, free: 107.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004307/3.082, allocations: 143.7 kB / 1.607 GB, free: 107.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001536/3.084, allocations: 2.119 MB / 1.609 GB, free: 104.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007107/3.085, allocations: 63.86 kB / 1.609 GB, free: 104.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.369e-05/3.085, allocations: 39.98 kB / 1.609 GB, free: 104.8 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.0001774/3.085, allocations: 129.8 kB / 1.609 GB, free: 104.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001414/3.085, allocations: 122.5 kB / 1.609 GB, free: 104.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001527/3.087, allocations: 0.8017 MB / 1.61 GB, free: 103.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/3.087, allocations: 7.938 kB / 1.61 GB, free: 103.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/3.087, allocations: 0 / 1.61 GB, free: 103.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009418/3.087, allocations: 0.8117 MB / 1.611 GB, free: 102.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00263/3.09, allocations: 1.694 MB / 1.612 GB, free: 101.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/3.09, allocations: 0 / 1.612 GB, free: 101.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003872/3.091, allocations: 83.94 kB / 1.612 GB, free: 101 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001705/3.091, allocations: 100.8 kB / 1.613 GB, free: 100.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.836e-05/3.091, allocations: 15.03 kB / 1.613 GB, free: 100.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004575/3.091, allocations: 0.752 MB / 1.613 GB, free: 100.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/3.091, allocations: 0 / 1.613 GB, free: 100.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001379/3.093, allocations: 1.113 MB / 1.614 GB, free: 98.96 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000362/3.093, allocations: 263.4 kB / 1.615 GB, free: 98.69 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001551/3.093, allocations: 4 kB / 1.615 GB, free: 98.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006307/3.094, allocations: 63.84 kB / 1.615 GB, free: 98.62 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.428e-05/3.094, allocations: 44.33 kB / 1.615 GB, free: 98.58 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.806e-05/3.094, allocations: 23.98 kB / 1.615 GB, free: 98.55 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008721/3.095, allocations: 0.767 MB / 1.616 GB, free: 97.79 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.71e-07/3.095, allocations: 0 / 1.616 GB, free: 97.79 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002196/3.097, allocations: 0.69 MB / 1.616 GB, free: 97.09 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.001532/3.099, allocations: 0.7414 MB / 1.617 GB, free: 96.44 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001838/3.1, allocations: 1.206 MB / 1.618 GB, free: 95.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/3.1, allocations: 8 kB / 1.618 GB, free: 95.19 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004363/3.101, allocations: 290 kB / 1.618 GB, free: 94.91 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002222/3.103, allocations: 0.507 MB / 1.619 GB, free: 94.43 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00286/3.106, allocations: 1.652 MB / 1.621 GB, free: 92.74 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007784/3.107, allocations: 1.304 MB / 1.622 GB, free: 91.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001955/3.109, allocations: 0.5603 MB / 1.622 GB, free: 90.87 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001892/3.109, allocations: 79.41 kB / 1.622 GB, free: 90.79 MB / 0.698 GB Notification: Performance of SimCode: time 9.31e-07/3.109, allocations: 4 kB / 1.622 GB, free: 90.79 MB / 0.698 GB Notification: Performance of Templates: time 0.0395/3.148, allocations: 25.7 MB / 1.648 GB, free: 65.78 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)