Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0008506/0.0008506, allocations: 97.64 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.00665/0.00665, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.363/1.363, allocations: 223.3 MB / 240.3 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.9718/0.9718, allocations: 135.3 MB / 426.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005484/0.0005485, allocations: 9.844 kB / 0.5076 GB, free: 4.801 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.167, allocations: 82.31 MB / 0.588 GB, free: 2.66 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.4406/0.6076, allocations: 157.3 MB / 0.7416 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0056/0.6133, allocations: 3.585 MB / 0.7451 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003759/0.6137, allocations: 9.094 kB / 0.7451 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005031/0.6142, allocations: 134.2 kB / 0.7452 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001414/0.6156, allocations: 0.4931 MB / 0.7457 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001181/0.6168, allocations: 401.4 kB / 0.7461 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003262/0.6201, allocations: 3.486 MB / 0.7495 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001078/0.6212, allocations: 0.7499 MB / 0.7502 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001786/0.623, allocations: 0.9055 MB / 0.7511 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009564/0.6239, allocations: 0.7127 MB / 0.7518 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.033e-05/0.624, allocations: 30.53 kB / 0.7518 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001463/0.6255, allocations: 0.8109 MB / 0.7526 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002742/0.6258, allocations: 276.5 kB / 0.7529 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005578/0.6263, allocations: 0.5347 MB / 0.7534 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001589/0.6279, allocations: 1.362 MB / 0.7547 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.628, allocations: 0 / 0.7547 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.314e-06/0.628, allocations: 4 kB / 0.7547 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.363e-05/0.628, allocations: 0 / 0.7547 GB, free: 1.828 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.002052/0.63, allocations: 1.27 MB / 0.756 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.6301, allocations: 8.031 kB / 0.756 GB, free: 0.4961 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007512/0.6309, allocations: 194.4 kB / 0.7562 GB, free: 312 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001154/0.632, allocations: 0.7985 MB / 0.7569 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.557e-05/0.6321, allocations: 45 kB / 0.757 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.6322, allocations: 56 kB / 0.757 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001167/0.6334, allocations: 0.8004 MB / 0.7578 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.6334, allocations: 0 / 0.7578 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.505e-05/0.6335, allocations: 24 kB / 0.7578 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.871e-05/0.6335, allocations: 23.92 kB / 0.7579 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009044/0.6344, allocations: 0.5462 MB / 0.7584 GB, free: 13.88 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.00404/0.6385, allocations: 4.595 MB / 0.7629 GB, free: 8.902 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007257/0.6392, allocations: 430.3 kB / 0.7633 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000389/0.6396, allocations: 250.4 kB / 0.7635 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002969/0.6399, allocations: 202.2 kB / 0.7637 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005247/0.6404, allocations: 299.2 kB / 0.764 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 1.773e-06/0.6405, allocations: 0 / 0.764 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.003948/0.6444, allocations: 1.343 MB / 0.7653 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.069e-05/0.6445, allocations: 89.03 kB / 0.7654 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001463/0.646, allocations: 1.122 MB / 0.7665 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.677e-05/0.646, allocations: 33.7 kB / 0.7665 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004217/0.6465, allocations: 497.1 kB / 0.767 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.6466, allocations: 110.5 kB / 0.7671 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.337e-05/0.6467, allocations: 45.62 kB / 0.7672 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.6468, allocations: 326 kB / 0.7675 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003901/0.6472, allocations: 212.7 kB / 0.7677 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006073/0.6478, allocations: 0.5214 MB / 0.7682 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009126/0.6487, allocations: 0.6425 MB / 0.7688 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.6487, allocations: 0 / 0.7688 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00236/0.6511, allocations: 1.045 MB / 0.7698 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001954/0.6513, allocations: 280.1 kB / 0.7701 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.6513, allocations: 8 kB / 0.7701 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00139/0.6527, allocations: 352.4 kB / 0.7704 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/0.653, allocations: 63.91 kB / 0.7705 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001048/0.654, allocations: 1.014 MB / 0.7715 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000759/0.6548, allocations: 100 kB / 0.7716 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.071e-05/0.6549, allocations: 31.98 kB / 0.7716 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.766e-06/0.6549, allocations: 4 kB / 0.7716 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0014/0.6563, allocations: 0.7287 MB / 0.7723 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.6563, allocations: 4.625 kB / 0.7723 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000509/0.6568, allocations: 216.5 kB / 0.7725 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002114/0.657, allocations: 63.91 kB / 0.7726 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003604/0.6606, allocations: 3.092 MB / 0.7756 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007342/0.6614, allocations: 95.56 kB / 0.7757 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.849e-05/0.6614, allocations: 20 kB / 0.7757 GB, free: 11.1 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.0005331/0.662, allocations: 462 kB / 0.7762 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.6621, allocations: 106.7 kB / 0.7763 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001304/0.6634, allocations: 0.7257 MB / 0.777 GB, free: 9.793 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.6634, allocations: 7.984 kB / 0.777 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.6635, allocations: 0 / 0.777 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.6635, allocations: 0 / 0.777 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002359/0.6658, allocations: 1.619 MB / 0.7786 GB, free: 8.086 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.6658, allocations: 4 kB / 0.7786 GB, free: 8.082 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.666, allocations: 19.98 kB / 0.7786 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004618/0.6664, allocations: 227 kB / 0.7788 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.339e-05/0.6665, allocations: 8 kB / 0.7788 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008629/0.6673, allocations: 0.9777 MB / 0.7798 GB, free: 6.828 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.6673, allocations: 0 / 0.7798 GB, free: 6.828 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001225/0.6686, allocations: 0.8486 MB / 0.7806 GB, free: 5.938 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002991/0.6689, allocations: 227.7 kB / 0.7808 GB, free: 5.695 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.669, allocations: 8 kB / 0.7808 GB, free: 5.688 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000482/0.6695, allocations: 47.89 kB / 0.7809 GB, free: 5.641 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.625e-05/0.6696, allocations: 35.83 kB / 0.7809 GB, free: 5.605 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.258e-05/0.6696, allocations: 12 kB / 0.7809 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009655/0.6706, allocations: 0.7916 MB / 0.7817 GB, free: 4.793 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6706, allocations: 0 / 0.7817 GB, free: 4.793 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001182/0.6718, allocations: 435.4 kB / 0.7821 GB, free: 4.367 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.0003991/0.6722, allocations: 176 kB / 0.7823 GB, free: 4.191 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001864/0.6741, allocations: 1.079 MB / 0.7833 GB, free: 3.078 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.6741, allocations: 4 kB / 0.7833 GB, free: 3.074 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005055/0.6746, allocations: 239 kB / 0.7836 GB, free: 2.84 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002412/0.677, allocations: 455.7 kB / 0.784 GB, free: 2.406 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003/0.68, allocations: 2.071 MB / 0.786 GB, free: 284 kB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00083/0.6809, allocations: 1.189 MB / 0.7872 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009069/0.6818, allocations: 307.9 kB / 0.7875 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/0.6819, allocations: 55.44 kB / 0.7875 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of SimCode: time 4.71e-07/0.6819, allocations: 0 / 0.7875 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of Templates: time 0.03397/0.7159, allocations: 18.82 MB / 0.8059 GB, free: 12.11 MB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)