Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow") translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8212/0.8212, allocations: 141.8 MB / 149.3 MB, free: 9.242 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.001116/0.001116, allocations: 187.8 kB / 182.2 MB, free: 9.465 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.662/1.662, allocations: 221.5 MB / 436.4 MB, free: 13.36 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.001046/0.001046, allocations: 98.47 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001922/0.001922, allocations: 273.8 kB / 0.5889 GB, free: 54.69 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.852e-05/1.859e-05, allocations: 4 kB / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5637/0.5638, allocations: 82.77 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.158/5.722, allocations: 1.829 GB / 2.586 GB, free: 231.8 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002487/5.722, allocations: 99 kB / 2.586 GB, free: 231.8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.284/9.006, allocations: 0.9583 GB / 3.545 GB, free: 72.69 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.102e-06/9.006, allocations: 0 / 3.545 GB, free: 72.69 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001412/9.006, allocations: 31.98 kB / 3.545 GB, free: 72.66 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002364/9.008, allocations: 1.14 MB / 3.546 GB, free: 71.46 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/9.009, allocations: 8.031 kB / 3.546 GB, free: 71.46 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001044/9.01, allocations: 186.5 kB / 3.546 GB, free: 71.27 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002542/9.012, allocations: 1.085 MB / 3.547 GB, free: 70.13 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.496e-05/9.012, allocations: 19.95 kB / 3.547 GB, free: 70.11 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001293/9.012, allocations: 40 kB / 3.547 GB, free: 70.07 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007612/9.013, allocations: 466.3 kB / 3.547 GB, free: 69.62 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008377/9.014, allocations: 0.6727 MB / 3.548 GB, free: 68.87 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/9.014, allocations: 7.938 kB / 3.548 GB, free: 68.86 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.432e-05/9.014, allocations: 3.984 kB / 3.548 GB, free: 68.86 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/9.014, allocations: 16 kB / 3.548 GB, free: 68.84 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.004396/9.018, allocations: 4.453 MB / 3.553 GB, free: 64.01 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005122/9.019, allocations: 450.4 kB / 3.553 GB, free: 63.56 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002547/9.019, allocations: 239.2 kB / 3.553 GB, free: 63.32 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002828/9.02, allocations: 202.6 kB / 3.553 GB, free: 63.09 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003208/9.02, allocations: 259.5 kB / 3.554 GB, free: 62.82 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 2.455e-06/9.02, allocations: 4 kB / 3.554 GB, free: 62.81 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.001088/9.021, allocations: 491.9 kB / 3.554 GB, free: 62.33 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/9.021, allocations: 81.11 kB / 3.554 GB, free: 62.23 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/9.022, allocations: 0.8479 MB / 3.555 GB, free: 61.36 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.531e-05/9.022, allocations: 29.7 kB / 3.555 GB, free: 61.33 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003336/9.023, allocations: 488.2 kB / 3.555 GB, free: 60.84 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.111e-05/9.023, allocations: 110.7 kB / 3.556 GB, free: 60.73 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.11e-05/9.023, allocations: 7.938 kB / 3.556 GB, free: 60.73 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.859e-05/9.023, allocations: 329.9 kB / 3.556 GB, free: 60.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002073/9.023, allocations: 176.8 kB / 3.556 GB, free: 60.23 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000342/9.023, allocations: 495.9 kB / 3.557 GB, free: 59.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002955/9.024, allocations: 266.1 kB / 3.557 GB, free: 59.34 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/9.024, allocations: 4 kB / 3.557 GB, free: 59.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008656/9.024, allocations: 0.61 MB / 3.557 GB, free: 58.72 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004586/9.025, allocations: 2.126 MB / 3.559 GB, free: 56.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/9.025, allocations: 4 kB / 3.56 GB, free: 56.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.725e-05/9.025, allocations: 12 kB / 3.56 GB, free: 56.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001609/9.027, allocations: 299.4 kB / 3.56 GB, free: 56.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002359/9.029, allocations: 6.192 MB / 3.566 GB, free: 49.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001019/9.03, allocations: 83.66 kB / 3.566 GB, free: 49.61 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001243/9.03, allocations: 27.98 kB / 3.566 GB, free: 49.59 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/9.03, allocations: 4 kB / 3.566 GB, free: 49.58 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005541/9.031, allocations: 415.4 kB / 3.566 GB, free: 49.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/9.031, allocations: 8 kB / 3.566 GB, free: 49.17 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/9.031, allocations: 8 kB / 3.566 GB, free: 49.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004776/9.031, allocations: 152.3 kB / 3.567 GB, free: 49.01 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.918e-06/9.031, allocations: 11.94 kB / 3.567 GB, free: 49 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008787/9.032, allocations: 87.47 kB / 3.567 GB, free: 48.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-05/9.032, allocations: 20 kB / 3.567 GB, free: 48.89 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000177/9.032, allocations: 120.9 kB / 3.567 GB, free: 48.77 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001989/9.033, allocations: 94.81 kB / 3.567 GB, free: 48.68 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007154/9.033, allocations: 450.6 kB / 3.567 GB, free: 48.23 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/9.033, allocations: 4.234 kB / 3.567 GB, free: 48.23 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/9.033, allocations: 0 / 3.567 GB, free: 48.23 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/9.033, allocations: 0 / 3.567 GB, free: 48.23 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001825/9.035, allocations: 1.268 MB / 3.569 GB, free: 46.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/9.035, allocations: 4 kB / 3.569 GB, free: 46.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000566/9.036, allocations: 155.7 kB / 3.569 GB, free: 46.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.006e-06/9.036, allocations: 7.938 kB / 3.569 GB, free: 46.73 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.407e-05/9.036, allocations: 11.94 kB / 3.569 GB, free: 46.71 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00183/9.038, allocations: 6.037 MB / 3.575 GB, free: 40.45 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-06/9.038, allocations: 12 kB / 3.575 GB, free: 40.43 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006445/9.038, allocations: 0.6223 MB / 3.575 GB, free: 39.73 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003851/9.039, allocations: 207.9 kB / 3.575 GB, free: 39.51 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001667/9.039, allocations: 8 kB / 3.575 GB, free: 39.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005815/9.04, allocations: 55.8 kB / 3.575 GB, free: 39.45 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.932e-05/9.04, allocations: 35.84 kB / 3.575 GB, free: 39.41 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.078e-05/9.04, allocations: 8 kB / 3.575 GB, free: 39.41 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007785/9.04, allocations: 0.665 MB / 3.576 GB, free: 38.73 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/9.04, allocations: 0 / 3.576 GB, free: 38.73 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001589/9.042, allocations: 451.3 kB / 3.577 GB, free: 38.29 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001455/9.044, allocations: 1.032 MB / 3.578 GB, free: 37.26 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002377/9.046, allocations: 0.9428 MB / 3.578 GB, free: 36.29 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/9.046, allocations: 0 / 3.578 GB, free: 36.29 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005946/9.047, allocations: 249.5 kB / 3.579 GB, free: 36.05 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00199/9.049, allocations: 396.9 kB / 3.579 GB, free: 35.66 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002424/9.051, allocations: 1.332 MB / 3.58 GB, free: 34.28 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006325/9.052, allocations: 1.21 MB / 3.582 GB, free: 33.04 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001973/9.054, allocations: 0.7445 MB / 3.582 GB, free: 32.29 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/9.054, allocations: 43.44 kB / 3.582 GB, free: 32.24 MB / 0.698 GB Notification: Performance of SimCode: time 5.81e-07/9.054, allocations: 0 / 3.582 GB, free: 32.24 MB / 0.698 GB Notification: Performance of Templates: time 0.03338/9.087, allocations: 20.66 MB / 3.603 GB, free: 11.73 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)