Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001359/0.001359, allocations: 193.2 kB / 16.14 MB, free: 6.688 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.379/1.379, allocations: 222.9 MB / 239.8 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7512/0.7512, allocations: 132.2 MB / 422.2 MB, free: 1.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 58.78 kB / 0.5011 GB, free: 9.246 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1578, allocations: 80.21 MB / 0.5794 GB, free: 9.262 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.4612/0.6191, allocations: 159.4 MB / 0.735 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005408/0.6245, allocations: 3.629 MB / 0.7386 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004522/0.625, allocations: 18.69 kB / 0.7386 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006532/0.6257, allocations: 135.8 kB / 0.7387 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00147/0.6272, allocations: 0.4978 MB / 0.7392 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001308/0.6285, allocations: 387.6 kB / 0.7396 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003328/0.6319, allocations: 3.494 MB / 0.743 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001101/0.633, allocations: 0.7587 MB / 0.7437 GB, free: 9.289 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001749/0.6347, allocations: 0.9213 MB / 0.7446 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008731/0.6356, allocations: 0.7272 MB / 0.7454 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.153e-05/0.6357, allocations: 37.75 kB / 0.7454 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001629/0.6374, allocations: 0.8035 MB / 0.7462 GB, free: 7.941 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002976/0.6377, allocations: 283.1 kB / 0.7464 GB, free: 7.754 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000639/0.6383, allocations: 0.52 MB / 0.747 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001634/0.64, allocations: 1.382 MB / 0.7483 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.64, allocations: 0 / 0.7483 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.81e-07/0.64, allocations: 0 / 0.7483 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.327e-05/0.64, allocations: 0 / 0.7483 GB, free: 6.496 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.0022/0.6422, allocations: 1.462 MB / 0.7497 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.6423, allocations: 12.03 kB / 0.7497 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007584/0.643, allocations: 186.5 kB / 0.7499 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00115/0.6442, allocations: 0.7984 MB / 0.7507 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.204e-05/0.6442, allocations: 45 kB / 0.7507 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.489e-05/0.6443, allocations: 60 kB / 0.7508 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/0.6455, allocations: 0.7926 MB / 0.7516 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.6456, allocations: 3.938 kB / 0.7516 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.207e-05/0.6456, allocations: 20 kB / 0.7516 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.685e-05/0.6456, allocations: 15.94 kB / 0.7516 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009086/0.6466, allocations: 0.5383 MB / 0.7521 GB, free: 2.383 MB / 0.5606 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.004354/0.6509, allocations: 4.587 MB / 0.7566 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007312/0.6517, allocations: 420.5 kB / 0.757 GB, free: 13 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003716/0.652, allocations: 248.5 kB / 0.7573 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003/0.6524, allocations: 198.2 kB / 0.7574 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005212/0.6529, allocations: 293.1 kB / 0.7577 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.144e-06/0.6529, allocations: 0 / 0.7577 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.004152/0.6571, allocations: 1.312 MB / 0.759 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.571e-05/0.6571, allocations: 85.11 kB / 0.7591 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001532/0.6587, allocations: 1.118 MB / 0.7602 GB, free: 9.652 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.533e-05/0.6587, allocations: 37.7 kB / 0.7602 GB, free: 9.609 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004182/0.6592, allocations: 489.2 kB / 0.7607 GB, free: 9.125 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.584e-05/0.6593, allocations: 114.5 kB / 0.7608 GB, free: 9.012 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000151/0.6594, allocations: 106 kB / 0.7609 GB, free: 8.902 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.6596, allocations: 329.9 kB / 0.7612 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000371/0.6599, allocations: 214.4 kB / 0.7614 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006002/0.6605, allocations: 0.5141 MB / 0.7619 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008749/0.6614, allocations: 0.6346 MB / 0.7625 GB, free: 7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.6614, allocations: 4 kB / 0.7625 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002411/0.6639, allocations: 1.04 MB / 0.7636 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.997e-05/0.6639, allocations: 41.62 kB / 0.7636 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.527e-06/0.6639, allocations: 4 kB / 0.7636 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001419/0.6654, allocations: 361.1 kB / 0.7639 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002237/0.6656, allocations: 55.91 kB / 0.764 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009817/0.6666, allocations: 1.011 MB / 0.765 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007368/0.6673, allocations: 99.52 kB / 0.7651 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-05/0.6674, allocations: 27.94 kB / 0.7651 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007125/0.6681, allocations: 0.4928 MB / 0.7656 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005451/0.6687, allocations: 493.9 kB / 0.7661 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007282/0.6694, allocations: 0.5643 MB / 0.7666 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.515e-06/0.6694, allocations: 0 / 0.7666 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001486/0.6709, allocations: 0.8263 MB / 0.7674 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.556e-05/0.671, allocations: 41.62 kB / 0.7675 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.671, allocations: 4 kB / 0.7675 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005199/0.6715, allocations: 209 kB / 0.7677 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002065/0.6717, allocations: 63.84 kB / 0.7677 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003455/0.6752, allocations: 3.079 MB / 0.7707 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007544/0.676, allocations: 99.94 kB / 0.7708 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.785e-05/0.676, allocations: 20 kB / 0.7708 GB, free: 14.06 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 (34): * Single equations (assignments): 32 * 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,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0001778/0.6762, allocations: 212.8 kB / 0.771 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/0.6763, allocations: 98.78 kB / 0.7711 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001258/0.6776, allocations: 0.7103 MB / 0.7718 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.6776, allocations: 4 kB / 0.7718 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.6776, allocations: 0 / 0.7718 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.6776, allocations: 96 / 0.7718 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00236/0.68, allocations: 1.62 MB / 0.7734 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.68, allocations: 3.938 kB / 0.7734 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001153/0.6801, allocations: 19.98 kB / 0.7734 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005016/0.6806, allocations: 218.7 kB / 0.7736 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.687e-05/0.6807, allocations: 11.94 kB / 0.7737 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009154/0.6816, allocations: 0.9816 MB / 0.7746 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.6816, allocations: 0 / 0.7746 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001259/0.6829, allocations: 0.8351 MB / 0.7754 GB, free: 9.188 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003609/0.6833, allocations: 211.9 kB / 0.7756 GB, free: 8.961 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.6834, allocations: 8 kB / 0.7756 GB, free: 8.953 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004892/0.6839, allocations: 47.86 kB / 0.7757 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.549e-05/0.684, allocations: 31.89 kB / 0.7757 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.619e-05/0.684, allocations: 12 kB / 0.7757 GB, free: 8.863 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009882/0.685, allocations: 0.7916 MB / 0.7765 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2e-07/0.685, allocations: 0 / 0.7765 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001245/0.6863, allocations: 447.4 kB / 0.7769 GB, free: 7.625 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 (12): * Single equations (assignments): 9 * 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,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003778/0.6866, allocations: 161.5 kB / 0.7771 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001899/0.6885, allocations: 1.061 MB / 0.7781 GB, free: 6.367 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.6886, allocations: 0 / 0.7781 GB, free: 6.367 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005122/0.6891, allocations: 237.8 kB / 0.7783 GB, free: 6.137 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002085/0.6912, allocations: 464.7 kB / 0.7788 GB, free: 5.695 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002922/0.6941, allocations: 2.062 MB / 0.7808 GB, free: 3.578 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007271/0.6949, allocations: 1.189 MB / 0.782 GB, free: 2.359 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000926/0.6958, allocations: 307.9 kB / 0.7823 GB, free: 2.055 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/0.6959, allocations: 59.44 kB / 0.7823 GB, free: 1.996 MB / 0.5919 GB Notification: Performance of SimCode: time 6.71e-07/0.6959, allocations: 0 / 0.7823 GB, free: 1.996 MB / 0.5919 GB Notification: Performance of Templates: time 0.034/0.7299, allocations: 18.95 MB / 0.8008 GB, free: 15.28 MB / 0.6231 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)