Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008202/0.0008202, allocations: 99.39 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008614/0.0008614, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.213/1.213, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8373/0.8373, allocations: 135.2 MB / 426.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002889/0.000289, allocations: 15.98 kB / 0.5068 GB, free: 5.254 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.135, allocations: 82.3 MB / 0.5872 GB, free: 3.125 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised): time 0.3709/0.506, allocations: 140.5 MB / 0.7244 GB, free: 8.547 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003648/0.5097, allocations: 2.152 MB / 0.7265 GB, free: 7.051 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002822/0.51, allocations: 14.41 kB / 0.7265 GB, free: 7.043 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007339/0.5108, allocations: 236.2 kB / 0.7267 GB, free: 6.91 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001982/0.5128, allocations: 0.6951 MB / 0.7274 GB, free: 6.484 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001319/0.5141, allocations: 447.6 kB / 0.7278 GB, free: 6.281 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002041/0.5161, allocations: 1.628 MB / 0.7294 GB, free: 5.473 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002956/0.5191, allocations: 2.32 MB / 0.7317 GB, free: 4.652 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001554/0.5207, allocations: 0.858 MB / 0.7325 GB, free: 4.238 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006802/0.5214, allocations: 0.6054 MB / 0.7331 GB, free: 3.984 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.891e-05/0.5215, allocations: 46.72 kB / 0.7331 GB, free: 3.984 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001389/0.5229, allocations: 0.6279 MB / 0.7338 GB, free: 3.82 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002992/0.5232, allocations: 306.2 kB / 0.7341 GB, free: 3.699 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002389/0.5234, allocations: 248.5 kB / 0.7343 GB, free: 3.57 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001071/0.5245, allocations: 1.166 MB / 0.7354 GB, free: 3.305 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.5245, allocations: 0 / 0.7354 GB, free: 3.305 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.253e-06/0.5245, allocations: 0 / 0.7354 GB, free: 3.305 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.055e-05/0.5245, allocations: 0 / 0.7354 GB, free: 3.305 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.002298/0.5268, allocations: 1.518 MB / 0.7369 GB, free: 2.359 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.088e-05/0.5269, allocations: 14.02 kB / 0.7369 GB, free: 2.355 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000725/0.5276, allocations: 203.5 kB / 0.7371 GB, free: 2.277 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00142/0.529, allocations: 0.8675 MB / 0.738 GB, free: 1.727 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.949e-05/0.5291, allocations: 49.31 kB / 0.738 GB, free: 1.68 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.439e-05/0.5292, allocations: 69.62 kB / 0.7381 GB, free: 1.613 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001273/0.5305, allocations: 0.9922 MB / 0.7391 GB, free: 0.7539 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.5305, allocations: 0 / 0.7391 GB, free: 0.7539 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.092e-05/0.5306, allocations: 24 kB / 0.7391 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.5306, allocations: 12 kB / 0.7391 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001134/0.5317, allocations: 0.8104 MB / 0.7399 GB, free: 68 kB / 0.545 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.0044/0.5361, allocations: 4.813 MB / 0.7446 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002491/0.5386, allocations: 4.035 MB / 0.7485 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.035e-05/0.5387, allocations: 8.281 kB / 0.7485 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005183/0.5392, allocations: 329.9 kB / 0.7488 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003606/0.5396, allocations: 35.69 kB / 0.7489 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=35): time 2.093e-06/0.5396, allocations: 0 / 0.7489 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35): time 0.004232/0.5439, allocations: 1.59 MB / 0.7504 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.083e-05/0.5439, allocations: 114.8 kB / 0.7505 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00141/0.5454, allocations: 1.173 MB / 0.7517 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.003e-05/0.5454, allocations: 41.7 kB / 0.7517 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004031/0.5458, allocations: 0.5044 MB / 0.7522 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.5459, allocations: 126.3 kB / 0.7523 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.184e-05/0.546, allocations: 4 kB / 0.7523 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.5461, allocations: 326 kB / 0.7526 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003436/0.5464, allocations: 213 kB / 0.7529 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005665/0.547, allocations: 0.5336 MB / 0.7534 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004497/0.5475, allocations: 323.5 kB / 0.7537 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-06/0.5475, allocations: 4 kB / 0.7537 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001933/0.5494, allocations: 1.042 MB / 0.7547 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.000779/0.5502, allocations: 2.139 MB / 0.7568 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.5502, allocations: 8 kB / 0.7568 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001111/0.5513, allocations: 334.4 kB / 0.7571 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003696/0.5517, allocations: 107.9 kB / 0.7572 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00087/0.5526, allocations: 1.013 MB / 0.7582 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008623/0.5535, allocations: 99.81 kB / 0.7583 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.816e-05/0.5535, allocations: 27.98 kB / 0.7583 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.015e-06/0.5536, allocations: 4 kB / 0.7583 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001252/0.5548, allocations: 0.7825 MB / 0.7591 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.5548, allocations: 4 kB / 0.7591 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004813/0.5553, allocations: 239.2 kB / 0.7593 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003518/0.5557, allocations: 107.8 kB / 0.7594 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003128/0.5588, allocations: 2.991 MB / 0.7624 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007935/0.5596, allocations: 99.8 kB / 0.7624 GB, free: 7.203 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.539e-05/0.5597, allocations: 28 kB / 0.7625 GB, free: 7.176 MB / 0.5762 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 36 * 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 19} Notification: Performance of prepare postOptimizeDAE: time 0.0005589/0.5602, allocations: 488.4 kB / 0.7629 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.5604, allocations: 102.7 kB / 0.763 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001197/0.5616, allocations: 0.7608 MB / 0.7638 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.5616, allocations: 4 kB / 0.7638 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.5616, allocations: 7.953 kB / 0.7638 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.5616, allocations: 3.984 kB / 0.7638 GB, free: 5.805 MB / 0.5762 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.002618/0.5642, allocations: 2.202 MB / 0.7659 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.5642, allocations: 4.219 kB / 0.766 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002916/0.5645, allocations: 75.88 kB / 0.766 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003548/0.5649, allocations: 176.6 kB / 0.7662 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.271e-05/0.5649, allocations: 8 kB / 0.7662 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006421/0.5656, allocations: 0.8566 MB / 0.767 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.5656, allocations: 4.031 kB / 0.767 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.5667, allocations: 0.9368 MB / 0.768 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003397/0.567, allocations: 239.7 kB / 0.7682 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.5672, allocations: 12 kB / 0.7682 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006166/0.5678, allocations: 79.75 kB / 0.7683 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.811e-05/0.5679, allocations: 31.98 kB / 0.7683 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.175e-05/0.5679, allocations: 16 kB / 0.7683 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009258/0.5688, allocations: 0.8249 MB / 0.7691 GB, free: 80 kB / 0.5762 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5688, allocations: 4 kB / 0.7691 GB, free: 76 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001224/0.5701, allocations: 0.5032 MB / 0.7696 GB, free: 15.57 MB / 0.5919 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003774/0.5704, allocations: 197.2 kB / 0.7698 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001837/0.5723, allocations: 1.14 MB / 0.7709 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.5723, allocations: 0 / 0.7709 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004221/0.5727, allocations: 247.7 kB / 0.7712 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002824/0.5756, allocations: 0.648 MB / 0.7718 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002748/0.5783, allocations: 2.094 MB / 0.7738 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007083/0.5791, allocations: 1.236 MB / 0.775 GB, free: 9.918 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009444/0.58, allocations: 364.4 kB / 0.7754 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001328/0.5801, allocations: 67.44 kB / 0.7755 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of SimCode: time 6.71e-07/0.5802, allocations: 0 / 0.7755 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of Templates: time 0.03067/0.6108, allocations: 20.82 MB / 0.7958 GB, free: 4.938 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1) Environment - environmentSimulation: