Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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) 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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") translateModel(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.707/0.707, allocations: 127.3 MB / 139.8 MB, free: 15.48 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.001224/0.001224, allocations: 168.9 kB / 169.7 MB, free: 1.746 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.766/1.766, allocations: 205.1 MB / 404.5 MB, free: 1.648 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00108/0.00108, allocations: 87.69 kB / 481.8 MB, free: 4.297 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.194e-05/3.198e-05, allocations: 4 kB / 0.5532 GB, free: 54.82 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1604, allocations: 76.75 MB / 0.6282 GB, free: 10.01 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.113/6.273, allocations: 2.142 GB / 2.77 GB, free: 142.1 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/6.274, allocations: 95.92 kB / 2.77 GB, free: 142 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 7.64/13.91, allocations: 1.961 GB / 4.731 GB, free: 135.5 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.314e-06/13.91, allocations: 0 / 4.731 GB, free: 135.5 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001561/13.91, allocations: 39.89 kB / 4.731 GB, free: 135.5 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.004177/13.92, allocations: 1.264 MB / 4.733 GB, free: 134.8 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/13.92, allocations: 13 kB / 4.733 GB, free: 134.8 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001172/13.92, allocations: 198.4 kB / 4.733 GB, free: 134.8 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004032/13.92, allocations: 1.467 MB / 4.734 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.736e-05/13.92, allocations: 47.98 kB / 4.734 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/13.92, allocations: 65.16 kB / 4.734 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004136/13.93, allocations: 1.597 MB / 4.736 GB, free: 134.2 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/13.93, allocations: 7.312 kB / 4.736 GB, free: 134.2 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.564e-05/13.93, allocations: 31.06 kB / 4.736 GB, free: 134.2 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.152e-05/13.93, allocations: 15.19 kB / 4.736 GB, free: 134.2 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003718/13.93, allocations: 1.382 MB / 4.737 GB, free: 134.2 MB / 0.6511 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.004642/13.94, allocations: 4.61 MB / 4.742 GB, free: 131.2 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004324/13.94, allocations: 4.679 MB / 4.746 GB, free: 126.9 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003887/13.94, allocations: 330 kB / 4.747 GB, free: 126.9 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002832/13.94, allocations: 194.2 kB / 4.747 GB, free: 126.8 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003156/13.94, allocations: 0.9775 MB / 4.748 GB, free: 126.7 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007314/13.95, allocations: 30.22 kB / 4.748 GB, free: 126.7 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=35): time 4.679e-06/13.95, allocations: 0 / 4.748 GB, free: 126.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=35): time 0.02067/13.97, allocations: 4.747 MB / 4.753 GB, free: 126.6 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.34e-05/13.97, allocations: 88.38 kB / 4.753 GB, free: 126.5 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002191/13.97, allocations: 1.028 MB / 4.754 GB, free: 126.3 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002152/13.97, allocations: 39.14 kB / 4.754 GB, free: 126.3 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005157/13.97, allocations: 0.528 MB / 4.754 GB, free: 126.1 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002274/13.97, allocations: 119.8 kB / 4.754 GB, free: 126.1 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.217e-05/13.97, allocations: 10.38 kB / 4.754 GB, free: 126.1 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.321e-05/13.97, allocations: 330.9 kB / 4.755 GB, free: 125.8 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005435/13.97, allocations: 354.4 kB / 4.755 GB, free: 125.8 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007317/13.97, allocations: 0.6817 MB / 4.756 GB, free: 125.4 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000621/13.97, allocations: 431.2 kB / 4.756 GB, free: 125.4 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/13.97, allocations: 0 / 4.756 GB, free: 125.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.01488/13.99, allocations: 3.925 MB / 4.76 GB, free: 125.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005158/13.99, allocations: 2.15 MB / 4.762 GB, free: 123 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.976e-05/13.99, allocations: 3.969 kB / 4.762 GB, free: 123 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001227/13.99, allocations: 0.6581 MB / 4.763 GB, free: 123 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003917/13.99, allocations: 79.22 kB / 4.763 GB, free: 123 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002483/13.99, allocations: 1.766 MB / 4.764 GB, free: 122.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001993/13.99, allocations: 237.6 kB / 4.765 GB, free: 122.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001381/13.99, allocations: 38.56 kB / 4.765 GB, free: 122.4 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/13.99, allocations: 2.688 kB / 4.765 GB, free: 122.4 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00127/13.99, allocations: 0.7762 MB / 4.766 GB, free: 122.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/13.99, allocations: 3.281 kB / 4.766 GB, free: 122.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005956/14, allocations: 261.6 kB / 4.766 GB, free: 122.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003278/14, allocations: 75.73 kB / 4.766 GB, free: 122.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003494/14, allocations: 3.061 MB / 4.769 GB, free: 121 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001229/14, allocations: 100.2 kB / 4.769 GB, free: 121 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.579e-05/14, allocations: 21.69 kB / 4.769 GB, free: 121 MB / 0.6511 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_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * 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 {1 22} Notification: Performance of prepare postOptimizeDAE: time 0.0002527/14, allocations: 143.1 kB / 4.769 GB, free: 120.9 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003171/14, allocations: 109.7 kB / 4.769 GB, free: 120.8 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003487/14, allocations: 123.1 kB / 4.769 GB, free: 120.8 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/14, allocations: 7.75 kB / 4.769 GB, free: 120.8 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/14, allocations: 3.094 kB / 4.769 GB, free: 120.8 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.503e-06/14, allocations: 0 / 4.769 GB, free: 120.8 MB / 0.6511 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 postOpt removeSimpleEquations (simulation): time 0.01777/14.02, allocations: 5.662 MB / 4.775 GB, free: 120 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.398e-05/14.02, allocations: 5 kB / 4.775 GB, free: 120 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002799/14.02, allocations: 51.44 kB / 4.775 GB, free: 120 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001001/14.02, allocations: 0.5952 MB / 4.775 GB, free: 120 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.771e-05/14.02, allocations: 14.55 kB / 4.775 GB, free: 120 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0237/14.04, allocations: 9.122 MB / 4.784 GB, free: 115.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/14.04, allocations: 3.75 kB / 4.784 GB, free: 115.9 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01421/14.06, allocations: 3.89 MB / 4.788 GB, free: 114 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006791/14.06, allocations: 183.7 kB / 4.788 GB, free: 113.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004163/14.06, allocations: 10.75 kB / 4.788 GB, free: 113.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001556/14.06, allocations: 213.1 kB / 4.789 GB, free: 113.8 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003196/14.06, allocations: 49.55 kB / 4.789 GB, free: 113.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.997e-05/14.06, allocations: 15.86 kB / 4.789 GB, free: 113.8 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.00123/14.06, allocations: 0.8169 MB / 4.789 GB, free: 113.4 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.81e-07/14.06, allocations: 3.5 kB / 4.789 GB, free: 113.4 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002909/14.07, allocations: 0.7168 MB / 4.79 GB, free: 113.3 MB / 0.6511 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_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * 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): 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 {1 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.00177/14.07, allocations: 1.127 MB / 4.791 GB, free: 112.8 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002813/14.07, allocations: 1.556 MB / 4.793 GB, free: 111.4 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.698e-06/14.07, allocations: 4 kB / 4.793 GB, free: 111.4 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001241/14.07, allocations: 0.6352 MB / 4.793 GB, free: 110.7 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003466/14.08, allocations: 0.6423 MB / 4.794 GB, free: 110.1 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002732/14.08, allocations: 1.67 MB / 4.796 GB, free: 108.4 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000604/14.08, allocations: 1.235 MB / 4.797 GB, free: 107.1 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.002004/14.08, allocations: 0.7533 MB / 4.798 GB, free: 106.4 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/14.08, allocations: 47.44 kB / 4.798 GB, free: 106.3 MB / 0.6511 GB Notification: Performance of SimCode: time 9.52e-07/14.08, allocations: 0 / 4.798 GB, free: 106.3 MB / 0.6511 GB Notification: Performance of Templates: time 0.06974/14.15, allocations: 52.68 MB / 4.849 GB, free: 54.34 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1)