Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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 4.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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002835/0.002835, allocations: 183 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5819/0.5819, allocations: 91.99 MB / 108.5 MB, free: 13.09 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.873/1.873, allocations: 223.2 MB / 354.3 MB, free: 12.14 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.001094/0.001094, allocations: 91.28 kB / 427.4 MB, free: 3.891 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003692/0.0003692, allocations: 8 kB / 0.4983 GB, free: 42.24 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.202, allocations: 72.31 MB / 0.5689 GB, free: 1.863 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.644/4.846, allocations: 1.823 GB / 2.392 GB, free: 31.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/4.847, allocations: 96.5 kB / 2.392 GB, free: 31.8 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.62/11.47, allocations: 1.998 GB / 4.389 GB, free: 102.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.647e-06/11.47, allocations: 0 / 4.389 GB, free: 102.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.000127/11.47, allocations: 36.17 kB / 4.389 GB, free: 102.7 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.005493/11.47, allocations: 1.583 MB / 4.391 GB, free: 101.1 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/11.47, allocations: 11.97 kB / 4.391 GB, free: 101.1 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/11.47, allocations: 202.3 kB / 4.391 GB, free: 100.9 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00361/11.48, allocations: 1.445 MB / 4.393 GB, free: 99.38 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.677e-05/11.48, allocations: 45.31 kB / 4.393 GB, free: 99.34 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/11.48, allocations: 71.94 kB / 4.393 GB, free: 99.27 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/11.48, allocations: 0.9526 MB / 4.394 GB, free: 98.24 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/11.48, allocations: 4 kB / 4.394 GB, free: 98.23 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.23e-05/11.48, allocations: 24 kB / 4.394 GB, free: 98.21 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.513e-05/11.48, allocations: 16 kB / 4.394 GB, free: 98.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/11.48, allocations: 0.7531 MB / 4.394 GB, free: 97.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.004158/11.48, allocations: 4.73 MB / 4.399 GB, free: 92.39 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002079/11.49, allocations: 4.063 MB / 4.403 GB, free: 87.51 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003178/11.49, allocations: 198.2 kB / 4.403 GB, free: 87.28 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004677/11.49, allocations: 326.5 kB / 4.403 GB, free: 86.94 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004352/11.49, allocations: 35.59 kB / 4.404 GB, free: 86.91 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=36): time 2.255e-06/11.49, allocations: 0 / 4.404 GB, free: 86.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=36): time 0.003043/11.49, allocations: 1.308 MB / 4.405 GB, free: 85.57 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/11.49, allocations: 85.06 kB / 4.405 GB, free: 85.47 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0012/11.49, allocations: 1.034 MB / 4.406 GB, free: 84.42 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.691e-05/11.49, allocations: 41.7 kB / 4.406 GB, free: 84.38 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003577/11.49, allocations: 0.5205 MB / 4.406 GB, free: 83.85 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.342e-05/11.49, allocations: 130.2 kB / 4.407 GB, free: 83.72 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.283e-05/11.49, allocations: 8 kB / 4.407 GB, free: 83.71 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.13e-05/11.49, allocations: 330 kB / 4.407 GB, free: 83.39 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003288/11.49, allocations: 208.9 kB / 4.407 GB, free: 83.18 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005093/11.49, allocations: 0.5561 MB / 4.408 GB, free: 82.48 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004026/11.49, allocations: 322.5 kB / 4.408 GB, free: 82.16 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/11.49, allocations: 8 kB / 4.408 GB, free: 82.15 MB / 0.6042 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001366/11.49, allocations: 0.971 MB / 4.409 GB, free: 81.16 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006002/11.5, allocations: 2.236 MB / 4.411 GB, free: 78.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.591e-05/11.5, allocations: 4 kB / 4.411 GB, free: 78.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005364/11.5, allocations: 238 kB / 4.411 GB, free: 78.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002801/11.5, allocations: 75.83 kB / 4.411 GB, free: 78.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008785/11.5, allocations: 0.9989 MB / 4.412 GB, free: 77.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/11.5, allocations: 103.8 kB / 4.412 GB, free: 77.32 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-05/11.5, allocations: 24 kB / 4.412 GB, free: 77.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/11.5, allocations: 5.25 kB / 4.412 GB, free: 77.29 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001299/11.5, allocations: 0.7863 MB / 4.413 GB, free: 76.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/11.5, allocations: 8.656 kB / 4.413 GB, free: 76.49 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004967/11.5, allocations: 226.1 kB / 4.413 GB, free: 76.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002497/11.5, allocations: 83.83 kB / 4.414 GB, free: 76.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003082/11.5, allocations: 2.934 MB / 4.416 GB, free: 73.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001187/11.5, allocations: 115.8 kB / 4.417 GB, free: 73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.988e-05/11.5, allocations: 24 kB / 4.417 GB, free: 72.98 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (40): * Single equations (assignments): 38 * 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.000727/11.51, allocations: 481.6 kB / 4.417 GB, free: 72.5 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/11.51, allocations: 106.7 kB / 4.417 GB, free: 72.39 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001254/11.51, allocations: 0.7931 MB / 4.418 GB, free: 71.59 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/11.51, allocations: 4 kB / 4.418 GB, free: 71.59 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/11.51, allocations: 4 kB / 4.418 GB, free: 71.58 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/11.51, allocations: 0 / 4.418 GB, free: 71.58 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 postOpt removeSimpleEquations (simulation): time 0.002695/11.51, allocations: 2.163 MB / 4.42 GB, free: 69.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/11.51, allocations: 4 kB / 4.42 GB, free: 69.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002069/11.51, allocations: 55.89 kB / 4.42 GB, free: 69.22 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003709/11.51, allocations: 172.7 kB / 4.42 GB, free: 69.05 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.855e-05/11.51, allocations: 8.188 kB / 4.42 GB, free: 69.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005716/11.51, allocations: 0.8646 MB / 4.421 GB, free: 68.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/11.51, allocations: 0 / 4.421 GB, free: 68.15 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001247/11.51, allocations: 0.9626 MB / 4.422 GB, free: 67.1 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004945/11.51, allocations: 231.7 kB / 4.422 GB, free: 66.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/11.51, allocations: 8 kB / 4.422 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006751/11.51, allocations: 79.75 kB / 4.422 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/11.51, allocations: 39.91 kB / 4.422 GB, free: 66.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.754e-05/11.51, allocations: 15.94 kB / 4.422 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0009865/11.51, allocations: 0.8248 MB / 4.423 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.9e-07/11.51, allocations: 0 / 4.423 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002043/11.52, allocations: 0.6011 MB / 4.424 GB, free: 65.28 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (26): * Single equations (assignments): 23 * 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.001544/11.52, allocations: 1.065 MB / 4.425 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001884/11.52, allocations: 1.141 MB / 4.426 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/11.52, allocations: 0 / 4.426 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000398/11.52, allocations: 256 kB / 4.426 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003043/11.52, allocations: 0.6438 MB / 4.427 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00282/11.53, allocations: 2.102 MB / 4.429 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005346/11.53, allocations: 1.229 MB / 4.43 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001099/11.53, allocations: 392.6 kB / 4.43 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/11.53, allocations: 67.44 kB / 4.43 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of SimCode: time 1.443e-06/11.53, allocations: 0 / 4.43 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of Templates: time 0.04885/11.58, allocations: 33.37 MB / 4.463 GB, free: 25.12 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)