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.0009854/0.0009852, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.007751/0.007751, allocations: 171.8 kB / 16.26 MB, free: 6.676 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.392/1.392, allocations: 223.2 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9716/0.9716, allocations: 135.3 MB / 426.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000332/0.0003321, allocations: 16.77 kB / 0.5076 GB, free: 4.75 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1652, allocations: 82.3 MB / 0.588 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.4421/0.6073, allocations: 157.3 MB / 0.7416 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003103/0.6105, allocations: 1.749 MB / 0.7433 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003488/0.6109, allocations: 14.47 kB / 0.7433 GB, free: 8.539 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000597/0.6115, allocations: 135.3 kB / 0.7434 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001478/0.613, allocations: 0.4909 MB / 0.7439 GB, free: 8.207 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001057/0.614, allocations: 343.9 kB / 0.7442 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003294/0.6173, allocations: 3.51 MB / 0.7477 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002549/0.6199, allocations: 2.216 MB / 0.7498 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001656/0.6216, allocations: 0.8912 MB / 0.7507 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008924/0.6225, allocations: 0.7213 MB / 0.7514 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.119e-05/0.6226, allocations: 33.34 kB / 0.7514 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001455/0.624, allocations: 0.8048 MB / 0.7522 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002605/0.6243, allocations: 278.8 kB / 0.7525 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005448/0.6249, allocations: 0.5209 MB / 0.753 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001544/0.6264, allocations: 1.39 MB / 0.7543 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.6264, allocations: 0 / 0.7543 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.964e-06/0.6264, allocations: 0 / 0.7543 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.33e-05/0.6265, allocations: 0 / 0.7543 GB, free: 2.145 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.002011/0.6285, allocations: 1.299 MB / 0.7556 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.6285, allocations: 8.031 kB / 0.7556 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007541/0.6293, allocations: 183.4 kB / 0.7558 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/0.6305, allocations: 0.8099 MB / 0.7566 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.511e-05/0.6305, allocations: 41 kB / 0.7566 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.6306, allocations: 56 kB / 0.7567 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/0.6318, allocations: 0.8327 MB / 0.7575 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.6319, allocations: 3.938 kB / 0.7575 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.093e-05/0.6319, allocations: 20 kB / 0.7575 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.499e-05/0.6319, allocations: 16 kB / 0.7575 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009532/0.6329, allocations: 0.5812 MB / 0.7581 GB, free: 14.11 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.003947/0.6369, allocations: 4.263 MB / 0.7623 GB, free: 9.59 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007509/0.6376, allocations: 446.1 kB / 0.7627 GB, free: 9.145 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004976/0.6381, allocations: 350.8 kB / 0.763 GB, free: 8.801 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002835/0.6384, allocations: 194.7 kB / 0.7632 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005469/0.639, allocations: 327.1 kB / 0.7635 GB, free: 8.234 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002312/0.6392, allocations: 31.59 kB / 0.7636 GB, free: 8.203 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=33): time 1.683e-06/0.6392, allocations: 0 / 0.7636 GB, free: 8.203 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.005071/0.6443, allocations: 1.708 MB / 0.7652 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/0.6444, allocations: 85.11 kB / 0.7653 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001388/0.6458, allocations: 1.147 MB / 0.7664 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.346e-05/0.6458, allocations: 33.7 kB / 0.7665 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004077/0.6463, allocations: 492.6 kB / 0.7669 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/0.6464, allocations: 118.4 kB / 0.767 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.841e-05/0.6464, allocations: 41.81 kB / 0.7671 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.6466, allocations: 333.9 kB / 0.7674 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004177/0.647, allocations: 232.9 kB / 0.7676 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006323/0.6477, allocations: 0.5501 MB / 0.7682 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009457/0.6486, allocations: 0.6947 MB / 0.7688 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.6486, allocations: 4 kB / 0.7688 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002325/0.651, allocations: 1.103 MB / 0.7699 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001837/0.6512, allocations: 270.8 kB / 0.7702 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.6512, allocations: 4 kB / 0.7702 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001274/0.6525, allocations: 384.3 kB / 0.7705 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003801/0.6529, allocations: 91.88 kB / 0.7706 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001117/0.654, allocations: 1.043 MB / 0.7716 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009406/0.6549, allocations: 83.92 kB / 0.7717 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.046e-05/0.655, allocations: 24 kB / 0.7717 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.177e-06/0.655, allocations: 4 kB / 0.7718 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001443/0.6565, allocations: 0.7903 MB / 0.7725 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.6565, allocations: 7.938 kB / 0.7725 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005733/0.6571, allocations: 241.2 kB / 0.7728 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003639/0.6575, allocations: 99.8 kB / 0.7729 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003589/0.6611, allocations: 3.033 MB / 0.7758 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008987/0.662, allocations: 79.97 kB / 0.7759 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.044e-05/0.662, allocations: 20 kB / 0.7759 GB, free: 10.97 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_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.0005757/0.6626, allocations: 472.7 kB / 0.7764 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000144/0.6628, allocations: 114.6 kB / 0.7765 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00142/0.6642, allocations: 0.785 MB / 0.7772 GB, free: 9.594 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.6642, allocations: 4 kB / 0.7772 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.6642, allocations: 0 / 0.7772 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.6642, allocations: 4 kB / 0.7773 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0025/0.6667, allocations: 1.728 MB / 0.7789 GB, free: 7.777 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.6667, allocations: 0 / 0.7789 GB, free: 7.777 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002709/0.667, allocations: 68.09 kB / 0.779 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005042/0.6675, allocations: 236.6 kB / 0.7792 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.666e-05/0.6676, allocations: 11.98 kB / 0.7792 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008904/0.6685, allocations: 1.018 MB / 0.7802 GB, free: 6.422 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.6685, allocations: 0 / 0.7802 GB, free: 6.422 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001277/0.6698, allocations: 0.9032 MB / 0.7811 GB, free: 5.48 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003456/0.6701, allocations: 235.6 kB / 0.7813 GB, free: 5.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/0.6702, allocations: 11.98 kB / 0.7814 GB, free: 5.219 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000636/0.6709, allocations: 55.94 kB / 0.7814 GB, free: 5.164 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.914e-05/0.671, allocations: 23.97 kB / 0.7814 GB, free: 5.141 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-05/0.671, allocations: 19.98 kB / 0.7814 GB, free: 5.121 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009602/0.672, allocations: 0.8119 MB / 0.7822 GB, free: 4.301 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.9e-07/0.672, allocations: 3.938 kB / 0.7822 GB, free: 4.297 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00121/0.6732, allocations: 475.4 kB / 0.7827 GB, free: 3.832 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 (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.0003521/0.6735, allocations: 184 kB / 0.7829 GB, free: 3.656 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002156/0.6757, allocations: 1.158 MB / 0.784 GB, free: 2.461 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.6757, allocations: 3.938 kB / 0.784 GB, free: 2.457 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005451/0.6763, allocations: 247.1 kB / 0.7842 GB, free: 2.219 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003402/0.6797, allocations: 0.6249 MB / 0.7849 GB, free: 1.605 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002669/0.6824, allocations: 2.084 MB / 0.7869 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007089/0.6831, allocations: 1.189 MB / 0.788 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008669/0.684, allocations: 316.4 kB / 0.7884 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001351/0.6841, allocations: 63.44 kB / 0.7884 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of SimCode: time 5.41e-07/0.6841, allocations: 3.938 kB / 0.7884 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of Templates: time 0.03379/0.7179, allocations: 21.22 MB / 0.8091 GB, free: 8.902 MB / 0.6231 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)