Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.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.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00249/0.00249, allocations: 176 kB / 16.76 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.5146/0.5146, allocations: 86.28 MB / 103.8 MB, free: 14.57 MB / 90.74 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 223.2 MB / 348.4 MB, free: 4.922 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.0007914/0.0007912, allocations: 99.97 kB / 420.2 MB, free: 9.66 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003968/0.0003968, allocations: 8 kB / 0.4901 GB, free: 8.016 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.419/0.4194, allocations: 71.02 MB / 0.5595 GB, free: 43.79 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.307/4.727, allocations: 1.824 GB / 2.383 GB, free: 237 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002449/4.727, allocations: 100.1 kB / 2.383 GB, free: 237 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.865/11.59, allocations: 2.002 GB / 4.385 GB, free: 93.2 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.094e-06/11.59, allocations: 0 / 4.385 GB, free: 93.2 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001767/11.59, allocations: 35.98 kB / 4.385 GB, free: 93.16 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.005123/11.6, allocations: 1.557 MB / 4.386 GB, free: 91.61 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/11.6, allocations: 12.03 kB / 4.386 GB, free: 91.6 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001096/11.6, allocations: 203.2 kB / 4.387 GB, free: 91.4 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003715/11.6, allocations: 1.508 MB / 4.388 GB, free: 89.84 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.815e-05/11.6, allocations: 49.69 kB / 4.388 GB, free: 89.79 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/11.6, allocations: 60.38 kB / 4.388 GB, free: 89.73 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001285/11.6, allocations: 0.9641 MB / 4.389 GB, free: 88.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/11.6, allocations: 0 / 4.389 GB, free: 88.7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.301e-05/11.6, allocations: 24 kB / 4.389 GB, free: 88.67 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/11.6, allocations: 12 kB / 4.389 GB, free: 88.66 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00107/11.6, allocations: 0.757 MB / 4.39 GB, free: 87.91 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.003737/11.61, allocations: 4.69 MB / 4.395 GB, free: 82.89 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001429/11.61, allocations: 4.012 MB / 4.398 GB, free: 78.05 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000395/11.61, allocations: 353.6 kB / 4.399 GB, free: 77.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000239/11.61, allocations: 198.1 kB / 4.399 GB, free: 77.47 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004133/11.61, allocations: 332.8 kB / 4.399 GB, free: 77.13 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003672/11.61, allocations: 35.59 kB / 4.399 GB, free: 77.09 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=36): time 1.804e-06/11.61, allocations: 3.938 kB / 4.399 GB, free: 77.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=36): time 0.004346/11.62, allocations: 1.699 MB / 4.401 GB, free: 75.36 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/11.62, allocations: 81.11 kB / 4.401 GB, free: 75.27 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/11.62, allocations: 1.177 MB / 4.402 GB, free: 74.07 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.976e-05/11.62, allocations: 37.7 kB / 4.402 GB, free: 74.03 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002899/11.62, allocations: 0.5201 MB / 4.403 GB, free: 73.5 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.573e-05/11.62, allocations: 122.3 kB / 4.403 GB, free: 73.38 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.21e-05/11.62, allocations: 12 kB / 4.403 GB, free: 73.37 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.924e-05/11.62, allocations: 326 kB / 4.403 GB, free: 73.05 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002996/11.62, allocations: 217 kB / 4.403 GB, free: 72.84 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004587/11.62, allocations: 0.5482 MB / 4.404 GB, free: 72.14 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006587/11.62, allocations: 0.6489 MB / 4.405 GB, free: 71.41 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-06/11.62, allocations: 4 kB / 4.405 GB, free: 71.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00179/11.62, allocations: 1.083 MB / 4.406 GB, free: 70.31 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001093/11.62, allocations: 284.4 kB / 4.406 GB, free: 69.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/11.62, allocations: 8 kB / 4.406 GB, free: 69.94 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001148/11.62, allocations: 358.9 kB / 4.406 GB, free: 69.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002723/11.62, allocations: 79.81 kB / 4.406 GB, free: 69.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008123/11.62, allocations: 1.04 MB / 4.407 GB, free: 68.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008918/11.62, allocations: 99.8 kB / 4.407 GB, free: 68.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.433e-05/11.62, allocations: 27.98 kB / 4.407 GB, free: 68.32 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.452e-06/11.62, allocations: 8 kB / 4.407 GB, free: 68.31 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001168/11.63, allocations: 0.8179 MB / 4.408 GB, free: 67.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/11.63, allocations: 8 kB / 4.408 GB, free: 67.47 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000506/11.63, allocations: 255.6 kB / 4.409 GB, free: 67.22 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000258/11.63, allocations: 87.81 kB / 4.409 GB, free: 67.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002822/11.63, allocations: 3.07 MB / 4.412 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008439/11.63, allocations: 107.7 kB / 4.412 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-05/11.63, allocations: 24 kB / 4.412 GB, free: 63.81 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 (37): * Single equations (assignments): 35 * 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.0005509/11.63, allocations: 484.9 kB / 4.412 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/11.63, allocations: 106.7 kB / 4.412 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001157/11.63, allocations: 0.8283 MB / 4.413 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/11.63, allocations: 4 kB / 4.413 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/11.63, allocations: 0 / 4.413 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/11.63, allocations: 3.984 kB / 4.413 GB, free: 62.37 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.002364/11.63, allocations: 2.191 MB / 4.415 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/11.63, allocations: 4 kB / 4.415 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002096/11.63, allocations: 52.14 kB / 4.415 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003799/11.63, allocations: 208.8 kB / 4.415 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.248e-05/11.63, allocations: 8 kB / 4.415 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005437/11.64, allocations: 0.8684 MB / 4.416 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/11.64, allocations: 8.016 kB / 4.416 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/11.64, allocations: 0.9019 MB / 4.417 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002807/11.64, allocations: 239.7 kB / 4.417 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.637e-05/11.64, allocations: 12 kB / 4.417 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005989/11.64, allocations: 87.75 kB / 4.418 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.577e-05/11.64, allocations: 35.83 kB / 4.418 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.408e-05/11.64, allocations: 15.94 kB / 4.418 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0008399/11.64, allocations: 0.8289 MB / 4.418 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9.81e-07/11.64, allocations: 0 / 4.418 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001602/11.64, allocations: 0.6127 MB / 4.419 GB, free: 56.06 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 (23): * Single equations (assignments): 20 * 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 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.001357/11.64, allocations: 1.119 MB / 4.42 GB, free: 54.94 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001655/11.64, allocations: 1.157 MB / 4.421 GB, free: 53.74 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/11.64, allocations: 0 / 4.421 GB, free: 53.74 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003986/11.64, allocations: 264.5 kB / 4.421 GB, free: 53.48 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002953/11.65, allocations: 0.6473 MB / 4.422 GB, free: 52.85 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002545/11.65, allocations: 2.108 MB / 4.424 GB, free: 50.69 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005388/11.65, allocations: 1.213 MB / 4.425 GB, free: 49.45 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0009925/11.65, allocations: 380.6 kB / 4.426 GB, free: 49.07 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/11.65, allocations: 75.42 kB / 4.426 GB, free: 49 MB / 0.6042 GB Notification: Performance of SimCode: time 5.61e-07/11.65, allocations: 0 / 4.426 GB, free: 49 MB / 0.6042 GB Notification: Performance of Templates: time 0.04353/11.69, allocations: 34.69 MB / 4.46 GB, free: 14.5 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1)