Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001328/0.001329, allocations: 173.8 kB / 12.73 MB, free: 2.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.784/0.784, allocations: 130.5 MB / 143.8 MB, free: 13.6 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 221.3 MB / 396.8 MB, free: 9.203 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009641/0.0009641, allocations: 111.8 kB / 479 MB, free: 10.42 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.272e-05/4.274e-05, allocations: 4.125 kB / 0.5551 GB, free: 86.08 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1971/0.1971, allocations: 81.58 MB / 0.6348 GB, free: 12.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.908/5.105, allocations: 1.835 GB / 2.469 GB, free: 125.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002648/5.106, allocations: 91.48 kB / 2.469 GB, free: 125.1 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.572/12.68, allocations: 2.006 GB / 4.476 GB, free: 165.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.522e-06/12.68, allocations: 0 / 4.476 GB, free: 165.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001195/12.68, allocations: 28.58 kB / 4.476 GB, free: 165.9 MB / 0.6823 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.003736/12.68, allocations: 1.277 MB / 4.477 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/12.68, allocations: 10.09 kB / 4.477 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/12.68, allocations: 190.6 kB / 4.477 GB, free: 165.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003457/12.69, allocations: 1.462 MB / 4.479 GB, free: 164.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.416e-05/12.69, allocations: 48.56 kB / 4.479 GB, free: 164.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/12.69, allocations: 62.97 kB / 4.479 GB, free: 164.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001194/12.69, allocations: 0.9303 MB / 4.48 GB, free: 164.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/12.69, allocations: 2.156 kB / 4.48 GB, free: 164.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.318e-05/12.69, allocations: 25.12 kB / 4.48 GB, free: 164.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.438e-05/12.69, allocations: 19.3 kB / 4.48 GB, free: 164.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008873/12.69, allocations: 0.7036 MB / 4.481 GB, free: 164.7 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.003726/12.69, allocations: 4.698 MB / 4.485 GB, free: 161.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001474/12.69, allocations: 3.965 MB / 4.489 GB, free: 157.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003544/12.69, allocations: 338.1 kB / 4.489 GB, free: 157.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000256/12.69, allocations: 186 kB / 4.49 GB, free: 157.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003775/12.7, allocations: 310 kB / 4.49 GB, free: 157.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000408/12.7, allocations: 34.44 kB / 4.49 GB, free: 157.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=36): time 2.465e-06/12.7, allocations: 0 / 4.49 GB, free: 157.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=36): time 0.001305/12.7, allocations: 0.7632 MB / 4.491 GB, free: 157 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/12.7, allocations: 81.08 kB / 4.491 GB, free: 156.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001116/12.7, allocations: 1.025 MB / 4.492 GB, free: 156.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.359e-05/12.7, allocations: 38.92 kB / 4.492 GB, free: 156.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003345/12.7, allocations: 0.5248 MB / 4.492 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.566e-05/12.7, allocations: 129.6 kB / 4.492 GB, free: 156.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.345e-05/12.7, allocations: 7.062 kB / 4.492 GB, free: 156.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.116e-05/12.7, allocations: 329.8 kB / 4.493 GB, free: 156.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002371/12.7, allocations: 189.6 kB / 4.493 GB, free: 156.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004276/12.7, allocations: 0.5346 MB / 4.493 GB, free: 155.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003352/12.7, allocations: 310.7 kB / 4.494 GB, free: 155.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/12.7, allocations: 0 / 4.494 GB, free: 155.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001357/12.7, allocations: 0.9543 MB / 4.495 GB, free: 155.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006125/12.7, allocations: 2.237 MB / 4.497 GB, free: 153.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/12.7, allocations: 3.875 kB / 4.497 GB, free: 153.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006213/12.7, allocations: 266.7 kB / 4.497 GB, free: 153.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003485/12.7, allocations: 76.73 kB / 4.497 GB, free: 153.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000992/12.7, allocations: 1.047 MB / 4.498 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/12.7, allocations: 99.89 kB / 4.498 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.328e-05/12.7, allocations: 33.06 kB / 4.498 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/12.7, allocations: 6.688 kB / 4.498 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00118/12.71, allocations: 0.7688 MB / 4.499 GB, free: 152.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/12.71, allocations: 3.938 kB / 4.499 GB, free: 152.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005851/12.71, allocations: 257.5 kB / 4.499 GB, free: 152.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003004/12.71, allocations: 76.95 kB / 4.499 GB, free: 152.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003442/12.71, allocations: 3.066 MB / 4.502 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001226/12.71, allocations: 99.33 kB / 4.502 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.761e-05/12.71, allocations: 27.53 kB / 4.502 GB, free: 151.3 MB / 0.6823 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 () * 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.0002353/12.71, allocations: 149.9 kB / 4.503 GB, free: 151.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001776/12.71, allocations: 115.5 kB / 4.503 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001472/12.71, allocations: 0.7834 MB / 4.503 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/12.71, allocations: 3.812 kB / 4.503 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/12.71, allocations: 0 / 4.503 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/12.71, allocations: 0 / 4.503 GB, free: 151.1 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.002909/12.72, allocations: 2.164 MB / 4.506 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/12.72, allocations: 0 / 4.506 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002372/12.72, allocations: 49.27 kB / 4.506 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004597/12.72, allocations: 203.8 kB / 4.506 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.928e-05/12.72, allocations: 12.94 kB / 4.506 GB, free: 150.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006263/12.72, allocations: 0.8771 MB / 4.507 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.197e-06/12.72, allocations: 3.719 kB / 4.507 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009312/12.72, allocations: 0.951 MB / 4.508 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000439/12.72, allocations: 239.8 kB / 4.508 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/12.72, allocations: 7.438 kB / 4.508 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000696/12.72, allocations: 80.25 kB / 4.508 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/12.72, allocations: 42.42 kB / 4.508 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-05/12.72, allocations: 13.03 kB / 4.508 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009897/12.72, allocations: 0.8136 MB / 4.509 GB, free: 149 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.745e-06/12.72, allocations: 0 / 4.509 GB, free: 149 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001856/12.72, allocations: 0.6154 MB / 4.509 GB, free: 149 MB / 0.6823 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) * 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.001403/12.72, allocations: 1.123 MB / 4.51 GB, free: 148.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001524/12.73, allocations: 1.121 MB / 4.512 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/12.73, allocations: 7.656 kB / 4.512 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003339/12.73, allocations: 238.5 kB / 4.512 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002952/12.73, allocations: 0.6439 MB / 4.512 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001898/12.73, allocations: 1.468 MB / 4.514 GB, free: 148 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005481/12.73, allocations: 1.238 MB / 4.515 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001931/12.73, allocations: 0.802 MB / 4.516 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.249e-05/12.73, allocations: 52.72 kB / 4.516 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of SimCode: time 1.102e-06/12.73, allocations: 0 / 4.516 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of Templates: time 0.05134/12.79, allocations: 39.4 MB / 4.554 GB, free: 136.2 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1)