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.004829/0.00483, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001144/0.001144, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.303/1.303, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7861/0.7861, allocations: 132.2 MB / 422.7 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002063/0.002063, allocations: 66.42 kB / 0.5814 GB, free: 23.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.158, allocations: 80.21 MB / 0.6597 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.5899/0.7479, allocations: 161.6 MB / 0.8175 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008253/0.7562, allocations: 3.626 MB / 0.821 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005006/0.7568, allocations: 13.16 kB / 0.8211 GB, free: 7.387 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008025/0.7576, allocations: 162.1 kB / 0.8212 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002325/0.76, allocations: 0.5599 MB / 0.8218 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002032/0.762, allocations: 431.6 kB / 0.8222 GB, free: 6.535 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004194/0.7662, allocations: 2.543 MB / 0.8247 GB, free: 5.133 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00187/0.7681, allocations: 0.9375 MB / 0.8256 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002961/0.7711, allocations: 1.051 MB / 0.8266 GB, free: 4.047 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001922/0.7731, allocations: 0.7081 MB / 0.8273 GB, free: 3.641 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003555/0.7734, allocations: 54.84 kB / 0.8273 GB, free: 3.641 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002862/0.7763, allocations: 0.7354 MB / 0.8281 GB, free: 3.25 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007338/0.7771, allocations: 316.9 kB / 0.8284 GB, free: 3.035 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001521/0.7786, allocations: 0.5411 MB / 0.8289 GB, free: 2.707 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003046/0.7817, allocations: 1.414 MB / 0.8303 GB, free: 1.867 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.7817, allocations: 0 / 0.8303 GB, free: 1.867 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7817, allocations: 0 / 0.8303 GB, free: 1.867 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.156e-05/0.7818, allocations: 2.469 kB / 0.8303 GB, free: 1.867 MB / 0.5919 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.003169/0.785, allocations: 1.449 MB / 0.8317 GB, free: 0.75 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.785, allocations: 10.12 kB / 0.8317 GB, free: 0.75 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008061/0.7858, allocations: 192.6 kB / 0.8319 GB, free: 0.6562 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001391/0.7872, allocations: 0.8449 MB / 0.8327 GB, free: 40 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.103e-05/0.7873, allocations: 49.89 kB / 0.8328 GB, free: 16 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.86e-05/0.7874, allocations: 58.84 kB / 0.8328 GB, free: 0 / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001217/0.7886, allocations: 0.7928 MB / 0.8336 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/0.7886, allocations: 3.938 kB / 0.8336 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.735e-05/0.7887, allocations: 23.88 kB / 0.8336 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/0.7887, allocations: 16.69 kB / 0.8336 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008817/0.7896, allocations: 0.5321 MB / 0.8341 GB, free: 15.14 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 preOpt removeSimpleEquations (simulation): time 0.004113/0.7937, allocations: 4.584 MB / 0.8386 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007122/0.7945, allocations: 417 kB / 0.839 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003653/0.7948, allocations: 255.1 kB / 0.8393 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003131/0.7952, allocations: 190.6 kB / 0.8394 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004833/0.7957, allocations: 298.6 kB / 0.8397 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=31): time 2.064e-06/0.7957, allocations: 0 / 0.8397 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of matching and sorting (n=31): time 0.003704/0.7994, allocations: 1.307 MB / 0.841 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.389e-05/0.7994, allocations: 85.42 kB / 0.8411 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001291/0.8007, allocations: 1.129 MB / 0.8422 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.959e-05/0.8008, allocations: 39.02 kB / 0.8422 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004016/0.8012, allocations: 489 kB / 0.8427 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.31e-05/0.8013, allocations: 109.6 kB / 0.8428 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001716/0.8015, allocations: 114.6 kB / 0.8429 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.8016, allocations: 324.8 kB / 0.8432 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003774/0.802, allocations: 222.7 kB / 0.8434 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005922/0.8026, allocations: 0.5136 MB / 0.8439 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008677/0.8035, allocations: 0.6268 MB / 0.8445 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.233e-06/0.8035, allocations: 2.375 kB / 0.8445 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002255/0.8058, allocations: 1.04 MB / 0.8456 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.641e-05/0.8058, allocations: 34.11 kB / 0.8456 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.8058, allocations: 9.234 kB / 0.8456 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001363/0.8072, allocations: 362.1 kB / 0.846 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002315/0.8074, allocations: 65.17 kB / 0.846 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009977/0.8084, allocations: 1.01 MB / 0.847 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006496/0.8091, allocations: 75.72 kB / 0.8471 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.673e-05/0.8092, allocations: 28.23 kB / 0.8471 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006466/0.8098, allocations: 0.4959 MB / 0.8476 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005382/0.8104, allocations: 493.4 kB / 0.8481 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007183/0.8111, allocations: 0.5605 MB / 0.8486 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.328e-06/0.8111, allocations: 4 kB / 0.8486 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001559/0.8127, allocations: 0.8228 MB / 0.8494 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.553e-05/0.8127, allocations: 33.7 kB / 0.8494 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.8128, allocations: 11.94 kB / 0.8495 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005158/0.8133, allocations: 208.6 kB / 0.8497 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002031/0.8135, allocations: 59.91 kB / 0.8497 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0037/0.8172, allocations: 3.336 MB / 0.853 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006408/0.8179, allocations: 75.95 kB / 0.853 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.776e-05/0.8179, allocations: 16 kB / 0.8531 GB, free: 14.62 MB / 0.6231 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.0001921/0.8181, allocations: 216.1 kB / 0.8533 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/0.8182, allocations: 102.7 kB / 0.8534 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001223/0.8195, allocations: 0.7024 MB / 0.854 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.8195, allocations: 8 kB / 0.8541 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.8195, allocations: 0 / 0.8541 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.8195, allocations: 0 / 0.8541 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002309/0.8218, allocations: 1.611 MB / 0.8556 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.8218, allocations: 3.938 kB / 0.8556 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.8219, allocations: 19.98 kB / 0.8556 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004587/0.8224, allocations: 228.8 kB / 0.8559 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.544e-05/0.8225, allocations: 8 kB / 0.8559 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008968/0.8234, allocations: 0.9791 MB / 0.8568 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/0.8234, allocations: 7.922 kB / 0.8568 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/0.8245, allocations: 0.8252 MB / 0.8576 GB, free: 9.75 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003012/0.8249, allocations: 219.8 kB / 0.8579 GB, free: 9.516 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.825, allocations: 11.94 kB / 0.8579 GB, free: 9.504 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003873/0.8254, allocations: 23.97 kB / 0.8579 GB, free: 9.48 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.8e-05/0.8254, allocations: 27.91 kB / 0.8579 GB, free: 9.453 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.598e-05/0.8255, allocations: 15.98 kB / 0.8579 GB, free: 9.438 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0009949/0.8265, allocations: 0.7916 MB / 0.8587 GB, free: 8.637 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8265, allocations: 0 / 0.8587 GB, free: 8.637 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001181/0.8277, allocations: 435.4 kB / 0.8591 GB, free: 8.211 MB / 0.6231 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.0004162/0.8281, allocations: 173.1 kB / 0.8593 GB, free: 8.047 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001823/0.8299, allocations: 1.079 MB / 0.8603 GB, free: 6.934 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.8299, allocations: 0 / 0.8603 GB, free: 6.934 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004888/0.8304, allocations: 235 kB / 0.8606 GB, free: 6.703 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00177/0.8322, allocations: 453.2 kB / 0.861 GB, free: 6.273 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002628/0.8349, allocations: 1.747 MB / 0.8627 GB, free: 4.473 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007007/0.8356, allocations: 1.184 MB / 0.8639 GB, free: 3.258 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007536/0.8363, allocations: 311.8 kB / 0.8642 GB, free: 2.949 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.8365, allocations: 63.44 kB / 0.8642 GB, free: 2.887 MB / 0.6231 GB Notification: Performance of SimCode: time 1.072e-06/0.8365, allocations: 3.938 kB / 0.8642 GB, free: 2.883 MB / 0.6231 GB Notification: Performance of Templates: time 0.03276/0.8692, allocations: 19.78 MB / 0.8835 GB, free: 15.31 MB / 0.6544 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)