Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.00142/0.00142, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8066/0.8066, allocations: 133.6 MB / 141.6 MB, free: 2.902 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.627/1.627, allocations: 221.5 MB / 395.5 MB, free: 10.75 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.001148/0.001148, allocations: 103.3 kB / 478.2 MB, free: 1.277 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.293e-05/2.296e-05, allocations: 4 kB / 0.5535 GB, free: 9.012 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5944/0.5945, allocations: 82.3 MB / 0.6338 GB, free: 40.82 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.938/5.533, allocations: 1.832 GB / 2.465 GB, free: 165.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002313/5.533, allocations: 94.44 kB / 2.465 GB, free: 165.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.534/12.07, allocations: 1.784 GB / 4.249 GB, free: 189.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.242e-06/12.07, allocations: 0 / 4.249 GB, free: 189.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001909/12.07, allocations: 33.17 kB / 4.249 GB, free: 189.5 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.004616/12.07, allocations: 1.225 MB / 4.251 GB, free: 189 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/12.07, allocations: 9.875 kB / 4.251 GB, free: 189 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001363/12.07, allocations: 190.5 kB / 4.251 GB, free: 188.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004189/12.08, allocations: 1.383 MB / 4.252 GB, free: 188.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.741e-05/12.08, allocations: 14.56 kB / 4.252 GB, free: 188.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001834/12.08, allocations: 37.72 kB / 4.252 GB, free: 188.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009062/12.08, allocations: 494.6 kB / 4.253 GB, free: 188.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/12.08, allocations: 0.6941 MB / 4.253 GB, free: 188.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/12.08, allocations: 2.438 kB / 4.253 GB, free: 188.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.292e-05/12.08, allocations: 3.375 kB / 4.253 GB, free: 188.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.299e-05/12.08, allocations: 18.53 kB / 4.253 GB, free: 188.4 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.004262/12.08, allocations: 4.098 MB / 4.257 GB, free: 185.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005516/12.08, allocations: 461.6 kB / 4.258 GB, free: 185.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000366/12.09, allocations: 332.6 kB / 4.258 GB, free: 185.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000304/12.09, allocations: 195.3 kB / 4.258 GB, free: 185.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003661/12.09, allocations: 281.9 kB / 4.259 GB, free: 185.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004349/12.09, allocations: 12.36 kB / 4.259 GB, free: 185.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 2.405e-06/12.09, allocations: 0 / 4.259 GB, free: 185.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.00183/12.09, allocations: 0.7993 MB / 4.259 GB, free: 185.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/12.09, allocations: 83.52 kB / 4.259 GB, free: 185.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001241/12.09, allocations: 0.8451 MB / 4.26 GB, free: 185 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.953e-05/12.09, allocations: 30.61 kB / 4.26 GB, free: 184.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003831/12.09, allocations: 489.1 kB / 4.261 GB, free: 184.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/12.09, allocations: 118.1 kB / 4.261 GB, free: 184.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.211e-05/12.09, allocations: 0 / 4.261 GB, free: 184.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.718e-05/12.09, allocations: 332.3 kB / 4.261 GB, free: 184.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002549/12.09, allocations: 197 kB / 4.261 GB, free: 184.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004792/12.09, allocations: 0.5115 MB / 4.262 GB, free: 184.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003698/12.09, allocations: 283.9 kB / 4.262 GB, free: 184 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.563e-06/12.09, allocations: 3.562 kB / 4.262 GB, free: 184 MB / 0.6823 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001702/12.09, allocations: 0.9286 MB / 4.263 GB, free: 183.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006512/12.09, allocations: 2.134 MB / 4.265 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.891e-05/12.09, allocations: 6.625 kB / 4.265 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005096/12.09, allocations: 247.2 kB / 4.265 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002741/12.09, allocations: 70.59 kB / 4.265 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001107/12.1, allocations: 1.134 MB / 4.267 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/12.1, allocations: 87.97 kB / 4.267 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.889e-05/12.1, allocations: 22.94 kB / 4.267 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/12.1, allocations: 3.875 kB / 4.267 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001149/12.1, allocations: 0.6379 MB / 4.267 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/12.1, allocations: 7.75 kB / 4.267 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005997/12.1, allocations: 225.2 kB / 4.267 GB, free: 181.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002512/12.1, allocations: 72.27 kB / 4.268 GB, free: 181.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003255/12.1, allocations: 2.888 MB / 4.27 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009138/12.1, allocations: 77.27 kB / 4.27 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.009e-05/12.1, allocations: 25.5 kB / 4.27 GB, free: 179.8 MB / 0.6823 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.0001886/12.1, allocations: 127.2 kB / 4.271 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002201/12.1, allocations: 99.94 kB / 4.271 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001249/12.1, allocations: 0.7007 MB / 4.271 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/12.1, allocations: 3.719 kB / 4.271 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/12.1, allocations: 3.094 kB / 4.271 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/12.1, allocations: 3.891 kB / 4.271 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002343/12.11, allocations: 1.585 MB / 4.273 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/12.11, allocations: 0 / 4.273 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000141/12.11, allocations: 32.28 kB / 4.273 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003503/12.11, allocations: 204.1 kB / 4.273 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.589e-05/12.11, allocations: 7.656 kB / 4.273 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007831/12.11, allocations: 1.012 MB / 4.274 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/12.11, allocations: 2.906 kB / 4.274 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/12.11, allocations: 0.9104 MB / 4.275 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003737/12.11, allocations: 213.5 kB / 4.275 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001744/12.11, allocations: 6.562 kB / 4.275 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006948/12.11, allocations: 66.12 kB / 4.275 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.151e-05/12.11, allocations: 32.89 kB / 4.275 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-05/12.11, allocations: 10.88 kB / 4.275 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008687/12.11, allocations: 0.6681 MB / 4.276 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.51e-07/12.11, allocations: 0 / 4.276 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001731/12.11, allocations: 0.5119 MB / 4.276 GB, free: 177.9 MB / 0.6823 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.001824/12.12, allocations: 1.018 MB / 4.277 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001494/12.12, allocations: 1.037 MB / 4.278 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/12.12, allocations: 0 / 4.278 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003276/12.12, allocations: 214 kB / 4.279 GB, free: 177.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002681/12.12, allocations: 0.5394 MB / 4.279 GB, free: 177.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002193/12.12, allocations: 1.356 MB / 4.281 GB, free: 177 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007025/12.12, allocations: 1.207 MB / 4.282 GB, free: 176.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00182/12.12, allocations: 0.6666 MB / 4.282 GB, free: 176.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/12.12, allocations: 40.19 kB / 4.282 GB, free: 176.3 MB / 0.6823 GB Notification: Performance of SimCode: time 5.71e-07/12.12, allocations: 0 / 4.282 GB, free: 176.3 MB / 0.6823 GB Notification: Performance of Templates: time 0.03996/12.16, allocations: 23.44 MB / 4.305 GB, free: 170.3 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)