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 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.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.001024/0.001024, allocations: 173.1 kB / 16.76 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4571/0.4571, allocations: 86.27 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.548/1.548, allocations: 223.2 MB / 348.4 MB, free: 5.023 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.0008958/0.0008959, allocations: 91.67 kB / 420.2 MB, free: 9.664 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005755/0.0005755, allocations: 16 kB / 0.4901 GB, free: 8 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3794/0.38, allocations: 71.01 MB / 0.5595 GB, free: 43.7 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.155/4.535, allocations: 1.821 GB / 2.381 GB, free: 237.5 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000253/4.535, allocations: 98.56 kB / 2.381 GB, free: 237.5 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.453/10.99, allocations: 1.991 GB / 4.372 GB, free: 110.4 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.754e-06/10.99, allocations: 0 / 4.372 GB, free: 110.4 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002084/10.99, allocations: 35.59 kB / 4.372 GB, free: 110.4 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.005804/10.99, allocations: 1.566 MB / 4.374 GB, free: 108.9 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/10.99, allocations: 8.031 kB / 4.374 GB, free: 108.9 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001414/11, allocations: 201.5 kB / 4.374 GB, free: 108.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004013/11, allocations: 1.485 MB / 4.375 GB, free: 107.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.56e-05/11, allocations: 53.62 kB / 4.375 GB, free: 107.1 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000197/11, allocations: 64.38 kB / 4.375 GB, free: 107.1 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001465/11, allocations: 0.9652 MB / 4.376 GB, free: 106 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/11, allocations: 4 kB / 4.376 GB, free: 106 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.33e-05/11, allocations: 24 kB / 4.376 GB, free: 106 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/11, allocations: 19.94 kB / 4.376 GB, free: 106 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001153/11, allocations: 0.76 MB / 4.377 GB, free: 105.2 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.004805/11.01, allocations: 4.73 MB / 4.382 GB, free: 100.2 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001968/11.01, allocations: 4.056 MB / 4.386 GB, free: 95.35 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004596/11.01, allocations: 354.4 kB / 4.386 GB, free: 95 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002769/11.01, allocations: 194.3 kB / 4.386 GB, free: 94.78 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000464/11.01, allocations: 336.8 kB / 4.386 GB, free: 94.43 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005826/11.01, allocations: 35.69 kB / 4.386 GB, free: 94.4 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=36): time 3.957e-06/11.01, allocations: 0 / 4.386 GB, free: 94.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=36): time 0.004191/11.02, allocations: 1.542 MB / 4.388 GB, free: 92.87 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/11.02, allocations: 85.05 kB / 4.388 GB, free: 92.77 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00156/11.02, allocations: 1.173 MB / 4.389 GB, free: 91.58 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.524e-05/11.02, allocations: 36.98 kB / 4.389 GB, free: 91.54 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003726/11.02, allocations: 0.5268 MB / 4.39 GB, free: 91.01 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/11.02, allocations: 125.5 kB / 4.39 GB, free: 90.89 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.438e-05/11.02, allocations: 12 kB / 4.39 GB, free: 90.88 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.76e-05/11.02, allocations: 326 kB / 4.39 GB, free: 90.55 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003385/11.02, allocations: 212.6 kB / 4.39 GB, free: 90.35 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005214/11.02, allocations: 0.5474 MB / 4.391 GB, free: 89.66 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007919/11.02, allocations: 0.6529 MB / 4.392 GB, free: 88.95 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/11.02, allocations: 0 / 4.392 GB, free: 88.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002037/11.02, allocations: 1.045 MB / 4.393 GB, free: 87.9 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001572/11.02, allocations: 280.8 kB / 4.393 GB, free: 87.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/11.02, allocations: 5.219 kB / 4.393 GB, free: 87.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001048/11.02, allocations: 320.2 kB / 4.393 GB, free: 87.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002627/11.02, allocations: 71.91 kB / 4.393 GB, free: 87.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008691/11.02, allocations: 1.01 MB / 4.394 GB, free: 86.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001184/11.03, allocations: 99.8 kB / 4.394 GB, free: 86.03 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.4e-05/11.03, allocations: 24 kB / 4.394 GB, free: 86 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/11.03, allocations: 4 kB / 4.394 GB, free: 86 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001257/11.03, allocations: 0.7907 MB / 4.395 GB, free: 85.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/11.03, allocations: 11.94 kB / 4.395 GB, free: 85.19 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004986/11.03, allocations: 223 kB / 4.395 GB, free: 84.97 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002541/11.03, allocations: 88.02 kB / 4.395 GB, free: 84.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002815/11.03, allocations: 2.892 MB / 4.398 GB, free: 81.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/11.03, allocations: 99.8 kB / 4.398 GB, free: 81.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.884e-05/11.03, allocations: 27.98 kB / 4.398 GB, free: 81.74 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.0006474/11.03, allocations: 481.6 kB / 4.399 GB, free: 81.26 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002012/11.03, allocations: 106.6 kB / 4.399 GB, free: 81.16 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001299/11.03, allocations: 0.796 MB / 4.4 GB, free: 80.34 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/11.03, allocations: 4 kB / 4.4 GB, free: 80.34 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/11.03, allocations: 3.938 kB / 4.4 GB, free: 80.34 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/11.03, allocations: 3.984 kB / 4.4 GB, free: 80.34 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.002726/11.04, allocations: 2.148 MB / 4.402 GB, free: 78.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/11.04, allocations: 4 kB / 4.402 GB, free: 78.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001829/11.04, allocations: 50.34 kB / 4.402 GB, free: 78.01 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003339/11.04, allocations: 179.3 kB / 4.402 GB, free: 77.83 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.408e-05/11.04, allocations: 8 kB / 4.402 GB, free: 77.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005335/11.04, allocations: 0.8605 MB / 4.403 GB, free: 76.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/11.04, allocations: 0 / 4.403 GB, free: 76.94 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/11.04, allocations: 0.872 MB / 4.404 GB, free: 76.02 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004158/11.04, allocations: 235.7 kB / 4.404 GB, free: 75.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00017/11.04, allocations: 15.98 kB / 4.404 GB, free: 75.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006982/11.04, allocations: 71.77 kB / 4.404 GB, free: 75.69 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.212e-05/11.04, allocations: 43.83 kB / 4.404 GB, free: 75.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.061e-05/11.04, allocations: 12 kB / 4.404 GB, free: 75.63 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0009343/11.04, allocations: 0.8248 MB / 4.405 GB, free: 74.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/11.04, allocations: 4 kB / 4.405 GB, free: 74.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001777/11.04, allocations: 0.5972 MB / 4.406 GB, free: 74.2 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.002031/11.05, allocations: 1.07 MB / 4.407 GB, free: 73.3 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002063/11.05, allocations: 1.129 MB / 4.408 GB, free: 72.13 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/11.05, allocations: 0 / 4.408 GB, free: 72.13 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004185/11.05, allocations: 252.7 kB / 4.408 GB, free: 71.88 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003308/11.05, allocations: 0.6461 MB / 4.409 GB, free: 71.25 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002998/11.05, allocations: 2.112 MB / 4.411 GB, free: 69.09 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006261/11.05, allocations: 1.209 MB / 4.412 GB, free: 67.85 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001216/11.06, allocations: 388.1 kB / 4.412 GB, free: 67.48 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001581/11.06, allocations: 63.44 kB / 4.412 GB, free: 67.42 MB / 0.6042 GB Notification: Performance of SimCode: time 5.51e-07/11.06, allocations: 7.938 kB / 4.412 GB, free: 67.41 MB / 0.6042 GB Notification: Performance of Templates: time 0.04611/11.1, allocations: 33.73 MB / 4.445 GB, free: 33.95 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)