Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.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.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8024/0.8024, allocations: 143.4 MB / 158.3 MB, free: 5.766 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.00113/0.00113, allocations: 195.3 kB / 191.5 MB, free: 5.75 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.545/1.545, allocations: 223.2 MB / 447.7 MB, free: 4.824 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.0009285/0.0009288, allocations: 103.6 kB / 0.5188 GB, free: 1.176 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001777/0.001776, allocations: 274.3 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004585/0.0004585, allocations: 19 kB / 0.6929 GB, free: 59.61 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2071, allocations: 82.79 MB / 0.7737 GB, free: 13.85 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.148/5.355, allocations: 1.83 GB / 2.603 GB, free: 248 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003201/5.356, allocations: 100.8 kB / 2.603 GB, free: 248 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.569/11.93, allocations: 1.804 GB / 4.407 GB, free: 124.6 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.065e-06/11.93, allocations: 0 / 4.407 GB, free: 124.6 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001502/11.93, allocations: 31.98 kB / 4.407 GB, free: 124.5 MB / 0.7136 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.004884/11.93, allocations: 1.514 MB / 4.409 GB, free: 123 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.882e-05/11.93, allocations: 8.031 kB / 4.409 GB, free: 123 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001043/11.93, allocations: 181.4 kB / 4.409 GB, free: 122.8 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003606/11.93, allocations: 1.401 MB / 4.41 GB, free: 121.3 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.469e-05/11.93, allocations: 45 kB / 4.41 GB, free: 121.3 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.841e-05/11.94, allocations: 60 kB / 4.41 GB, free: 121.2 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/11.94, allocations: 0.7927 MB / 4.411 GB, free: 120.3 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/11.94, allocations: 3.938 kB / 4.411 GB, free: 120.3 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.455e-05/11.94, allocations: 24 kB / 4.411 GB, free: 120.3 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.568e-05/11.94, allocations: 12 kB / 4.411 GB, free: 120.3 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007996/11.94, allocations: 0.5461 MB / 4.412 GB, free: 119.8 MB / 0.7136 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.004312/11.94, allocations: 4.21 MB / 4.416 GB, free: 115.3 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007256/11.94, allocations: 443 kB / 4.416 GB, free: 114.8 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003009/11.94, allocations: 194.2 kB / 4.416 GB, free: 114.6 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004461/11.94, allocations: 323.6 kB / 4.417 GB, free: 114.3 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003194/11.94, allocations: 31.59 kB / 4.417 GB, free: 114.2 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 1.974e-06/11.94, allocations: 0 / 4.417 GB, free: 114.2 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33): time 0.00324/11.95, allocations: 1.382 MB / 4.418 GB, free: 112.8 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/11.95, allocations: 89.09 kB / 4.418 GB, free: 112.7 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/11.95, allocations: 1.016 MB / 4.419 GB, free: 111.7 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.479e-05/11.95, allocations: 33.7 kB / 4.419 GB, free: 111.7 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003004/11.95, allocations: 492.9 kB / 4.42 GB, free: 111.2 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.098e-05/11.95, allocations: 114.4 kB / 4.42 GB, free: 111.1 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.286e-05/11.95, allocations: 12 kB / 4.42 GB, free: 111.1 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.796e-05/11.95, allocations: 326 kB / 4.42 GB, free: 110.7 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003023/11.95, allocations: 205 kB / 4.42 GB, free: 110.5 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004551/11.95, allocations: 0.5294 MB / 4.421 GB, free: 109.9 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003892/11.95, allocations: 306.8 kB / 4.421 GB, free: 109.5 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/11.95, allocations: 4 kB / 4.421 GB, free: 109.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001347/11.95, allocations: 0.9756 MB / 4.422 GB, free: 108.6 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.000455/11.95, allocations: 2.134 MB / 4.424 GB, free: 106.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/11.95, allocations: 8 kB / 4.424 GB, free: 106.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005506/11.95, allocations: 254.8 kB / 4.424 GB, free: 106 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002425/11.95, allocations: 75.81 kB / 4.424 GB, free: 105.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008176/11.95, allocations: 1.032 MB / 4.425 GB, free: 104.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009863/11.95, allocations: 91.81 kB / 4.426 GB, free: 104.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.835e-05/11.95, allocations: 24 kB / 4.426 GB, free: 104.8 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/11.95, allocations: 4.625 kB / 4.426 GB, free: 104.8 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001202/11.96, allocations: 0.7726 MB / 4.426 GB, free: 104 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/11.96, allocations: 8 kB / 4.426 GB, free: 104 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005468/11.96, allocations: 242.5 kB / 4.427 GB, free: 103.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002106/11.96, allocations: 67.89 kB / 4.427 GB, free: 103.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003077/11.96, allocations: 3.047 MB / 4.43 GB, free: 100.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/11.96, allocations: 95.77 kB / 4.43 GB, free: 100.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-05/11.96, allocations: 27.98 kB / 4.43 GB, free: 100.4 MB / 0.7136 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 (35): * Single equations (assignments): 33 * 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 20} Notification: Performance of prepare postOptimizeDAE: time 0.000679/11.96, allocations: 468.7 kB / 4.43 GB, free: 99.89 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/11.96, allocations: 102.7 kB / 4.43 GB, free: 99.79 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001212/11.96, allocations: 0.7771 MB / 4.431 GB, free: 99 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/11.96, allocations: 11.95 kB / 4.431 GB, free: 98.98 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/11.96, allocations: 0 / 4.431 GB, free: 98.98 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/11.96, allocations: 0 / 4.431 GB, free: 98.98 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002353/11.96, allocations: 1.733 MB / 4.433 GB, free: 97.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/11.96, allocations: 7.984 kB / 4.433 GB, free: 97.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001273/11.96, allocations: 23.98 kB / 4.433 GB, free: 97.14 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004602/11.97, allocations: 250.3 kB / 4.433 GB, free: 96.89 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.603e-05/11.97, allocations: 16.2 kB / 4.433 GB, free: 96.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000691/11.97, allocations: 0.9987 MB / 4.434 GB, free: 95.86 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/11.97, allocations: 7.969 kB / 4.434 GB, free: 95.85 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/11.97, allocations: 0.9732 MB / 4.435 GB, free: 94.8 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004639/11.97, allocations: 231.9 kB / 4.435 GB, free: 94.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/11.97, allocations: 11.98 kB / 4.435 GB, free: 94.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005987/11.97, allocations: 63.83 kB / 4.435 GB, free: 94.48 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.734e-05/11.97, allocations: 35.84 kB / 4.435 GB, free: 94.44 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.563e-05/11.97, allocations: 20 kB / 4.435 GB, free: 94.42 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009552/11.97, allocations: 0.804 MB / 4.436 GB, free: 93.61 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/11.97, allocations: 0 / 4.436 GB, free: 93.61 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001625/11.97, allocations: 0.5425 MB / 4.437 GB, free: 93.07 MB / 0.7136 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 (13): * Single equations (assignments): 10 * 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 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.001277/11.97, allocations: 0.9149 MB / 4.437 GB, free: 92.16 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001788/11.97, allocations: 1.104 MB / 4.439 GB, free: 91.02 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/11.97, allocations: 0 / 4.439 GB, free: 91.02 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0004174/11.97, allocations: 255 kB / 4.439 GB, free: 90.77 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002881/11.98, allocations: 0.6295 MB / 4.439 GB, free: 90.15 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002593/11.98, allocations: 1.973 MB / 4.441 GB, free: 88.12 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005305/11.98, allocations: 1.208 MB / 4.443 GB, free: 86.88 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.000981/11.98, allocations: 308.4 kB / 4.443 GB, free: 86.58 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/11.98, allocations: 63.42 kB / 4.443 GB, free: 86.52 MB / 0.7136 GB Notification: Performance of SimCode: time 1.353e-06/11.98, allocations: 3.938 kB / 4.443 GB, free: 86.51 MB / 0.7136 GB Notification: Performance of Templates: time 0.04587/12.03, allocations: 31.43 MB / 4.474 GB, free: 55.3 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)