Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.ParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0007811/0.0007814, allocations: 90.67 kB / 15.36 MB, free: 0.7344 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.005662/0.005662, allocations: 171.8 kB / 16.26 MB, free: 6.68 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.345/1.345, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9562/0.9562, allocations: 135.3 MB / 426.7 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003297/0.0003296, allocations: 17.02 kB / 0.5076 GB, free: 4.75 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1527, allocations: 82.3 MB / 0.588 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised): time 0.4501/0.6029, allocations: 157.3 MB / 0.7416 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005872/0.6088, allocations: 3.597 MB / 0.7451 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005265/0.6094, allocations: 13.72 kB / 0.7451 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006433/0.61, allocations: 127.2 kB / 0.7452 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001573/0.6116, allocations: 0.5008 MB / 0.7457 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001426/0.6131, allocations: 401 kB / 0.7461 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00404/0.6171, allocations: 3.499 MB / 0.7495 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002898/0.62, allocations: 2.223 MB / 0.7517 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001907/0.6219, allocations: 0.9072 MB / 0.7526 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001262/0.6232, allocations: 0.716 MB / 0.7533 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001819/0.6234, allocations: 34.25 kB / 0.7533 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001728/0.6251, allocations: 0.7945 MB / 0.7541 GB, free: 2.613 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000437/0.6256, allocations: 278.9 kB / 0.7543 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0009814/0.6266, allocations: 0.5378 MB / 0.7549 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001975/0.6286, allocations: 1.382 MB / 0.7562 GB, free: 416 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.6286, allocations: 4 kB / 0.7562 GB, free: 412 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6286, allocations: 0 / 0.7562 GB, free: 412 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.66e-05/0.6287, allocations: 4 kB / 0.7562 GB, free: 408 kB / 0.5606 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.002418/0.6311, allocations: 1.291 MB / 0.7575 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.6311, allocations: 12.03 kB / 0.7575 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008706/0.632, allocations: 194.3 kB / 0.7577 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001352/0.6334, allocations: 0.8101 MB / 0.7585 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.939e-05/0.6334, allocations: 45 kB / 0.7585 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.6335, allocations: 56 kB / 0.7586 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001307/0.6349, allocations: 0.8327 MB / 0.7594 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.6349, allocations: 3.938 kB / 0.7594 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.681e-05/0.635, allocations: 24 kB / 0.7594 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.686e-05/0.635, allocations: 15.94 kB / 0.7594 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/0.636, allocations: 0.5696 MB / 0.76 GB, free: 12.36 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.004326/0.6404, allocations: 4.244 MB / 0.7641 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008273/0.6412, allocations: 468 kB / 0.7646 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005344/0.6417, allocations: 347.1 kB / 0.7649 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003209/0.6421, allocations: 202.2 kB / 0.7651 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005902/0.6427, allocations: 323.1 kB / 0.7654 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002879/0.643, allocations: 39.53 kB / 0.7654 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 2.504e-06/0.643, allocations: 0 / 0.7654 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.001547/0.6445, allocations: 0.7209 MB / 0.7661 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.509e-05/0.6446, allocations: 89.09 kB / 0.7662 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001513/0.6461, allocations: 1.151 MB / 0.7673 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.407e-05/0.6462, allocations: 33.7 kB / 0.7674 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004549/0.6467, allocations: 492.4 kB / 0.7678 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/0.6468, allocations: 118.4 kB / 0.768 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.02e-05/0.6469, allocations: 45.7 kB / 0.768 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.647, allocations: 322 kB / 0.7683 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004243/0.6474, allocations: 236.9 kB / 0.7685 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006651/0.6481, allocations: 0.5421 MB / 0.7691 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009942/0.6491, allocations: 0.6905 MB / 0.7697 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.6491, allocations: 0 / 0.7697 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001354/0.6505, allocations: 0.7827 MB / 0.7705 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002115/0.6507, allocations: 277.4 kB / 0.7708 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.6507, allocations: 7.938 kB / 0.7708 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.248e-05/0.6508, allocations: 8 kB / 0.7708 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005359/0.6513, allocations: 111.8 kB / 0.7709 GB, free: 496 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.584e-05/0.6513, allocations: 11.94 kB / 0.7709 GB, free: 484 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000871/0.6522, allocations: 83.84 kB / 0.771 GB, free: 400 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.509e-05/0.6523, allocations: 24 kB / 0.771 GB, free: 376 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.584e-06/0.6523, allocations: 4 kB / 0.771 GB, free: 372 kB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001033/0.6533, allocations: 0.5869 MB / 0.7716 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.6534, allocations: 4 kB / 0.7716 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.868e-06/0.6534, allocations: 8 kB / 0.7716 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004705/0.6538, allocations: 112.8 kB / 0.7717 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.6539, allocations: 19.88 kB / 0.7717 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008484/0.6547, allocations: 87.81 kB / 0.7718 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.314e-05/0.6548, allocations: 20 kB / 0.7718 GB, free: 15.52 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.0005372/0.6553, allocations: 472.5 kB / 0.7723 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001789/0.6555, allocations: 106.8 kB / 0.7724 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001073/0.6566, allocations: 0.5555 MB / 0.7729 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.094e-06/0.6566, allocations: 4 kB / 0.7729 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.6566, allocations: 3.938 kB / 0.7729 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.892e-06/0.6566, allocations: 3.984 kB / 0.7729 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002344/0.659, allocations: 1.509 MB / 0.7744 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/0.659, allocations: 3.938 kB / 0.7744 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003637/0.6594, allocations: 67.89 kB / 0.7745 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/0.6594, allocations: 4 kB / 0.7745 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.19e-05/0.6594, allocations: 11.98 kB / 0.7745 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.043e-06/0.6594, allocations: 4 kB / 0.7745 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.6595, allocations: 0 / 0.7745 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009794/0.6604, allocations: 0.6786 MB / 0.7751 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000394/0.6608, allocations: 235.7 kB / 0.7754 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001439/0.661, allocations: 8 kB / 0.7754 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000708/0.6617, allocations: 55.84 kB / 0.7754 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.6618, allocations: 31.95 kB / 0.7755 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.834e-05/0.6619, allocations: 12 kB / 0.7755 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001135/0.663, allocations: 0.8237 MB / 0.7763 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.41e-07/0.663, allocations: 0 / 0.7763 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001195/0.6642, allocations: 419.5 kB / 0.7767 GB, free: 10.38 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.0004368/0.6647, allocations: 182.3 kB / 0.7769 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001678/0.6664, allocations: 0.9137 MB / 0.7777 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.271e-06/0.6664, allocations: 4 kB / 0.7777 GB, free: 9.266 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004242/0.6668, allocations: 235.7 kB / 0.778 GB, free: 9.035 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003677/0.6705, allocations: 0.6375 MB / 0.7786 GB, free: 8.418 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003369/0.6739, allocations: 2.076 MB / 0.7806 GB, free: 6.285 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009073/0.6748, allocations: 1.186 MB / 0.7818 GB, free: 5.07 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001326/0.6761, allocations: 412.3 kB / 0.7822 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002216/0.6764, allocations: 79.42 kB / 0.7822 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of SimCode: time 5.51e-07/0.6764, allocations: 0 / 0.7822 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of Templates: time 0.03355/0.7099, allocations: 19.08 MB / 0.8009 GB, free: 1.77 MB / 0.6075 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1)