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.007322/0.007322, allocations: 101.6 kB / 15.88 MB, free: 6.332 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.001604/0.001604, allocations: 197.3 kB / 16.79 MB, free: 6.258 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.347/1.347, allocations: 222.9 MB / 240.5 MB, free: 4.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9482/0.9482, allocations: 135.1 MB / 425.8 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 64 kB / 0.5053 GB, free: 5.703 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1675, allocations: 80.92 MB / 0.5844 GB, free: 4.945 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.4743/0.6418, allocations: 159.3 MB / 0.74 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005329/0.6472, allocations: 3.641 MB / 0.7435 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005304/0.6478, allocations: 10.22 kB / 0.7435 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006557/0.6484, allocations: 130.4 kB / 0.7436 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001781/0.6503, allocations: 0.504 MB / 0.7441 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00145/0.6517, allocations: 390.8 kB / 0.7445 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003591/0.6553, allocations: 3.481 MB / 0.7479 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001119/0.6565, allocations: 0.7745 MB / 0.7487 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002137/0.6586, allocations: 0.9122 MB / 0.7496 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001262/0.6599, allocations: 0.7289 MB / 0.7503 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001013/0.66, allocations: 39.53 kB / 0.7503 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001759/0.6618, allocations: 0.8042 MB / 0.7511 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003388/0.6621, allocations: 286.8 kB / 0.7514 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007531/0.6629, allocations: 0.5205 MB / 0.7519 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001153/0.6641, allocations: 1.014 MB / 0.7529 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.6641, allocations: 4 kB / 0.7529 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.112e-06/0.6641, allocations: 0 / 0.7529 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.167e-05/0.6641, allocations: 0 / 0.7529 GB, free: 0.8516 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.002278/0.6664, allocations: 1.454 MB / 0.7543 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.6665, allocations: 8.031 kB / 0.7543 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007738/0.6672, allocations: 194.4 kB / 0.7545 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/0.6684, allocations: 0.8023 MB / 0.7553 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.43e-05/0.6685, allocations: 45 kB / 0.7553 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.662e-05/0.6685, allocations: 56 kB / 0.7554 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001167/0.6697, allocations: 0.7926 MB / 0.7561 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.6698, allocations: 0 / 0.7561 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.341e-05/0.6698, allocations: 24 kB / 0.7562 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.528e-05/0.6698, allocations: 15.94 kB / 0.7562 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00089/0.6707, allocations: 0.5305 MB / 0.7567 GB, free: 12.74 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.004264/0.675, allocations: 4.587 MB / 0.7612 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007134/0.6757, allocations: 428 kB / 0.7616 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003674/0.6761, allocations: 243.2 kB / 0.7618 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000304/0.6764, allocations: 190.2 kB / 0.762 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000513/0.677, allocations: 299.2 kB / 0.7623 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.084e-06/0.677, allocations: 0 / 0.7623 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.003973/0.6809, allocations: 1.318 MB / 0.7636 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.832e-05/0.681, allocations: 85.05 kB / 0.7636 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001444/0.6825, allocations: 1.122 MB / 0.7647 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.265e-05/0.6825, allocations: 37.7 kB / 0.7648 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003931/0.6829, allocations: 489.1 kB / 0.7652 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.6831, allocations: 106.5 kB / 0.7653 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001681/0.6832, allocations: 118 kB / 0.7655 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.6834, allocations: 326 kB / 0.7658 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000383/0.6838, allocations: 214.4 kB / 0.766 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005997/0.6844, allocations: 0.5141 MB / 0.7665 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008803/0.6853, allocations: 0.6309 MB / 0.7671 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.6853, allocations: 0 / 0.7671 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002404/0.6877, allocations: 1.051 MB / 0.7681 GB, free: 296 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.882e-05/0.6878, allocations: 36.05 kB / 0.7682 GB, free: 256 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.905e-05/0.6878, allocations: 8 kB / 0.7682 GB, free: 248 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001424/0.6892, allocations: 358.5 kB / 0.7685 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002242/0.6894, allocations: 67.84 kB / 0.7686 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001087/0.6905, allocations: 1.013 MB / 0.7696 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008413/0.6914, allocations: 91.53 kB / 0.7696 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.422e-05/0.6915, allocations: 24 kB / 0.7697 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007427/0.6922, allocations: 0.5006 MB / 0.7702 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005222/0.6927, allocations: 485.9 kB / 0.7706 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007198/0.6935, allocations: 0.5586 MB / 0.7712 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.434e-06/0.6935, allocations: 7.984 kB / 0.7712 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001572/0.6951, allocations: 0.8221 MB / 0.772 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.831e-05/0.6951, allocations: 38.38 kB / 0.772 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.6951, allocations: 11.94 kB / 0.772 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005004/0.6956, allocations: 215.1 kB / 0.7722 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001959/0.6958, allocations: 59.91 kB / 0.7723 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003504/0.6994, allocations: 3.073 MB / 0.7753 GB, free: 8.523 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008637/0.7002, allocations: 84.11 kB / 0.7754 GB, free: 8.441 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.403e-05/0.7003, allocations: 31.98 kB / 0.7754 GB, free: 8.41 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.0002279/0.7005, allocations: 213.7 kB / 0.7756 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001415/0.7007, allocations: 106.7 kB / 0.7757 GB, free: 8.09 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001284/0.702, allocations: 0.6985 MB / 0.7764 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/0.702, allocations: 7.938 kB / 0.7764 GB, free: 7.371 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.702, allocations: 0 / 0.7764 GB, free: 7.371 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.702, allocations: 4 kB / 0.7764 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002359/0.7044, allocations: 1.605 MB / 0.778 GB, free: 5.684 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/0.7044, allocations: 4 kB / 0.778 GB, free: 5.68 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.7045, allocations: 19.98 kB / 0.778 GB, free: 5.66 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004616/0.705, allocations: 228.9 kB / 0.7782 GB, free: 5.434 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.28e-05/0.705, allocations: 15.94 kB / 0.7782 GB, free: 5.418 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008924/0.7059, allocations: 0.9764 MB / 0.7792 GB, free: 4.418 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.712e-06/0.7059, allocations: 4 kB / 0.7792 GB, free: 4.414 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00126/0.7072, allocations: 0.8252 MB / 0.78 GB, free: 3.547 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000368/0.7076, allocations: 211.9 kB / 0.7802 GB, free: 3.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.7077, allocations: 16 kB / 0.7802 GB, free: 3.305 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000452/0.7082, allocations: 43.86 kB / 0.7802 GB, free: 3.262 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.562e-05/0.7083, allocations: 39.83 kB / 0.7803 GB, free: 3.223 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-05/0.7083, allocations: 12 kB / 0.7803 GB, free: 3.211 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001019/0.7093, allocations: 0.7916 MB / 0.7811 GB, free: 2.41 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7093, allocations: 0 / 0.7811 GB, free: 2.41 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001297/0.7106, allocations: 443.4 kB / 0.7815 GB, free: 1.977 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.0004683/0.7111, allocations: 167.2 kB / 0.7816 GB, free: 1.812 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001941/0.7131, allocations: 1.067 MB / 0.7827 GB, free: 0.707 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.7131, allocations: 0.75 kB / 0.7827 GB, free: 0.707 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004535/0.7135, allocations: 227.2 kB / 0.7829 GB, free: 496 kB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001984/0.7155, allocations: 461.6 kB / 0.7833 GB, free: 52 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002925/0.7185, allocations: 2.103 MB / 0.7854 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000703/0.7192, allocations: 1.185 MB / 0.7866 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/0.7193, allocations: 59.44 kB / 0.7866 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of SimCode: time 7.21e-07/0.7194, allocations: 0 / 0.7866 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of Templates: time 0.02844/0.7478, allocations: 20.4 MB / 0.8065 GB, free: 8.332 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)