Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.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.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000898/0.0008981, allocations: 91.84 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.00609/0.00609, allocations: 172.7 kB / 16.26 MB, free: 6.617 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.384/1.384, allocations: 223.3 MB / 240.3 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9718/0.9718, allocations: 135.3 MB / 426.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004874/0.0004872, allocations: 8 kB / 0.5076 GB, free: 4.746 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1633, allocations: 82.31 MB / 0.588 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised): time 0.4896/0.653, allocations: 163.3 MB / 0.7475 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005987/0.659, allocations: 4.044 MB / 0.7514 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005469/0.6596, allocations: 14.78 kB / 0.7515 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007269/0.6603, allocations: 199.6 kB / 0.7516 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001887/0.6622, allocations: 0.6322 MB / 0.7523 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001466/0.6637, allocations: 441.5 kB / 0.7527 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003755/0.6675, allocations: 3.799 MB / 0.7564 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002842/0.6703, allocations: 2.364 MB / 0.7587 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002444/0.6728, allocations: 1.124 MB / 0.7598 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001121/0.6739, allocations: 0.8674 MB / 0.7606 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.916e-05/0.674, allocations: 48 kB / 0.7607 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00189/0.6759, allocations: 0.8925 MB / 0.7616 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003683/0.6763, allocations: 330.8 kB / 0.7619 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006735/0.677, allocations: 0.5962 MB / 0.7625 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001775/0.6787, allocations: 1.581 MB / 0.764 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.6788, allocations: 4 kB / 0.764 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6788, allocations: 3.938 kB / 0.764 GB, free: 8.234 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.375e-05/0.6788, allocations: 4 kB / 0.764 GB, free: 8.23 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.002559/0.6814, allocations: 1.475 MB / 0.7655 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.6814, allocations: 8.031 kB / 0.7655 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008455/0.6823, allocations: 198.3 kB / 0.7657 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001329/0.6836, allocations: 0.8812 MB / 0.7665 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.751e-05/0.6837, allocations: 57.25 kB / 0.7666 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/0.6838, allocations: 64 kB / 0.7666 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/0.6853, allocations: 0.9948 MB / 0.7676 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.265e-05/0.6853, allocations: 0 / 0.7676 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.266e-05/0.6854, allocations: 35.92 kB / 0.7676 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.628e-05/0.6854, allocations: 12 kB / 0.7676 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00129/0.6867, allocations: 0.8077 MB / 0.7684 GB, free: 3.516 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.005068/0.6918, allocations: 4.805 MB / 0.7731 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002765/0.6946, allocations: 4.015 MB / 0.777 GB, free: 9.527 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005292/0.6951, allocations: 358.6 kB / 0.7774 GB, free: 9.176 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003223/0.6955, allocations: 194.5 kB / 0.7776 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005561/0.696, allocations: 329.1 kB / 0.7779 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003772/0.6964, allocations: 31.69 kB / 0.7779 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=35): time 3.156e-06/0.6964, allocations: 0 / 0.7779 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of matching and sorting (n=35): time 0.005298/0.7017, allocations: 1.766 MB / 0.7796 GB, free: 6.789 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.591e-05/0.7018, allocations: 81.11 kB / 0.7797 GB, free: 6.691 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001539/0.7034, allocations: 1.192 MB / 0.7809 GB, free: 5.484 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.554e-05/0.7034, allocations: 41.7 kB / 0.7809 GB, free: 5.438 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004472/0.7039, allocations: 0.512 MB / 0.7814 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.704, allocations: 130.2 kB / 0.7815 GB, free: 4.793 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.645e-05/0.7041, allocations: 37.7 kB / 0.7816 GB, free: 4.75 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.7042, allocations: 333.9 kB / 0.7819 GB, free: 4.418 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004008/0.7046, allocations: 236.9 kB / 0.7821 GB, free: 4.184 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006469/0.7053, allocations: 0.5605 MB / 0.7827 GB, free: 3.488 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/0.7063, allocations: 0.6942 MB / 0.7834 GB, free: 2.715 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.7063, allocations: 0 / 0.7834 GB, free: 2.715 MB / 0.5919 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002309/0.7086, allocations: 1.157 MB / 0.7845 GB, free: 1.539 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002014/0.7088, allocations: 279.5 kB / 0.7848 GB, free: 1.184 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.7089, allocations: 4 kB / 0.7848 GB, free: 1.18 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001336/0.7102, allocations: 393.6 kB / 0.7851 GB, free: 0.793 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003157/0.7105, allocations: 71.89 kB / 0.7852 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001107/0.7116, allocations: 1.056 MB / 0.7862 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009377/0.7126, allocations: 87.88 kB / 0.7863 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.356e-05/0.7127, allocations: 31.98 kB / 0.7863 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.634e-06/0.7127, allocations: 0 / 0.7863 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001465/0.7141, allocations: 0.8174 MB / 0.7871 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.7142, allocations: 4 kB / 0.7871 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000581/0.7147, allocations: 261.3 kB / 0.7874 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002966/0.7151, allocations: 71.83 kB / 0.7875 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003712/0.7188, allocations: 3.106 MB / 0.7905 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/0.7198, allocations: 91.89 kB / 0.7906 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.906e-05/0.7199, allocations: 24 kB / 0.7906 GB, free: 11.01 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,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0006806/0.7206, allocations: 484.8 kB / 0.7911 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/0.7207, allocations: 114.6 kB / 0.7912 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001477/0.7222, allocations: 0.8087 MB / 0.792 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.7222, allocations: 4 kB / 0.792 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.7222, allocations: 0 / 0.792 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.68e-05/0.7222, allocations: 4 kB / 0.792 GB, free: 9.586 MB / 0.6075 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 postOpt removeSimpleEquations (simulation): time 0.00295/0.7252, allocations: 2.172 MB / 0.7941 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.7252, allocations: 4 kB / 0.7941 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002615/0.7255, allocations: 48.12 kB / 0.7941 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004839/0.726, allocations: 212.6 kB / 0.7944 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.519e-05/0.726, allocations: 8 kB / 0.7944 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008184/0.7268, allocations: 0.8911 MB / 0.7952 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.319e-06/0.7269, allocations: 4.031 kB / 0.7952 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001323/0.7282, allocations: 0.8906 MB / 0.7961 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003929/0.7286, allocations: 235.6 kB / 0.7963 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001656/0.7288, allocations: 12 kB / 0.7963 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007138/0.7295, allocations: 71.83 kB / 0.7964 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.347e-05/0.7296, allocations: 35.89 kB / 0.7964 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.597e-05/0.7296, allocations: 8 kB / 0.7964 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001082/0.7307, allocations: 0.8407 MB / 0.7973 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7307, allocations: 0 / 0.7973 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001435/0.7322, allocations: 0.4993 MB / 0.7978 GB, free: 3.434 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 (22): * Single equations (assignments): 19 * 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,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004425/0.7326, allocations: 189.3 kB / 0.7979 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002018/0.7346, allocations: 1.163 MB / 0.7991 GB, free: 2.055 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.7347, allocations: 0 / 0.7991 GB, free: 2.055 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000504/0.7352, allocations: 267.4 kB / 0.7993 GB, free: 1.797 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003644/0.7388, allocations: 0.6514 MB / 0.8 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003303/0.7421, allocations: 2.192 MB / 0.8021 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008952/0.743, allocations: 1.213 MB / 0.8033 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001186/0.7442, allocations: 376.6 kB / 0.8036 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001707/0.7444, allocations: 71.42 kB / 0.8037 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of SimCode: time 8.72e-07/0.7444, allocations: 0 / 0.8037 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of Templates: time 0.03762/0.7821, allocations: 21.67 MB / 0.8249 GB, free: 7.824 MB / 0.6387 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1)