Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001867/0.001867, allocations: 172.8 kB / 16.76 MB, free: 4.938 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.5076/0.5076, 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.468/1.468, allocations: 223.2 MB / 348.4 MB, free: 5.02 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.001266/0.001265, allocations: 89.95 kB / 420.2 MB, free: 9.645 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005511/0.0005516, allocations: 12 kB / 0.4901 GB, free: 7.992 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3994/0.4, allocations: 71.02 MB / 0.5595 GB, free: 43.66 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.282/4.682, allocations: 1.824 GB / 2.383 GB, free: 237.2 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/4.683, allocations: 94.55 kB / 2.383 GB, free: 237.2 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.143/10.83, allocations: 1.808 GB / 4.191 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.154e-06/10.83, allocations: 0 / 4.191 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001789/10.83, allocations: 27.98 kB / 4.191 GB, free: 54.46 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.003958/10.83, allocations: 1.425 MB / 4.193 GB, free: 52.96 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/10.83, allocations: 12.02 kB / 4.193 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001093/10.83, allocations: 179.5 kB / 4.193 GB, free: 52.78 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002863/10.83, allocations: 1.155 MB / 4.194 GB, free: 51.57 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.602e-05/10.83, allocations: 45.38 kB / 4.194 GB, free: 51.52 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/10.83, allocations: 60.38 kB / 4.194 GB, free: 51.46 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/10.84, allocations: 0.7697 MB / 4.195 GB, free: 50.62 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.629e-05/10.84, allocations: 7.875 kB / 4.195 GB, free: 50.61 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.923e-05/10.84, allocations: 23.98 kB / 4.195 GB, free: 50.59 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.576e-05/10.84, allocations: 15.98 kB / 4.195 GB, free: 50.57 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009152/10.84, allocations: 0.515 MB / 4.195 GB, free: 50.05 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.004821/10.84, allocations: 4.587 MB / 4.2 GB, free: 45.09 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000677/10.84, allocations: 423.4 kB / 4.2 GB, free: 44.66 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000347/10.84, allocations: 242.3 kB / 4.201 GB, free: 44.43 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003262/10.84, allocations: 202.2 kB / 4.201 GB, free: 44.19 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004665/10.84, allocations: 301 kB / 4.201 GB, free: 43.88 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=31): time 2.635e-06/10.84, allocations: 0 / 4.201 GB, free: 43.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31): time 0.003697/10.85, allocations: 1.345 MB / 4.202 GB, free: 42.51 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/10.85, allocations: 85.11 kB / 4.202 GB, free: 42.41 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001461/10.85, allocations: 1.106 MB / 4.204 GB, free: 41.28 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.179e-05/10.85, allocations: 37.7 kB / 4.204 GB, free: 41.24 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003365/10.85, allocations: 496.1 kB / 4.204 GB, free: 40.75 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.741e-05/10.85, allocations: 110.5 kB / 4.204 GB, free: 40.64 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.931e-05/10.85, allocations: 4 kB / 4.204 GB, free: 40.63 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.861e-05/10.85, allocations: 330 kB / 4.204 GB, free: 40.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002998/10.85, allocations: 184.7 kB / 4.205 GB, free: 40.12 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000473/10.85, allocations: 0.5046 MB / 4.205 GB, free: 39.47 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006923/10.85, allocations: 0.5846 MB / 4.206 GB, free: 38.81 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/10.85, allocations: 7.938 kB / 4.206 GB, free: 38.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002078/10.85, allocations: 0.972 MB / 4.207 GB, free: 37.81 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001401/10.85, allocations: 278.6 kB / 4.207 GB, free: 37.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/10.85, allocations: 4 kB / 4.207 GB, free: 37.45 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001174/10.85, allocations: 332.4 kB / 4.207 GB, free: 37.13 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002227/10.85, allocations: 67.84 kB / 4.207 GB, free: 37.06 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008151/10.86, allocations: 1.001 MB / 4.208 GB, free: 36.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009557/10.86, allocations: 107.4 kB / 4.208 GB, free: 35.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.411e-05/10.86, allocations: 27.98 kB / 4.208 GB, free: 35.9 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.478e-06/10.86, allocations: 4 kB / 4.208 GB, free: 35.9 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0012/10.86, allocations: 0.7283 MB / 4.209 GB, free: 35.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/10.86, allocations: 4 kB / 4.209 GB, free: 35.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00044/10.86, allocations: 209.5 kB / 4.209 GB, free: 34.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001919/10.86, allocations: 67.91 kB / 4.209 GB, free: 34.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003128/10.86, allocations: 3.089 MB / 4.212 GB, free: 31.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009623/10.86, allocations: 99.52 kB / 4.213 GB, free: 31.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.755e-05/10.86, allocations: 24 kB / 4.213 GB, free: 31.52 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_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 (34): * Single equations (assignments): 32 * 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 19} Notification: Performance of prepare postOptimizeDAE: time 0.0006982/10.86, allocations: 473.3 kB / 4.213 GB, free: 31.04 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002143/10.86, allocations: 102.7 kB / 4.213 GB, free: 30.94 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001211/10.86, allocations: 0.7142 MB / 4.214 GB, free: 30.21 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/10.86, allocations: 4 kB / 4.214 GB, free: 30.21 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/10.86, allocations: 0 / 4.214 GB, free: 30.21 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/10.86, allocations: 3.984 kB / 4.214 GB, free: 30.21 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002469/10.87, allocations: 1.6 MB / 4.215 GB, free: 28.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/10.87, allocations: 4 kB / 4.215 GB, free: 28.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/10.87, allocations: 28.19 kB / 4.215 GB, free: 28.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003952/10.87, allocations: 224.7 kB / 4.216 GB, free: 28.27 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.353e-05/10.87, allocations: 8 kB / 4.216 GB, free: 28.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007457/10.87, allocations: 0.9706 MB / 4.217 GB, free: 27.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/10.87, allocations: 11.94 kB / 4.217 GB, free: 27.26 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/10.87, allocations: 0.8214 MB / 4.217 GB, free: 26.39 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004666/10.87, allocations: 215.8 kB / 4.218 GB, free: 26.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001937/10.87, allocations: 11.94 kB / 4.218 GB, free: 26.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006097/10.87, allocations: 59.78 kB / 4.218 GB, free: 26.09 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.88e-05/10.87, allocations: 35.89 kB / 4.218 GB, free: 26.06 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-05/10.87, allocations: 8 kB / 4.218 GB, free: 26.05 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0009859/10.87, allocations: 0.7915 MB / 4.218 GB, free: 25.25 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/10.87, allocations: 0 / 4.218 GB, free: 25.25 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001917/10.87, allocations: 0.5075 MB / 4.219 GB, free: 24.74 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_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 (12): * Single equations (assignments): 9 * 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 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001709/10.88, allocations: 0.97 MB / 4.22 GB, free: 23.78 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00186/10.88, allocations: 1.057 MB / 4.221 GB, free: 22.69 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.461e-06/10.88, allocations: 4 kB / 4.221 GB, free: 22.69 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004517/10.88, allocations: 236.7 kB / 4.221 GB, free: 22.46 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002317/10.88, allocations: 463.3 kB / 4.222 GB, free: 22.01 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003044/10.88, allocations: 1.964 MB / 4.224 GB, free: 19.99 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006897/10.88, allocations: 1.185 MB / 4.225 GB, free: 18.77 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.00107/10.89, allocations: 319.8 kB / 4.225 GB, free: 18.46 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/10.89, allocations: 67.42 kB / 4.225 GB, free: 18.39 MB / 0.6042 GB Notification: Performance of SimCode: time 4.91e-07/10.89, allocations: 0 / 4.225 GB, free: 18.39 MB / 0.6042 GB Notification: Performance of Templates: time 0.364/11.25, allocations: 30.02 MB / 4.254 GB, free: 151.3 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)