Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.conf.json 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/IBPSA 3.0.0-master/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) 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 IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 167.8 kB / 16.76 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.5227/0.5227, allocations: 86.28 MB / 103.8 MB, free: 14.55 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 223.3 MB / 348.4 MB, free: 4.902 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009161/0.0009159, allocations: 93.7 kB / 420.2 MB, free: 9.613 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003787/0.0003788, allocations: 16 kB / 0.4901 GB, free: 7.961 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3778/0.3782, allocations: 71.02 MB / 0.5595 GB, free: 43.59 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.159/4.537, allocations: 1.821 GB / 2.38 GB, free: 237.4 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002537/4.538, allocations: 96.88 kB / 2.381 GB, free: 237.4 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.233/10.77, allocations: 1.798 GB / 4.179 GB, free: 71.29 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.655e-06/10.77, allocations: 0 / 4.179 GB, free: 71.29 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002023/10.77, allocations: 31.98 kB / 4.179 GB, free: 71.26 MB / 0.6042 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.005375/10.78, allocations: 1.504 MB / 4.18 GB, free: 69.69 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/10.78, allocations: 12.03 kB / 4.18 GB, free: 69.68 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001248/10.78, allocations: 183.5 kB / 4.18 GB, free: 69.5 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003983/10.78, allocations: 1.44 MB / 4.182 GB, free: 68 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.937e-05/10.78, allocations: 41.38 kB / 4.182 GB, free: 67.96 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001744/10.78, allocations: 60.38 kB / 4.182 GB, free: 67.91 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001339/10.78, allocations: 0.801 MB / 4.182 GB, free: 67.02 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.722e-05/10.78, allocations: 7.875 kB / 4.182 GB, free: 67.02 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.48e-05/10.78, allocations: 20 kB / 4.183 GB, free: 67 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.981e-05/10.78, allocations: 15.98 kB / 4.183 GB, free: 66.98 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/10.78, allocations: 0.5422 MB / 4.183 GB, free: 66.44 MB / 0.6042 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.005287/10.79, allocations: 4.22 MB / 4.187 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006925/10.79, allocations: 451.5 kB / 4.188 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004476/10.79, allocations: 343.1 kB / 4.188 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003095/10.79, allocations: 194.2 kB / 4.188 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004777/10.79, allocations: 315.1 kB / 4.188 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005695/10.79, allocations: 31.69 kB / 4.188 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 4.819e-06/10.79, allocations: 0 / 4.188 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.004517/10.8, allocations: 1.63 MB / 4.19 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/10.8, allocations: 81.11 kB / 4.19 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001613/10.8, allocations: 1.147 MB / 4.191 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.101e-05/10.8, allocations: 37.7 kB / 4.191 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003615/10.8, allocations: 488.5 kB / 4.192 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.987e-05/10.8, allocations: 114.4 kB / 4.192 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.262e-05/10.8, allocations: 12 kB / 4.192 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.238e-05/10.8, allocations: 325.9 kB / 4.192 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003356/10.8, allocations: 213 kB / 4.192 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005133/10.8, allocations: 0.5216 MB / 4.193 GB, free: 55.81 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000757/10.8, allocations: 0.6271 MB / 4.194 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/10.8, allocations: 0 / 4.194 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001984/10.8, allocations: 1.023 MB / 4.195 GB, free: 54.07 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001503/10.8, allocations: 282.8 kB / 4.195 GB, free: 53.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/10.8, allocations: 8 kB / 4.195 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001098/10.8, allocations: 336.4 kB / 4.195 GB, free: 53.37 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002429/10.8, allocations: 75.89 kB / 4.195 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008852/10.81, allocations: 1.023 MB / 4.196 GB, free: 52.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001135/10.81, allocations: 91.81 kB / 4.196 GB, free: 52.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.538e-05/10.81, allocations: 27.94 kB / 4.196 GB, free: 52.13 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.846e-06/10.81, allocations: 4 kB / 4.196 GB, free: 52.13 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001278/10.81, allocations: 0.7828 MB / 4.197 GB, free: 51.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/10.81, allocations: 4 kB / 4.197 GB, free: 51.33 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005516/10.81, allocations: 240.8 kB / 4.197 GB, free: 51.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002244/10.81, allocations: 71.83 kB / 4.197 GB, free: 51.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003357/10.81, allocations: 2.997 MB / 4.2 GB, free: 47.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001189/10.81, allocations: 91.8 kB / 4.2 GB, free: 47.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.406e-05/10.81, allocations: 24 kB / 4.2 GB, free: 47.78 MB / 0.6042 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.0007722/10.81, allocations: 468.7 kB / 4.201 GB, free: 47.31 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003178/10.81, allocations: 102.7 kB / 4.201 GB, free: 47.21 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001492/10.82, allocations: 0.7812 MB / 4.202 GB, free: 46.41 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/10.82, allocations: 4 kB / 4.202 GB, free: 46.41 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/10.82, allocations: 0 / 4.202 GB, free: 46.41 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/10.82, allocations: 3.984 kB / 4.202 GB, free: 46.4 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002806/10.82, allocations: 1.726 MB / 4.203 GB, free: 44.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/10.82, allocations: 0 / 4.203 GB, free: 44.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001327/10.82, allocations: 36.3 kB / 4.203 GB, free: 44.56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004774/10.82, allocations: 243.1 kB / 4.204 GB, free: 44.32 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.698e-05/10.82, allocations: 12 kB / 4.204 GB, free: 44.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007593/10.82, allocations: 1.001 MB / 4.205 GB, free: 43.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/10.82, allocations: 0 / 4.205 GB, free: 43.29 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001247/10.82, allocations: 0.9029 MB / 4.206 GB, free: 42.34 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005701/10.82, allocations: 231.7 kB / 4.206 GB, free: 42.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002267/10.82, allocations: 8 kB / 4.206 GB, free: 42.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007193/10.82, allocations: 67.77 kB / 4.206 GB, free: 42.02 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/10.82, allocations: 35.89 kB / 4.206 GB, free: 41.99 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.306e-05/10.82, allocations: 8 kB / 4.206 GB, free: 41.98 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001127/10.82, allocations: 0.808 MB / 4.207 GB, free: 41.16 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.3e-07/10.82, allocations: 4 kB / 4.207 GB, free: 41.16 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001994/10.83, allocations: 0.5387 MB / 4.207 GB, free: 40.62 MB / 0.6042 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.001609/10.83, allocations: 0.9089 MB / 4.208 GB, free: 39.72 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001931/10.83, allocations: 1.105 MB / 4.209 GB, free: 38.58 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/10.83, allocations: 4.062 kB / 4.209 GB, free: 38.57 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004319/10.83, allocations: 242.6 kB / 4.209 GB, free: 38.34 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003166/10.83, allocations: 0.6327 MB / 4.21 GB, free: 37.72 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003107/10.84, allocations: 1.991 MB / 4.212 GB, free: 35.67 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006439/10.84, allocations: 1.185 MB / 4.213 GB, free: 34.45 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001078/10.84, allocations: 312.4 kB / 4.213 GB, free: 34.14 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001546/10.84, allocations: 59.44 kB / 4.213 GB, free: 34.09 MB / 0.6042 GB Notification: Performance of SimCode: time 1.814e-06/10.84, allocations: 0 / 4.213 GB, free: 34.09 MB / 0.6042 GB Notification: Performance of Templates: time 0.04516/10.88, allocations: 31.77 MB / 4.244 GB, free: 2.508 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)