Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.ParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001223/0.001223, allocations: 189.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7835/0.7835, allocations: 132.2 MB / 423.2 MB, free: 6.648 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 59.91 kB / 0.5024 GB, free: 11.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.3788, allocations: 80.18 MB / 0.5807 GB, free: 27.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.1643/0.5431, allocations: 161.6 MB / 0.7386 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005162/0.5483, allocations: 3.632 MB / 0.7421 GB, free: 8.469 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003903/0.5488, allocations: 11.94 kB / 0.7421 GB, free: 8.457 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005915/0.5494, allocations: 166.9 kB / 0.7423 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001293/0.5507, allocations: 0.5211 MB / 0.7428 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00119/0.5519, allocations: 428.5 kB / 0.7432 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00254/0.5545, allocations: 2.563 MB / 0.7457 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002709/0.5572, allocations: 2.415 MB / 0.7481 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001907/0.5591, allocations: 1.036 MB / 0.7491 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008733/0.56, allocations: 0.7234 MB / 0.7498 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000123/0.5602, allocations: 56 kB / 0.7498 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3323/0.8925, allocations: 0.7356 MB / 0.7505 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006371/0.8932, allocations: 311.5 kB / 0.7508 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001207/0.8944, allocations: 0.5471 MB / 0.7514 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00211/0.8965, allocations: 1.41 MB / 0.7528 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.8965, allocations: 0 / 0.7528 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.984e-06/0.8965, allocations: 0 / 0.7528 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.764e-05/0.8966, allocations: 0 / 0.7528 GB, free: 5.551 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.0022/0.8988, allocations: 1.452 MB / 0.7542 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.8988, allocations: 11.19 kB / 0.7542 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008003/0.8996, allocations: 190.7 kB / 0.7544 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/0.9007, allocations: 0.8083 MB / 0.7552 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.399e-05/0.9007, allocations: 43.84 kB / 0.7552 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.601e-05/0.9008, allocations: 59.44 kB / 0.7553 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/0.902, allocations: 0.8165 MB / 0.7561 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.902, allocations: 11.25 kB / 0.7561 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.255e-05/0.9021, allocations: 25.8 kB / 0.7561 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.043e-05/0.9021, allocations: 14.16 kB / 0.7561 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009607/0.9031, allocations: 0.557 MB / 0.7566 GB, free: 4.066 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 preOpt removeSimpleEquations (simulation): time 0.003822/0.9069, allocations: 4.218 MB / 0.7608 GB, free: 17.23 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008871/0.9078, allocations: 437.4 kB / 0.7612 GB, free: 17.21 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006386/0.9085, allocations: 351.5 kB / 0.7615 GB, free: 17.2 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003503/0.9088, allocations: 192.2 kB / 0.7617 GB, free: 17.01 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006327/0.9095, allocations: 322.2 kB / 0.762 GB, free: 16.94 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003691/0.9099, allocations: 30.22 kB / 0.762 GB, free: 16.93 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 2.054e-06/0.9099, allocations: 0.5312 kB / 0.762 GB, free: 16.93 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.00147/0.9113, allocations: 0.7046 MB / 0.7627 GB, free: 16.83 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/0.9114, allocations: 86.64 kB / 0.7628 GB, free: 16.73 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00124/0.9126, allocations: 1.152 MB / 0.7639 GB, free: 16.59 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.988e-05/0.9127, allocations: 35.94 kB / 0.764 GB, free: 16.56 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003195/0.913, allocations: 485.7 kB / 0.7644 GB, free: 16.39 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.896e-05/0.9131, allocations: 118.9 kB / 0.7645 GB, free: 16.32 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001967/0.9133, allocations: 115.5 kB / 0.7647 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.9135, allocations: 326.8 kB / 0.765 GB, free: 16 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004678/0.9139, allocations: 240 kB / 0.7652 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006299/0.9146, allocations: 0.5441 MB / 0.7657 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009357/0.9155, allocations: 0.6696 MB / 0.7664 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/0.9155, allocations: 4.906 kB / 0.7664 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001255/0.9168, allocations: 0.7723 MB / 0.7671 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.786e-05/0.9169, allocations: 36.17 kB / 0.7672 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.9169, allocations: 6.375 kB / 0.7672 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.884e-05/0.9169, allocations: 15.62 kB / 0.7672 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005452/0.9175, allocations: 120.6 kB / 0.7673 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/0.9175, allocations: 11.16 kB / 0.7673 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008819/0.9184, allocations: 59.11 kB / 0.7674 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.045e-05/0.9184, allocations: 21.69 kB / 0.7674 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008271/0.9193, allocations: 0.5148 MB / 0.7679 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005217/0.9198, allocations: 0.505 MB / 0.7684 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007893/0.9206, allocations: 0.5966 MB / 0.769 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.391e-06/0.9206, allocations: 1.562 kB / 0.769 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001238/0.9219, allocations: 0.6891 MB / 0.7696 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.925e-05/0.9219, allocations: 36.73 kB / 0.7697 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.9219, allocations: 6.5 kB / 0.7697 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.9219, allocations: 11.03 kB / 0.7697 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000519/0.9225, allocations: 110.1 kB / 0.7698 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.818e-05/0.9225, allocations: 15.03 kB / 0.7698 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009596/0.9235, allocations: 68.25 kB / 0.7699 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.754e-05/0.9235, allocations: 24.05 kB / 0.7699 GB, free: 14.46 MB / 0.5919 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 (pulse_p.count,$PRE.pulse_p.count,pulse_p.T_start,$PRE.pulse_p.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002551/0.9238, allocations: 219.6 kB / 0.7701 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000158/0.9239, allocations: 99 kB / 0.7702 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000955/0.9249, allocations: 0.5547 MB / 0.7708 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.9249, allocations: 4.062 kB / 0.7708 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.9249, allocations: 3.156 kB / 0.7708 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.9249, allocations: 3.719 kB / 0.7708 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002103/0.9271, allocations: 1.488 MB / 0.7722 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.9271, allocations: 7.5 kB / 0.7722 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003585/0.9274, allocations: 71.8 kB / 0.7723 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.9275, allocations: 8.906 kB / 0.7723 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.417e-05/0.9275, allocations: 8.625 kB / 0.7723 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.718e-06/0.9275, allocations: 4.25 kB / 0.7723 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.9275, allocations: 0 / 0.7723 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008558/0.9284, allocations: 0.6581 MB / 0.773 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003653/0.9287, allocations: 221 kB / 0.7732 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001247/0.9289, allocations: 14.34 kB / 0.7732 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005678/0.9294, allocations: 41.94 kB / 0.7732 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.9296, allocations: 34.77 kB / 0.7733 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.564e-05/0.9296, allocations: 11.84 kB / 0.7733 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008953/0.9305, allocations: 0.8173 MB / 0.7741 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9305, allocations: 0 / 0.7741 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001149/0.9317, allocations: 427.3 kB / 0.7745 GB, free: 13.18 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_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004521/0.9321, allocations: 181.7 kB / 0.7746 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001521/0.9337, allocations: 0.9538 MB / 0.7756 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.9337, allocations: 0.6875 kB / 0.7756 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003525/0.934, allocations: 229.7 kB / 0.7758 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002257/0.9363, allocations: 0.5069 MB / 0.7763 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00284/0.9391, allocations: 1.838 MB / 0.7781 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006842/0.9399, allocations: 1.178 MB / 0.7792 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002534/0.9401, allocations: 80.33 kB / 0.7793 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of SimCode: time 5.91e-07/0.9401, allocations: 0 / 0.7793 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of Templates: time 0.02385/0.964, allocations: 16.54 MB / 0.7955 GB, free: 8.75 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1)