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.0008611/0.0008608, allocations: 98.8 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009683/0.0009685, allocations: 180.1 kB / 16.92 MB, free: 6.918 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.309/1.309, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9559/0.9559, allocations: 135.3 MB / 427.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003305/0.0003305, allocations: 8.719 kB / 0.5082 GB, free: 4.793 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1687, allocations: 82.3 MB / 0.5886 GB, free: 2.66 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised): time 0.4914/0.6602, allocations: 163.3 MB / 0.7481 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006173/0.6664, allocations: 4.052 MB / 0.7521 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007664/0.6672, allocations: 10.81 kB / 0.7521 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001101/0.6683, allocations: 205.5 kB / 0.7523 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002721/0.6711, allocations: 0.6317 MB / 0.7529 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001672/0.6727, allocations: 433.6 kB / 0.7533 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004104/0.6769, allocations: 3.805 MB / 0.757 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002648/0.6795, allocations: 2.36 MB / 0.7593 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00251/0.6821, allocations: 1.117 MB / 0.7604 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001282/0.6834, allocations: 0.8674 MB / 0.7613 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001278/0.6835, allocations: 48 kB / 0.7613 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001697/0.6852, allocations: 0.8964 MB / 0.7622 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003688/0.6856, allocations: 330.8 kB / 0.7625 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007789/0.6864, allocations: 0.6001 MB / 0.7631 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001293/0.6877, allocations: 1.161 MB / 0.7642 GB, free: 8.727 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.6877, allocations: 0 / 0.7642 GB, free: 8.727 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.914e-06/0.6877, allocations: 0 / 0.7642 GB, free: 8.727 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.724e-05/0.6877, allocations: 0 / 0.7642 GB, free: 8.727 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.002515/0.6902, allocations: 1.483 MB / 0.7657 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.6903, allocations: 8.031 kB / 0.7657 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007876/0.6911, allocations: 202.3 kB / 0.7659 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001217/0.6923, allocations: 0.885 MB / 0.7668 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.09e-05/0.6924, allocations: 53.31 kB / 0.7668 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.6925, allocations: 68 kB / 0.7669 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001402/0.6939, allocations: 0.987 MB / 0.7678 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.6939, allocations: 0 / 0.7678 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.791e-05/0.694, allocations: 31.94 kB / 0.7679 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.498e-05/0.694, allocations: 16 kB / 0.7679 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001235/0.6953, allocations: 0.8077 MB / 0.7687 GB, free: 4.004 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.004436/0.6997, allocations: 4.801 MB / 0.7734 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002277/0.702, allocations: 4.022 MB / 0.7773 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004964/0.7025, allocations: 358.6 kB / 0.7776 GB, free: 9.66 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002931/0.7028, allocations: 198.5 kB / 0.7778 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005261/0.7034, allocations: 329.1 kB / 0.7781 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003663/0.7037, allocations: 31.69 kB / 0.7782 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=35): time 2.134e-06/0.7037, allocations: 0 / 0.7782 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of matching and sorting (n=35): time 0.005116/0.7089, allocations: 1.757 MB / 0.7799 GB, free: 7.277 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/0.7089, allocations: 89.09 kB / 0.78 GB, free: 7.172 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001479/0.7104, allocations: 1.192 MB / 0.7811 GB, free: 5.965 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.475e-05/0.7105, allocations: 37.7 kB / 0.7812 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004189/0.7109, allocations: 0.5082 MB / 0.7817 GB, free: 5.41 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.711, allocations: 126.2 kB / 0.7818 GB, free: 5.285 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.462e-05/0.7111, allocations: 45.69 kB / 0.7818 GB, free: 5.234 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.7112, allocations: 325.9 kB / 0.7821 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003983/0.7116, allocations: 236.9 kB / 0.7824 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006337/0.7123, allocations: 0.5605 MB / 0.7829 GB, free: 3.98 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000928/0.7132, allocations: 0.6979 MB / 0.7836 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.7132, allocations: 4 kB / 0.7836 GB, free: 3.199 MB / 0.5919 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.00237/0.7156, allocations: 1.142 MB / 0.7847 GB, free: 2.039 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001763/0.7158, allocations: 279.5 kB / 0.785 GB, free: 1.684 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.7158, allocations: 4 kB / 0.785 GB, free: 1.68 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001317/0.7171, allocations: 396.4 kB / 0.7854 GB, free: 1.289 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003294/0.7175, allocations: 75.88 kB / 0.7854 GB, free: 1.215 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001066/0.7186, allocations: 1.052 MB / 0.7865 GB, free: 140 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/0.7196, allocations: 91.88 kB / 0.7865 GB, free: 48 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.386e-05/0.7197, allocations: 24 kB / 0.7866 GB, free: 24 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.307e-06/0.7197, allocations: 4 kB / 0.7866 GB, free: 20 kB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00143/0.7211, allocations: 0.8254 MB / 0.7874 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.7211, allocations: 4 kB / 0.7874 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006029/0.7217, allocations: 267.4 kB / 0.7876 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002941/0.722, allocations: 67.89 kB / 0.7877 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00351/0.7256, allocations: 3.102 MB / 0.7907 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001019/0.7266, allocations: 91.84 kB / 0.7908 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.906e-05/0.7267, allocations: 31.98 kB / 0.7908 GB, free: 11.5 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.0006385/0.7273, allocations: 476.7 kB / 0.7913 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002243/0.7275, allocations: 110.6 kB / 0.7914 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001488/0.729, allocations: 0.8126 MB / 0.7922 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.7291, allocations: 7.938 kB / 0.7922 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.7291, allocations: 4 kB / 0.7922 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.7291, allocations: 3.984 kB / 0.7922 GB, free: 10.07 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.002877/0.732, allocations: 2.16 MB / 0.7943 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.732, allocations: 7.938 kB / 0.7943 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002458/0.7322, allocations: 44.19 kB / 0.7944 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004709/0.7327, allocations: 216.5 kB / 0.7946 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.506e-05/0.7327, allocations: 8 kB / 0.7946 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007277/0.7335, allocations: 0.8801 MB / 0.7954 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.7335, allocations: 4 kB / 0.7955 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0013/0.7348, allocations: 0.8906 MB / 0.7963 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004257/0.7352, allocations: 243.6 kB / 0.7966 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/0.7353, allocations: 15.98 kB / 0.7966 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006532/0.736, allocations: 71.83 kB / 0.7966 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.876e-05/0.7361, allocations: 23.97 kB / 0.7967 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-05/0.7362, allocations: 15.98 kB / 0.7967 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001045/0.7372, allocations: 0.8329 MB / 0.7975 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2e-07/0.7372, allocations: 3.938 kB / 0.7975 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001338/0.7386, allocations: 0.5032 MB / 0.798 GB, free: 3.926 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.0004218/0.739, allocations: 194.4 kB / 0.7982 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002091/0.7411, allocations: 1.159 MB / 0.7993 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.7411, allocations: 0 / 0.7993 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005393/0.7417, allocations: 259.6 kB / 0.7995 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003717/0.7454, allocations: 0.6522 MB / 0.8002 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003277/0.7487, allocations: 2.244 MB / 0.8024 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000789/0.7495, allocations: 1.217 MB / 0.8036 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000174/0.7497, allocations: 71.42 kB / 0.8036 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of SimCode: time 7.31e-07/0.7497, allocations: 0 / 0.8036 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of Templates: time 0.03174/0.7814, allocations: 22.37 MB / 0.8255 GB, free: 7.797 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)