Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.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.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001681/0.001681, allocations: 176.1 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8101/0.8101, allocations: 130.7 MB / 138.7 MB, free: 3.547 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.745/1.745, allocations: 221.5 MB / 391.8 MB, free: 14.14 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 94.8 kB / 473.9 MB, free: 4.445 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.196e-05/2.199e-05, allocations: 4 kB / 0.5485 GB, free: 13.03 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5372/0.5372, allocations: 81.57 MB / 0.6282 GB, free: 42.92 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.812/5.349, allocations: 1.831 GB / 2.459 GB, free: 121.3 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002357/5.35, allocations: 91.94 kB / 2.46 GB, free: 121.2 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.789/12.14, allocations: 1.784 GB / 4.243 GB, free: 92.58 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.332e-06/12.14, allocations: 0 / 4.243 GB, free: 92.58 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001741/12.14, allocations: 31.98 kB / 4.243 GB, free: 92.55 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.004085/12.14, allocations: 1.227 MB / 4.245 GB, free: 91.27 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/12.14, allocations: 12.03 kB / 4.245 GB, free: 91.25 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001528/12.15, allocations: 186.5 kB / 4.245 GB, free: 91.07 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004227/12.15, allocations: 1.374 MB / 4.246 GB, free: 89.64 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.908e-05/12.15, allocations: 20 kB / 4.246 GB, free: 89.62 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001531/12.15, allocations: 39.94 kB / 4.246 GB, free: 89.58 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008191/12.15, allocations: 490.3 kB / 4.247 GB, free: 89.1 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008567/12.15, allocations: 0.7001 MB / 4.247 GB, free: 88.32 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/12.15, allocations: 7.938 kB / 4.247 GB, free: 88.32 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.398e-05/12.15, allocations: 0 / 4.247 GB, free: 88.32 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/12.15, allocations: 16 kB / 4.247 GB, free: 88.3 MB / 0.6667 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.003485/12.15, allocations: 4.089 MB / 4.251 GB, free: 83.96 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004907/12.16, allocations: 457.2 kB / 4.252 GB, free: 83.5 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003188/12.16, allocations: 339.8 kB / 4.252 GB, free: 83.17 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000264/12.16, allocations: 190.2 kB / 4.252 GB, free: 82.95 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003238/12.16, allocations: 287 kB / 4.253 GB, free: 82.64 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003421/12.16, allocations: 23.78 kB / 4.253 GB, free: 82.62 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=33): time 1.974e-06/12.16, allocations: 0 / 4.253 GB, free: 82.62 MB / 0.6667 GB Notification: Performance of matching and sorting (n=33): time 0.001663/12.16, allocations: 0.7901 MB / 4.253 GB, free: 81.82 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/12.16, allocations: 97.03 kB / 4.254 GB, free: 81.71 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009177/12.16, allocations: 0.8479 MB / 4.254 GB, free: 80.84 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.934e-05/12.16, allocations: 33.7 kB / 4.254 GB, free: 80.8 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003339/12.16, allocations: 492.2 kB / 4.255 GB, free: 80.31 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 7.276e-05/12.16, allocations: 106.4 kB / 4.255 GB, free: 80.21 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.071e-05/12.16, allocations: 0 / 4.255 GB, free: 80.21 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 6.507e-05/12.16, allocations: 326 kB / 4.255 GB, free: 79.88 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002174/12.16, allocations: 197 kB / 4.255 GB, free: 79.69 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003864/12.16, allocations: 0.5089 MB / 4.256 GB, free: 79.04 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003034/12.16, allocations: 279 kB / 4.256 GB, free: 78.77 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/12.16, allocations: 4 kB / 4.256 GB, free: 78.77 MB / 0.6667 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001473/12.16, allocations: 0.9323 MB / 4.257 GB, free: 77.83 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005728/12.16, allocations: 2.13 MB / 4.259 GB, free: 75.53 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.681e-05/12.16, allocations: 8 kB / 4.259 GB, free: 75.52 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004728/12.16, allocations: 240.6 kB / 4.259 GB, free: 75.29 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002662/12.16, allocations: 71.84 kB / 4.26 GB, free: 75.21 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009783/12.16, allocations: 1.147 MB / 4.261 GB, free: 74.04 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009952/12.17, allocations: 75.88 kB / 4.261 GB, free: 73.97 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.17e-05/12.17, allocations: 27.98 kB / 4.261 GB, free: 73.94 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/12.17, allocations: 4 kB / 4.261 GB, free: 73.94 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009586/12.17, allocations: 0.6332 MB / 4.261 GB, free: 73.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/12.17, allocations: 7.938 kB / 4.261 GB, free: 73.29 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000521/12.17, allocations: 228.2 kB / 4.262 GB, free: 73.07 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002165/12.17, allocations: 71.84 kB / 4.262 GB, free: 73 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002847/12.17, allocations: 2.876 MB / 4.264 GB, free: 70.01 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009945/12.17, allocations: 83.77 kB / 4.265 GB, free: 69.93 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.194e-05/12.17, allocations: 27.98 kB / 4.265 GB, free: 69.9 MB / 0.6667 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_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 (35): * Single equations (assignments): 33 * 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 20} Notification: Performance of prepare postOptimizeDAE: time 0.0001661/12.17, allocations: 128.7 kB / 4.265 GB, free: 69.77 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001642/12.17, allocations: 90.88 kB / 4.265 GB, free: 69.68 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001114/12.17, allocations: 0.7028 MB / 4.265 GB, free: 68.96 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/12.17, allocations: 4 kB / 4.265 GB, free: 68.95 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/12.17, allocations: 7.953 kB / 4.265 GB, free: 68.95 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/12.17, allocations: 3.938 kB / 4.265 GB, free: 68.94 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002171/12.18, allocations: 1.58 MB / 4.267 GB, free: 67.29 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.738e-06/12.18, allocations: 0 / 4.267 GB, free: 67.29 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001306/12.18, allocations: 28.2 kB / 4.267 GB, free: 67.26 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003093/12.18, allocations: 208.5 kB / 4.267 GB, free: 67.06 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.312e-05/12.18, allocations: 7.984 kB / 4.267 GB, free: 67.05 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006645/12.18, allocations: 1.013 MB / 4.268 GB, free: 66.01 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/12.18, allocations: 4.031 kB / 4.268 GB, free: 66.01 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009413/12.18, allocations: 0.9074 MB / 4.269 GB, free: 65.02 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003574/12.18, allocations: 215.8 kB / 4.269 GB, free: 64.79 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001233/12.18, allocations: 7.984 kB / 4.269 GB, free: 64.78 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006348/12.18, allocations: 59.78 kB / 4.269 GB, free: 64.72 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.244e-05/12.18, allocations: 27.95 kB / 4.269 GB, free: 64.7 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-05/12.18, allocations: 16 kB / 4.269 GB, free: 64.68 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0006996/12.18, allocations: 0.6689 MB / 4.27 GB, free: 64 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.884e-06/12.18, allocations: 0 / 4.27 GB, free: 64 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001619/12.18, allocations: 0.5149 MB / 4.271 GB, free: 63.48 MB / 0.6667 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_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 (13): * Single equations (assignments): 10 * 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 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.001524/12.18, allocations: 1.032 MB / 4.272 GB, free: 62.46 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.00148/12.18, allocations: 1.037 MB / 4.273 GB, free: 61.39 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/12.18, allocations: 4.062 kB / 4.273 GB, free: 61.38 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003129/12.18, allocations: 214.6 kB / 4.273 GB, free: 61.18 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002593/12.19, allocations: 0.5306 MB / 4.273 GB, free: 60.65 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002018/12.19, allocations: 1.344 MB / 4.275 GB, free: 59.25 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005936/12.19, allocations: 1.206 MB / 4.276 GB, free: 58.02 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001709/12.19, allocations: 0.6708 MB / 4.276 GB, free: 57.34 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.056e-05/12.19, allocations: 47.44 kB / 4.277 GB, free: 57.3 MB / 0.6667 GB Notification: Performance of SimCode: time 2.71e-07/12.19, allocations: 0 / 4.277 GB, free: 57.3 MB / 0.6667 GB Notification: Performance of Templates: time 0.03385/12.23, allocations: 23.44 MB / 4.299 GB, free: 34.03 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)