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.4.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.4.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") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.7193/0.7193, allocations: 117.9 MB / 133.9 MB, free: 9.188 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001105/0.001105, allocations: 184.3 kB / 161.7 MB, free: 13.98 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.667/1.667, allocations: 205.4 MB / 394.8 MB, free: 10.09 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.0007677/0.0007676, allocations: 86.72 kB / 470.1 MB, free: 29.09 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000395/0.000395, allocations: 16 kB / 0.5423 GB, free: 9.738 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1609, allocations: 74.54 MB / 0.6151 GB, free: 15.14 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.694/4.855, allocations: 2.141 GB / 2.756 GB, free: 160.3 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/4.855, allocations: 99.94 kB / 2.756 GB, free: 160.2 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.78/11.63, allocations: 1.959 GB / 4.715 GB, free: 105.9 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.086e-06/11.63, allocations: 4.578 kB / 4.715 GB, free: 105.9 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.000244/11.63, allocations: 32.84 kB / 4.715 GB, free: 105.9 MB / 0.6355 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.006581/11.64, allocations: 1.559 MB / 4.716 GB, free: 105.2 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/11.64, allocations: 12.84 kB / 4.716 GB, free: 105.2 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001493/11.64, allocations: 195.7 kB / 4.716 GB, free: 105.1 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004823/11.65, allocations: 1.529 MB / 4.718 GB, free: 104.8 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.784e-05/11.65, allocations: 44.62 kB / 4.718 GB, free: 104.8 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000223/11.65, allocations: 70.28 kB / 4.718 GB, free: 104.8 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005254/11.65, allocations: 1.844 MB / 4.72 GB, free: 104.6 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/11.65, allocations: 3.5 kB / 4.72 GB, free: 104.6 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.529e-05/11.65, allocations: 21.53 kB / 4.72 GB, free: 104.6 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.799e-05/11.65, allocations: 14.59 kB / 4.72 GB, free: 104.6 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004653/11.66, allocations: 1.655 MB / 4.721 GB, free: 104.6 MB / 0.6355 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.005064/11.66, allocations: 4.605 MB / 4.726 GB, free: 101.5 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004985/11.67, allocations: 4.93 MB / 4.731 GB, free: 97.3 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004471/11.67, allocations: 349.3 kB / 4.731 GB, free: 97.29 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002742/11.67, allocations: 192.5 kB / 4.731 GB, free: 97.1 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0037/11.67, allocations: 1.219 MB / 4.732 GB, free: 97.03 MB / 0.6355 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007255/11.67, allocations: 32.94 kB / 4.732 GB, free: 97.02 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=35): time 3.026e-06/11.67, allocations: 0 / 4.732 GB, free: 97.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=35): time 0.02799/11.7, allocations: 7.179 MB / 4.739 GB, free: 96.82 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.356e-05/11.7, allocations: 84.83 kB / 4.74 GB, free: 96.72 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00227/11.7, allocations: 1.166 MB / 4.741 GB, free: 96.58 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002076/11.7, allocations: 40.92 kB / 4.741 GB, free: 96.55 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004932/11.7, allocations: 0.5347 MB / 4.741 GB, free: 96.39 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002211/11.7, allocations: 119.8 kB / 4.741 GB, free: 96.34 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.233e-05/11.71, allocations: 13.66 kB / 4.741 GB, free: 96.34 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.684e-05/11.71, allocations: 321.9 kB / 4.742 GB, free: 96.03 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001306/11.71, allocations: 0.5764 MB / 4.742 GB, free: 96.03 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001492/11.71, allocations: 0.9144 MB / 4.743 GB, free: 95.65 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002715/11.71, allocations: 1.309 MB / 4.744 GB, free: 95.43 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.085e-05/11.71, allocations: 3.906 kB / 4.744 GB, free: 95.43 MB / 0.6355 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.02185/11.73, allocations: 5.532 MB / 4.75 GB, free: 95.29 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001683/11.73, allocations: 273 kB / 4.75 GB, free: 94.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/11.73, allocations: 7.375 kB / 4.75 GB, free: 94.98 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002646/11.74, allocations: 1.081 MB / 4.751 GB, free: 94.97 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003683/11.74, allocations: 81.67 kB / 4.751 GB, free: 94.97 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03784/11.77, allocations: 13.55 MB / 4.764 GB, free: 92.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002018/11.78, allocations: 229.6 kB / 4.765 GB, free: 92.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001966/11.78, allocations: 34.2 kB / 4.765 GB, free: 92.72 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/11.78, allocations: 3 kB / 4.765 GB, free: 92.72 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001652/11.78, allocations: 0.8156 MB / 4.766 GB, free: 92.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.8e-05/11.78, allocations: 7.812 kB / 4.766 GB, free: 92.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007172/11.78, allocations: 258 kB / 4.766 GB, free: 92.41 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003419/11.78, allocations: 75.88 kB / 4.766 GB, free: 92.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003771/11.78, allocations: 3.084 MB / 4.769 GB, free: 90.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0016/11.78, allocations: 105.8 kB / 4.769 GB, free: 90.39 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/11.78, allocations: 25.31 kB / 4.769 GB, free: 90.39 MB / 0.6355 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 () * Number of clocked 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.001124/11.79, allocations: 469 kB / 4.769 GB, free: 90.12 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004173/11.79, allocations: 108 kB / 4.77 GB, free: 90.07 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004364/11.79, allocations: 135.7 kB / 4.77 GB, free: 89.99 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.176e-06/11.79, allocations: 7.094 kB / 4.77 GB, free: 89.99 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/11.79, allocations: 0 / 4.77 GB, free: 89.99 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/11.79, allocations: 4 kB / 4.77 GB, free: 89.99 MB / 0.6355 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 postOpt removeSimpleEquations (simulation): time 0.01985/11.81, allocations: 6.312 MB / 4.776 GB, free: 88.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.516e-05/11.81, allocations: 7.906 kB / 4.776 GB, free: 88.48 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002746/11.81, allocations: 47.2 kB / 4.776 GB, free: 88.48 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002517/11.81, allocations: 1.018 MB / 4.777 GB, free: 88.33 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.429e-05/11.81, allocations: 19.23 kB / 4.777 GB, free: 88.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02976/11.84, allocations: 11.24 MB / 4.788 GB, free: 83.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.194e-06/11.84, allocations: 7.969 kB / 4.788 GB, free: 83.04 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.016/11.86, allocations: 4.458 MB / 4.792 GB, free: 80.91 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007319/11.86, allocations: 189.9 kB / 4.792 GB, free: 80.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004629/11.86, allocations: 11.81 kB / 4.792 GB, free: 80.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001543/11.86, allocations: 214.7 kB / 4.793 GB, free: 80.64 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003705/11.86, allocations: 63.48 kB / 4.793 GB, free: 80.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.254e-05/11.86, allocations: 19.7 kB / 4.793 GB, free: 80.59 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001333/11.86, allocations: 0.819 MB / 4.794 GB, free: 80.14 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.1e-07/11.86, allocations: 3.938 kB / 4.794 GB, free: 80.14 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003819/11.86, allocations: 0.8243 MB / 4.794 GB, free: 79.88 MB / 0.6355 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) * Number of clocked states: 0 () * 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.001908/11.87, allocations: 1.131 MB / 4.795 GB, free: 78.93 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.004781/11.87, allocations: 2.211 MB / 4.798 GB, free: 76.67 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/11.87, allocations: 0 / 4.798 GB, free: 76.67 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002036/11.87, allocations: 0.8714 MB / 4.798 GB, free: 75.79 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003876/11.88, allocations: 0.6447 MB / 4.799 GB, free: 75.16 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004431/11.88, allocations: 2.526 MB / 4.802 GB, free: 72.59 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007755/11.88, allocations: 1.221 MB / 4.803 GB, free: 71.33 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001204/11.88, allocations: 348.4 kB / 4.803 GB, free: 71 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001713/11.88, allocations: 63.44 kB / 4.803 GB, free: 70.94 MB / 0.6355 GB Notification: Performance of SimCode: time 7.11e-07/11.88, allocations: 0 / 4.803 GB, free: 70.94 MB / 0.6355 GB Notification: Performance of Templates: time 0.06733/11.95, allocations: 54.75 MB / 4.857 GB, free: 16.84 MB / 0.6355 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)