Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0008152/0.0008152, allocations: 97.88 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.005328/0.005328, allocations: 171.7 kB / 16.27 MB, free: 6.648 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.335/1.335, allocations: 223.2 MB / 240.3 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7686/0.7686, allocations: 132.4 MB / 423.8 MB, free: 1.902 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003235/0.0003236, allocations: 11.98 kB / 0.504 GB, free: 3.855 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4486/0.449, allocations: 81.58 MB / 0.5837 GB, free: 4.262 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.1871/0.6361, allocations: 157.3 MB / 0.7373 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003149/0.6393, allocations: 1.757 MB / 0.739 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004394/0.6398, allocations: 7.938 kB / 0.739 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005922/0.6404, allocations: 131.2 kB / 0.7391 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001455/0.6419, allocations: 0.498 MB / 0.7396 GB, free: 316 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001211/0.6431, allocations: 351.9 kB / 0.74 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003716/0.6468, allocations: 3.507 MB / 0.7434 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002838/0.6497, allocations: 2.207 MB / 0.7455 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001898/0.6516, allocations: 0.8947 MB / 0.7464 GB, free: 9.332 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0013/0.6529, allocations: 0.7155 MB / 0.7471 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002164/0.6531, allocations: 36 kB / 0.7471 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001683/0.6548, allocations: 0.799 MB / 0.7479 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003942/0.6552, allocations: 286.8 kB / 0.7482 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009444/0.6562, allocations: 0.5262 MB / 0.7487 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001921/0.6581, allocations: 1.378 MB / 0.7501 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.6581, allocations: 0 / 0.7501 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.464e-06/0.6581, allocations: 0 / 0.7501 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.126e-05/0.6582, allocations: 0 / 0.7501 GB, free: 5.578 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.00247/0.6607, allocations: 1.299 MB / 0.7513 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.6607, allocations: 12.03 kB / 0.7513 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009458/0.6617, allocations: 190.5 kB / 0.7515 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001413/0.6631, allocations: 0.806 MB / 0.7523 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.413e-05/0.6632, allocations: 48.94 kB / 0.7523 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.679e-05/0.6633, allocations: 60 kB / 0.7524 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/0.6645, allocations: 0.8239 MB / 0.7532 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/0.6645, allocations: 11.92 kB / 0.7532 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.29e-05/0.6646, allocations: 20 kB / 0.7532 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.529e-05/0.6646, allocations: 16 kB / 0.7533 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.6657, allocations: 0.5734 MB / 0.7538 GB, free: 1.535 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.004281/0.67, allocations: 4.247 MB / 0.758 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007665/0.6707, allocations: 458.1 kB / 0.7584 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005008/0.6712, allocations: 353.8 kB / 0.7587 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003093/0.6716, allocations: 198.2 kB / 0.7589 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005567/0.6721, allocations: 327.1 kB / 0.7592 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002977/0.6724, allocations: 39.53 kB / 0.7593 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=33): time 2.875e-06/0.6725, allocations: 0 / 0.7593 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.00505/0.6775, allocations: 1.698 MB / 0.7609 GB, free: 9.883 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.99e-05/0.6776, allocations: 88.98 kB / 0.761 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001571/0.6792, allocations: 1.147 MB / 0.7621 GB, free: 8.613 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.187e-05/0.6792, allocations: 37.7 kB / 0.7622 GB, free: 8.57 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004165/0.6797, allocations: 488.4 kB / 0.7626 GB, free: 8.09 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001107/0.6798, allocations: 114.4 kB / 0.7627 GB, free: 7.977 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.691e-05/0.6798, allocations: 41.7 kB / 0.7628 GB, free: 7.93 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.68, allocations: 330 kB / 0.7631 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004152/0.6804, allocations: 232.9 kB / 0.7633 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006562/0.6811, allocations: 0.5462 MB / 0.7639 GB, free: 6.695 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001016/0.6821, allocations: 0.6908 MB / 0.7645 GB, free: 5.926 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/0.6821, allocations: 4 kB / 0.7645 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002318/0.6844, allocations: 1.112 MB / 0.7656 GB, free: 4.793 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002101/0.6847, allocations: 275.2 kB / 0.7659 GB, free: 4.441 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.6847, allocations: 11.94 kB / 0.7659 GB, free: 4.43 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001299/0.686, allocations: 360.5 kB / 0.7662 GB, free: 4.074 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003913/0.6864, allocations: 103.8 kB / 0.7663 GB, free: 3.973 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0011/0.6875, allocations: 1.034 MB / 0.7674 GB, free: 2.914 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009135/0.6884, allocations: 91.75 kB / 0.7674 GB, free: 2.824 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.566e-05/0.6885, allocations: 28 kB / 0.7675 GB, free: 2.797 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.6885, allocations: 6.656 kB / 0.7675 GB, free: 2.793 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001459/0.69, allocations: 0.7904 MB / 0.7682 GB, free: 1.992 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.69, allocations: 4 kB / 0.7682 GB, free: 1.988 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005927/0.6906, allocations: 241.8 kB / 0.7685 GB, free: 1.75 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000356/0.691, allocations: 91.86 kB / 0.7686 GB, free: 1.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003889/0.6949, allocations: 3.037 MB / 0.7715 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009465/0.6958, allocations: 75.97 kB / 0.7716 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.111e-05/0.6959, allocations: 24 kB / 0.7716 GB, free: 14.39 MB / 0.6075 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_m_flow.count,$PRE.pulse_m_flow.count,pulse_m_flow.T_start,$PRE.pulse_m_flow.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0006477/0.6965, allocations: 464.8 kB / 0.7721 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002004/0.6967, allocations: 114.6 kB / 0.7722 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001548/0.6983, allocations: 0.7968 MB / 0.773 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.6983, allocations: 0 / 0.773 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-06/0.6983, allocations: 4 kB / 0.773 GB, free: 13 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.493e-06/0.6983, allocations: 3.938 kB / 0.773 GB, free: 13 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002853/0.7012, allocations: 1.74 MB / 0.7747 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.7012, allocations: 4 kB / 0.7747 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002702/0.7015, allocations: 60.16 kB / 0.7747 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005179/0.702, allocations: 239 kB / 0.775 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.17e-05/0.7021, allocations: 11.94 kB / 0.775 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009515/0.7031, allocations: 1.009 MB / 0.7759 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.7031, allocations: 11.88 kB / 0.776 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001327/0.7045, allocations: 0.9061 MB / 0.7768 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003647/0.7048, allocations: 223.8 kB / 0.7771 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001266/0.705, allocations: 8 kB / 0.7771 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006458/0.7056, allocations: 59.92 kB / 0.7771 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.65e-05/0.7057, allocations: 23.97 kB / 0.7771 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-05/0.7057, allocations: 8 kB / 0.7772 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001077/0.7068, allocations: 0.8313 MB / 0.778 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.8e-07/0.7068, allocations: 0 / 0.778 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001399/0.7082, allocations: 467.4 kB / 0.7784 GB, free: 7.246 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,20)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000412/0.7087, allocations: 169.7 kB / 0.7786 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002136/0.7108, allocations: 1.154 MB / 0.7797 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.7108, allocations: 0 / 0.7797 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005713/0.7114, allocations: 259.4 kB / 0.7799 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003473/0.7149, allocations: 0.6337 MB / 0.7806 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002972/0.7179, allocations: 2.082 MB / 0.7826 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007806/0.7187, allocations: 1.185 MB / 0.7838 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000952/0.7196, allocations: 308.4 kB / 0.7841 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001521/0.7198, allocations: 71.42 kB / 0.7841 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of SimCode: time 8.01e-07/0.7198, allocations: 0 / 0.7841 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of Templates: time 0.0344/0.7542, allocations: 21.23 MB / 0.8048 GB, free: 12.35 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)