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 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.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.7722/0.7722, allocations: 140.1 MB / 156 MB, free: 5.168 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.001071/0.001071, allocations: 182.1 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.882/1.882, allocations: 205.4 MB / 426.3 MB, free: 8.469 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.000993/0.0009928, allocations: 74.38 kB / 0.4945 GB, free: 8.418 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001901/0.0019, allocations: 278.7 kB / 0.5728 GB, free: 66.23 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005264/0.0005265, allocations: 20 kB / 0.662 GB, free: 6.812 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.492/0.4926, allocations: 79.29 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.419/5.911, allocations: 2.033 GB / 2.773 GB, free: 177.1 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003044/5.912, allocations: 91.94 kB / 2.773 GB, free: 177 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 3.82/9.731, allocations: 0.9597 GB / 3.733 GB, free: 176.7 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.903e-06/9.731, allocations: 0 / 3.733 GB, free: 176.7 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001846/9.732, allocations: 36 kB / 3.733 GB, free: 176.7 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.003869/9.736, allocations: 1.413 MB / 3.734 GB, free: 176.1 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/9.736, allocations: 11.72 kB / 3.734 GB, free: 176.1 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008283/9.736, allocations: 186.7 kB / 3.734 GB, free: 176 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002153/9.739, allocations: 1.126 MB / 3.735 GB, free: 175.7 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.516e-05/9.739, allocations: 45.44 kB / 3.735 GB, free: 175.7 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.25e-05/9.739, allocations: 61.91 kB / 3.735 GB, free: 175.7 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/9.74, allocations: 0.7715 MB / 3.736 GB, free: 175.4 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/9.74, allocations: 7.219 kB / 3.736 GB, free: 175.4 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.658e-05/9.74, allocations: 25.59 kB / 3.736 GB, free: 175.4 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/9.74, allocations: 15.06 kB / 3.736 GB, free: 175.4 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007726/9.741, allocations: 0.5085 MB / 3.737 GB, free: 175.4 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.003414/9.744, allocations: 4.601 MB / 3.741 GB, free: 172 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006284/9.745, allocations: 428.8 kB / 3.742 GB, free: 172 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003453/9.745, allocations: 249.6 kB / 3.742 GB, free: 172 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002825/9.745, allocations: 189.8 kB / 3.742 GB, free: 171.8 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000409/9.746, allocations: 288 kB / 3.742 GB, free: 171.7 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=31): time 1.844e-06/9.746, allocations: 0 / 3.742 GB, free: 171.7 MB / 0.6667 GB Notification: Performance of matching and sorting (n=31): time 0.001232/9.747, allocations: 0.6482 MB / 3.743 GB, free: 171.7 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.03e-05/9.747, allocations: 84.7 kB / 3.743 GB, free: 171.6 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/9.748, allocations: 1.104 MB / 3.744 GB, free: 171.4 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.354e-05/9.748, allocations: 39.3 kB / 3.744 GB, free: 171.4 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003384/9.749, allocations: 492 kB / 3.745 GB, free: 171.2 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 8.563e-05/9.749, allocations: 109.6 kB / 3.745 GB, free: 171.2 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.163e-05/9.749, allocations: 16.86 kB / 3.745 GB, free: 171.2 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.27e-05/9.749, allocations: 321.3 kB / 3.745 GB, free: 170.9 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003021/9.749, allocations: 183.6 kB / 3.745 GB, free: 170.9 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004725/9.75, allocations: 0.5065 MB / 3.746 GB, free: 170.5 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006831/9.75, allocations: 0.5932 MB / 3.746 GB, free: 170.3 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/9.75, allocations: 0 / 3.746 GB, free: 170.3 MB / 0.6667 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009944/9.751, allocations: 0.6775 MB / 3.747 GB, free: 170.2 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001292/9.752, allocations: 281 kB / 3.747 GB, free: 169.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/9.752, allocations: 3.875 kB / 3.747 GB, free: 169.9 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.407e-05/9.752, allocations: 14.3 kB / 3.747 GB, free: 169.9 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001715/9.753, allocations: 364.2 kB / 3.748 GB, free: 169.9 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00231/9.756, allocations: 6.088 MB / 3.754 GB, free: 164 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/9.757, allocations: 100.2 kB / 3.754 GB, free: 164 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.7e-05/9.757, allocations: 29.83 kB / 3.754 GB, free: 164 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/9.757, allocations: 7.156 kB / 3.754 GB, free: 164 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008001/9.758, allocations: 0.5426 MB / 3.754 GB, free: 163.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/9.758, allocations: 3.188 kB / 3.754 GB, free: 163.9 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/9.758, allocations: 9.188 kB / 3.754 GB, free: 163.9 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004712/9.758, allocations: 147.4 kB / 3.754 GB, free: 163.9 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/9.758, allocations: 18.33 kB / 3.754 GB, free: 163.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007372/9.759, allocations: 98.47 kB / 3.754 GB, free: 163.9 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.83e-05/9.759, allocations: 25.89 kB / 3.755 GB, free: 163.9 MB / 0.6667 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 () * Number of clocked 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.0006247/9.76, allocations: 469.3 kB / 3.755 GB, free: 163.7 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/9.76, allocations: 103.5 kB / 3.755 GB, free: 163.7 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000776/9.761, allocations: 0.4929 MB / 3.756 GB, free: 163.6 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/9.761, allocations: 3.625 kB / 3.756 GB, free: 163.6 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/9.761, allocations: 0 / 3.756 GB, free: 163.6 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/9.761, allocations: 11.02 kB / 3.756 GB, free: 163.6 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001804/9.762, allocations: 1.389 MB / 3.757 GB, free: 163.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/9.762, allocations: 0 / 3.757 GB, free: 163.2 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005393/9.763, allocations: 158.6 kB / 3.757 GB, free: 163.2 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.714e-06/9.763, allocations: 3.812 kB / 3.757 GB, free: 163.2 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.359e-05/9.763, allocations: 12.81 kB / 3.757 GB, free: 163.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001884/9.765, allocations: 6.026 MB / 3.763 GB, free: 157.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/9.765, allocations: 3.875 kB / 3.763 GB, free: 157.3 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007329/9.766, allocations: 0.6106 MB / 3.764 GB, free: 157.1 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003166/9.766, allocations: 221.7 kB / 3.764 GB, free: 156.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.519e-05/9.766, allocations: 10.44 kB / 3.764 GB, free: 156.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004649/9.767, allocations: 52.19 kB / 3.764 GB, free: 156.9 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.223e-05/9.767, allocations: 33.19 kB / 3.764 GB, free: 156.9 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.557e-05/9.767, allocations: 20.98 kB / 3.764 GB, free: 156.9 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0009193/9.768, allocations: 0.7768 MB / 3.765 GB, free: 156.8 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.3e-07/9.768, allocations: 0 / 3.765 GB, free: 156.8 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001471/9.769, allocations: 482.1 kB / 3.765 GB, free: 156.8 MB / 0.6667 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) * Number of clocked states: 0 () * 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.001277/9.77, allocations: 0.9138 MB / 3.766 GB, free: 156.6 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002807/9.773, allocations: 1.092 MB / 3.767 GB, free: 156.5 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/9.773, allocations: 0 / 3.767 GB, free: 156.5 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0006715/9.774, allocations: 293.2 kB / 3.767 GB, free: 156.5 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002206/9.776, allocations: 459.9 kB / 3.768 GB, free: 156.4 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00288/9.779, allocations: 2.011 MB / 3.77 GB, free: 155.6 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006127/9.78, allocations: 1.186 MB / 3.771 GB, free: 154.9 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001043/9.781, allocations: 378 kB / 3.771 GB, free: 154.9 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/9.781, allocations: 68.77 kB / 3.771 GB, free: 154.9 MB / 0.6667 GB Notification: Performance of SimCode: time 1.333e-06/9.781, allocations: 3.438 kB / 3.771 GB, free: 154.9 MB / 0.6667 GB Notification: Performance of Templates: time 0.04146/9.822, allocations: 27.82 MB / 3.798 GB, free: 146.8 MB / 0.6667 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)