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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008389/0.0008389, allocations: 91.22 kB / 15.06 MB, free: 1.098 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.0008257/0.0008259, allocations: 172.7 kB / 15.95 MB, free: 208 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.45/1.45, allocations: 223.3 MB / 240 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9678/0.9678, allocations: 135.3 MB / 426.4 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004386/0.0004387, allocations: 15.98 kB / 0.507 GB, free: 5.176 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1778, allocations: 82.3 MB / 0.5874 GB, free: 3.043 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.4969/0.6747, allocations: 146.7 MB / 0.7307 GB, free: 3.223 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004172/0.679, allocations: 1.646 MB / 0.7323 GB, free: 2.074 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005001/0.6795, allocations: 12.72 kB / 0.7323 GB, free: 2.066 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005961/0.6801, allocations: 117.2 kB / 0.7324 GB, free: 1.996 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001443/0.6816, allocations: 390.2 kB / 0.7328 GB, free: 1.789 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001539/0.6831, allocations: 328.8 kB / 0.7331 GB, free: 1.645 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004425/0.6876, allocations: 3.008 MB / 0.736 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003404/0.691, allocations: 2.148 MB / 0.7381 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002386/0.6934, allocations: 0.8642 MB / 0.739 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009812/0.6944, allocations: 0.7098 MB / 0.7397 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.092e-05/0.6945, allocations: 32 kB / 0.7397 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001422/0.6959, allocations: 0.555 MB / 0.7402 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003189/0.6962, allocations: 282.9 kB / 0.7405 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003621/0.6966, allocations: 231.2 kB / 0.7407 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001264/0.6979, allocations: 1.034 MB / 0.7417 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.6979, allocations: 0 / 0.7417 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.845e-06/0.6979, allocations: 3.938 kB / 0.7417 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.059e-05/0.6979, allocations: 0 / 0.7417 GB, free: 13.9 MB / 0.5606 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.002108/0.7, allocations: 1.329 MB / 0.743 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.7001, allocations: 16.44 kB / 0.743 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007057/0.7008, allocations: 189.1 kB / 0.7432 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001303/0.7021, allocations: 0.7992 MB / 0.744 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.318e-05/0.7022, allocations: 50.8 kB / 0.7441 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.502e-05/0.7023, allocations: 56.34 kB / 0.7441 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001178/0.7034, allocations: 0.8206 MB / 0.7449 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.7035, allocations: 7.312 kB / 0.7449 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.476e-05/0.7035, allocations: 22.38 kB / 0.7449 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.342e-05/0.7036, allocations: 16.03 kB / 0.7449 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009241/0.7045, allocations: 0.5739 MB / 0.7455 GB, free: 11.01 MB / 0.5606 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.004015/0.7085, allocations: 4.269 MB / 0.7497 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007263/0.7092, allocations: 442.2 kB / 0.7501 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005156/0.7098, allocations: 350.5 kB / 0.7504 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003041/0.7101, allocations: 194.1 kB / 0.7506 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005369/0.7106, allocations: 332.2 kB / 0.7509 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002423/0.7109, allocations: 35.59 kB / 0.751 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 1.803e-06/0.7109, allocations: 0 / 0.751 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.004738/0.7156, allocations: 1.692 MB / 0.7526 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.367e-05/0.7157, allocations: 85.11 kB / 0.7527 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001459/0.7172, allocations: 1.143 MB / 0.7538 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.772e-05/0.7172, allocations: 41.7 kB / 0.7539 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004121/0.7177, allocations: 484.4 kB / 0.7543 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.631e-05/0.7178, allocations: 118.4 kB / 0.7544 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-05/0.7178, allocations: 8 kB / 0.7544 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.7179, allocations: 325.9 kB / 0.7548 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003604/0.7183, allocations: 209 kB / 0.755 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006066/0.7189, allocations: 0.5189 MB / 0.7555 GB, free: 292 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004836/0.7194, allocations: 323.2 kB / 0.7558 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.7194, allocations: 0 / 0.7558 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002093/0.7215, allocations: 1.044 MB / 0.7568 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001806/0.7217, allocations: 279.2 kB / 0.7571 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.7217, allocations: 4 kB / 0.7571 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001198/0.7229, allocations: 348.4 kB / 0.7574 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00034/0.7233, allocations: 103.9 kB / 0.7575 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001066/0.7244, allocations: 1.043 MB / 0.7585 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008309/0.7252, allocations: 91.81 kB / 0.7586 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-05/0.7253, allocations: 27.98 kB / 0.7586 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.095e-06/0.7253, allocations: 7.938 kB / 0.7586 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001402/0.7267, allocations: 0.7868 MB / 0.7594 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.7267, allocations: 12.12 kB / 0.7594 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005679/0.7273, allocations: 248.6 kB / 0.7596 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000317/0.7276, allocations: 95.86 kB / 0.7597 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003542/0.7312, allocations: 3.056 MB / 0.7627 GB, free: 8.566 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008128/0.732, allocations: 87.81 kB / 0.7628 GB, free: 8.48 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.93e-05/0.732, allocations: 23.94 kB / 0.7628 GB, free: 8.457 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 (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.0005633/0.7326, allocations: 472.7 kB / 0.7633 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/0.7327, allocations: 106.7 kB / 0.7634 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001335/0.7341, allocations: 0.7892 MB / 0.7642 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.7341, allocations: 4 kB / 0.7642 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.7341, allocations: 3.938 kB / 0.7642 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.609e-05/0.7341, allocations: 3.984 kB / 0.7642 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002374/0.7365, allocations: 1.732 MB / 0.7659 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.7365, allocations: 0 / 0.7659 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002303/0.7368, allocations: 60.16 kB / 0.7659 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004859/0.7373, allocations: 241.5 kB / 0.7661 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.73e-05/0.7373, allocations: 11.98 kB / 0.7662 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008596/0.7382, allocations: 0.9952 MB / 0.7671 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.7382, allocations: 4 kB / 0.7671 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001211/0.7394, allocations: 0.9147 MB / 0.768 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003012/0.7397, allocations: 227.8 kB / 0.7682 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.7398, allocations: 8 kB / 0.7682 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005438/0.7404, allocations: 67.77 kB / 0.7683 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.485e-05/0.7405, allocations: 35.84 kB / 0.7683 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-05/0.7405, allocations: 16 kB / 0.7684 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000941/0.7414, allocations: 0.804 MB / 0.7691 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7414, allocations: 0 / 0.7691 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001262/0.7427, allocations: 487.4 kB / 0.7696 GB, free: 1.309 MB / 0.5762 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 (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.0003916/0.7431, allocations: 174 kB / 0.7698 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002001/0.7451, allocations: 1.135 MB / 0.7709 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.7451, allocations: 7.938 kB / 0.7709 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005172/0.7457, allocations: 258.6 kB / 0.7711 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002729/0.7484, allocations: 0.6297 MB / 0.7718 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002677/0.7511, allocations: 1.976 MB / 0.7737 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007691/0.7519, allocations: 1.197 MB / 0.7749 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000938/0.7528, allocations: 336.1 kB / 0.7752 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.753, allocations: 59.44 kB / 0.7752 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of SimCode: time 6.22e-07/0.753, allocations: 0 / 0.7752 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of Templates: time 0.03631/0.7893, allocations: 20.73 MB / 0.7955 GB, free: 6.984 MB / 0.6075 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)