Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 176.2 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.7503/0.7503, allocations: 130.7 MB / 138.7 MB, free: 3.566 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.875/1.875, allocations: 221.5 MB / 391.8 MB, free: 14.16 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.0009348/0.0009346, allocations: 96.3 kB / 473.9 MB, free: 4.488 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.945e-05/1.948e-05, allocations: 4 kB / 0.5485 GB, free: 13.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5341/0.5341, allocations: 81.57 MB / 0.6282 GB, free: 42.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.419/5.953, allocations: 1.831 GB / 2.459 GB, free: 80.79 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002915/5.954, allocations: 98.98 kB / 2.46 GB, free: 80.73 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 7.013/12.97, allocations: 1.782 GB / 4.242 GB, free: 63.19 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.443e-06/12.97, allocations: 0 / 4.242 GB, free: 63.19 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001521/12.97, allocations: 31.98 kB / 4.242 GB, free: 63.16 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.002344/12.97, allocations: 1.141 MB / 4.243 GB, free: 61.96 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/12.97, allocations: 8.031 kB / 4.243 GB, free: 61.95 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001028/12.97, allocations: 182.5 kB / 4.243 GB, free: 61.77 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002303/12.97, allocations: 1.078 MB / 4.244 GB, free: 60.64 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.99e-05/12.97, allocations: 16 kB / 4.244 GB, free: 60.62 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/12.97, allocations: 39.98 kB / 4.244 GB, free: 60.59 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006888/12.97, allocations: 470.3 kB / 4.244 GB, free: 60.12 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008117/12.97, allocations: 0.6728 MB / 4.245 GB, free: 59.38 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/12.97, allocations: 7.922 kB / 4.245 GB, free: 59.37 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.125e-05/12.97, allocations: 4 kB / 4.245 GB, free: 59.36 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/12.97, allocations: 16 kB / 4.245 GB, free: 59.35 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.003465/12.98, allocations: 4.476 MB / 4.25 GB, free: 54.5 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004691/12.98, allocations: 434.5 kB / 4.25 GB, free: 54.06 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002409/12.98, allocations: 247 kB / 4.25 GB, free: 53.82 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002676/12.98, allocations: 194.2 kB / 4.25 GB, free: 53.59 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003137/12.98, allocations: 255.5 kB / 4.251 GB, free: 53.32 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=31): time 1.963e-06/12.98, allocations: 0 / 4.251 GB, free: 53.32 MB / 0.6667 GB Notification: Performance of matching and sorting (n=31): time 0.0009942/12.98, allocations: 493.6 kB / 4.251 GB, free: 52.84 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/12.98, allocations: 81.11 kB / 4.251 GB, free: 52.74 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009299/12.98, allocations: 0.8595 MB / 4.252 GB, free: 51.86 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.027e-05/12.98, allocations: 37.64 kB / 4.252 GB, free: 51.82 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002946/12.98, allocations: 488.2 kB / 4.252 GB, free: 51.34 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 6.678e-05/12.98, allocations: 102.6 kB / 4.253 GB, free: 51.23 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.151e-05/12.98, allocations: 0 / 4.253 GB, free: 51.23 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 5.962e-05/12.98, allocations: 322 kB / 4.253 GB, free: 50.91 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001974/12.98, allocations: 176.8 kB / 4.253 GB, free: 50.74 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000341/12.98, allocations: 0.4959 MB / 4.254 GB, free: 50.1 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002864/12.98, allocations: 269.7 kB / 4.254 GB, free: 49.84 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/12.98, allocations: 0 / 4.254 GB, free: 49.84 MB / 0.6667 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007808/12.98, allocations: 0.6056 MB / 4.254 GB, free: 49.23 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004469/12.98, allocations: 2.13 MB / 4.256 GB, free: 46.93 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/12.98, allocations: 4 kB / 4.256 GB, free: 46.93 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.534e-05/12.98, allocations: 11.95 kB / 4.256 GB, free: 46.91 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004061/12.98, allocations: 115.8 kB / 4.257 GB, free: 46.8 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/12.98, allocations: 15.92 kB / 4.257 GB, free: 46.79 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007939/12.99, allocations: 87.47 kB / 4.257 GB, free: 46.7 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.978e-05/12.99, allocations: 28.2 kB / 4.257 GB, free: 46.67 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/12.99, allocations: 4 kB / 4.257 GB, free: 46.67 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005568/12.99, allocations: 419.7 kB / 4.257 GB, free: 46.26 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/12.99, allocations: 4 kB / 4.257 GB, free: 46.25 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.416e-06/12.99, allocations: 8 kB / 4.257 GB, free: 46.25 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003422/12.99, allocations: 107.8 kB / 4.257 GB, free: 46.14 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/12.99, allocations: 8 kB / 4.257 GB, free: 46.13 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007265/12.99, allocations: 83.8 kB / 4.257 GB, free: 46.05 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.617e-05/12.99, allocations: 24 kB / 4.257 GB, free: 46.03 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_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001291/12.99, allocations: 128.8 kB / 4.257 GB, free: 45.89 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/12.99, allocations: 94.78 kB / 4.258 GB, free: 45.8 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006114/12.99, allocations: 434.9 kB / 4.258 GB, free: 45.37 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/12.99, allocations: 7.938 kB / 4.258 GB, free: 45.36 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/12.99, allocations: 0 / 4.258 GB, free: 45.36 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/12.99, allocations: 4 kB / 4.258 GB, free: 45.36 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001626/12.99, allocations: 1.261 MB / 4.259 GB, free: 44.03 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.002e-06/12.99, allocations: 12.03 kB / 4.259 GB, free: 44.02 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002311/12.99, allocations: 67.89 kB / 4.259 GB, free: 43.95 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.163e-06/12.99, allocations: 4 kB / 4.259 GB, free: 43.95 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.003e-05/12.99, allocations: 4 kB / 4.259 GB, free: 43.94 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/12.99, allocations: 7.938 kB / 4.259 GB, free: 43.93 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/12.99, allocations: 0 / 4.259 GB, free: 43.93 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005292/12.99, allocations: 0.642 MB / 4.26 GB, free: 43.21 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002981/12.99, allocations: 216 kB / 4.26 GB, free: 42.98 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001246/12.99, allocations: 7.938 kB / 4.26 GB, free: 42.98 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005057/12.99, allocations: 51.8 kB / 4.26 GB, free: 42.93 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.004e-05/12.99, allocations: 35.89 kB / 4.26 GB, free: 42.89 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/12.99, allocations: 8 kB / 4.26 GB, free: 42.88 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0006754/12.99, allocations: 0.6689 MB / 4.261 GB, free: 42.2 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.71e-07/12.99, allocations: 0 / 4.261 GB, free: 42.2 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001356/12.99, allocations: 451.4 kB / 4.261 GB, free: 41.76 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_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001384/12.99, allocations: 1.018 MB / 4.262 GB, free: 40.75 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0008748/13, allocations: 0.7465 MB / 4.263 GB, free: 39.98 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.646e-06/13, allocations: 7.938 kB / 4.263 GB, free: 39.97 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002142/13, allocations: 177.8 kB / 4.263 GB, free: 39.8 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001751/13, allocations: 399 kB / 4.264 GB, free: 39.41 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002127/13, allocations: 1.309 MB / 4.265 GB, free: 38.05 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005707/13, allocations: 1.206 MB / 4.266 GB, free: 36.81 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001835/13, allocations: 0.7602 MB / 4.267 GB, free: 36.04 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/13, allocations: 51.42 kB / 4.267 GB, free: 35.99 MB / 0.6667 GB Notification: Performance of SimCode: time 3.21e-07/13, allocations: 0 / 4.267 GB, free: 35.99 MB / 0.6667 GB Notification: Performance of Templates: time 0.03285/13.04, allocations: 19.87 MB / 4.286 GB, free: 16.28 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)