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.0008898/0.0008899, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.00095/0.00095, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.193/1.193, allocations: 223.2 MB / 239.9 MB, free: 5.242 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8278/0.8278, allocations: 135.2 MB / 426.2 MB, free: 14.44 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002817/0.0002817, allocations: 12 kB / 0.5068 GB, free: 5.215 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1399, allocations: 82.3 MB / 0.5872 GB, free: 3.094 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.3704/0.5104, allocations: 135.7 MB / 0.7197 GB, free: 11.93 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004138/0.5146, allocations: 3.123 MB / 0.7227 GB, free: 9.77 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002767/0.5149, allocations: 13.44 kB / 0.7228 GB, free: 9.762 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005866/0.5155, allocations: 176 kB / 0.7229 GB, free: 9.664 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001293/0.5168, allocations: 0.5 MB / 0.7234 GB, free: 9.355 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001254/0.518, allocations: 451.5 kB / 0.7238 GB, free: 9.148 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001924/0.52, allocations: 1.506 MB / 0.7253 GB, free: 8.398 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009627/0.5209, allocations: 0.697 MB / 0.726 GB, free: 8.152 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001069/0.522, allocations: 0.7014 MB / 0.7267 GB, free: 7.809 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005537/0.5226, allocations: 490.9 kB / 0.7272 GB, free: 7.602 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.898e-05/0.5227, allocations: 34.31 kB / 0.7272 GB, free: 7.602 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001043/0.5237, allocations: 414.9 kB / 0.7276 GB, free: 7.496 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003744/0.5241, allocations: 258 kB / 0.7278 GB, free: 7.398 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003032/0.5244, allocations: 235.6 kB / 0.7281 GB, free: 7.273 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001479/0.5259, allocations: 0.9768 MB / 0.729 GB, free: 7.043 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.5259, allocations: 0 / 0.729 GB, free: 7.043 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.434e-06/0.5259, allocations: 0 / 0.729 GB, free: 7.043 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.508e-05/0.5259, allocations: 3.938 kB / 0.729 GB, free: 7.039 MB / 0.545 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.002515/0.5285, allocations: 1.291 MB / 0.7303 GB, free: 6.16 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.5285, allocations: 8.891 kB / 0.7303 GB, free: 6.16 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007393/0.5292, allocations: 194.2 kB / 0.7305 GB, free: 6.082 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001381/0.5306, allocations: 0.7947 MB / 0.7312 GB, free: 5.633 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.008e-05/0.5307, allocations: 43.22 kB / 0.7313 GB, free: 5.617 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.843e-05/0.5308, allocations: 62.5 kB / 0.7313 GB, free: 5.598 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/0.5319, allocations: 0.7823 MB / 0.7321 GB, free: 5.191 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.532, allocations: 7.625 kB / 0.7321 GB, free: 5.188 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.13e-05/0.532, allocations: 25.19 kB / 0.7321 GB, free: 5.172 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.532, allocations: 15.42 kB / 0.7322 GB, free: 5.172 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000841/0.5329, allocations: 0.5424 MB / 0.7327 GB, free: 5.012 MB / 0.545 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.003685/0.5366, allocations: 4.593 MB / 0.7372 GB, free: 1.125 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006717/0.5373, allocations: 446.8 kB / 0.7376 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.112e-05/0.5373, allocations: 10.47 kB / 0.7376 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004416/0.5378, allocations: 309.2 kB / 0.7379 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of pre-optimization done (n=31): time 1.693e-06/0.5378, allocations: 0 / 0.7379 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of matching and sorting (n=31): time 0.003484/0.5413, allocations: 1.334 MB / 0.7392 GB, free: 8 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.44e-05/0.5414, allocations: 120.9 kB / 0.7393 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/0.5426, allocations: 1.114 MB / 0.7404 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.565e-05/0.5426, allocations: 37.7 kB / 0.7404 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003598/0.543, allocations: 497.2 kB / 0.7409 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.969e-05/0.5431, allocations: 112.2 kB / 0.741 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.996e-05/0.5431, allocations: 4 kB / 0.741 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.5432, allocations: 326 kB / 0.7413 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003083/0.5435, allocations: 189.4 kB / 0.7415 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005262/0.5441, allocations: 0.4901 MB / 0.742 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000411/0.5445, allocations: 298.8 kB / 0.7423 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.5445, allocations: 8 kB / 0.7423 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001978/0.5465, allocations: 0.968 MB / 0.7432 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007391/0.5472, allocations: 2.129 MB / 0.7453 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.5473, allocations: 4 kB / 0.7453 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001265/0.5485, allocations: 344.4 kB / 0.7456 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002249/0.5488, allocations: 63.91 kB / 0.7457 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008965/0.5497, allocations: 1.003 MB / 0.7467 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007742/0.5505, allocations: 115.4 kB / 0.7468 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.666e-05/0.5505, allocations: 24 kB / 0.7468 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.5505, allocations: 6.5 kB / 0.7468 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001231/0.5518, allocations: 0.741 MB / 0.7475 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.5518, allocations: 4 kB / 0.7475 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004845/0.5523, allocations: 213.3 kB / 0.7478 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001991/0.5525, allocations: 63.84 kB / 0.7478 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003391/0.5559, allocations: 3.176 MB / 0.7509 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008074/0.5567, allocations: 103.6 kB / 0.751 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.716e-05/0.5568, allocations: 20 kB / 0.751 GB, free: 3.586 MB / 0.5606 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 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.0006963/0.5575, allocations: 468.7 kB / 0.7515 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/0.5576, allocations: 98.78 kB / 0.7516 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001134/0.5587, allocations: 0.7051 MB / 0.7523 GB, free: 2.297 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.5587, allocations: 4 kB / 0.7523 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.5588, allocations: 7.938 kB / 0.7523 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.5588, allocations: 3.984 kB / 0.7523 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001383/0.5602, allocations: 1.103 MB / 0.7534 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.5602, allocations: 0 / 0.7534 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/0.5603, allocations: 27.98 kB / 0.7534 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004342/0.5607, allocations: 218.7 kB / 0.7536 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.246e-05/0.5608, allocations: 15.98 kB / 0.7536 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000814/0.5616, allocations: 0.9737 MB / 0.7546 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.5616, allocations: 3.953 kB / 0.7546 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001116/0.5627, allocations: 0.8557 MB / 0.7554 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003357/0.5631, allocations: 219.8 kB / 0.7556 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.805e-05/0.5632, allocations: 12 kB / 0.7556 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004525/0.5636, allocations: 59.78 kB / 0.7557 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.326e-05/0.5637, allocations: 27.97 kB / 0.7557 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.319e-05/0.5637, allocations: 19.92 kB / 0.7557 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000946/0.5647, allocations: 0.7838 MB / 0.7565 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.002e-06/0.5647, allocations: 3.938 kB / 0.7565 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001141/0.5659, allocations: 455.4 kB / 0.7569 GB, free: 13.31 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003306/0.5662, allocations: 165.5 kB / 0.7571 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001631/0.5678, allocations: 1.061 MB / 0.7581 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.5678, allocations: 0 / 0.7581 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004575/0.5683, allocations: 243 kB / 0.7583 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001711/0.57, allocations: 459.1 kB / 0.7588 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002334/0.5724, allocations: 1.975 MB / 0.7607 GB, free: 9.352 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006384/0.573, allocations: 1.2 MB / 0.7619 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007487/0.5738, allocations: 323.6 kB / 0.7622 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.5739, allocations: 63.44 kB / 0.7623 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of SimCode: time 2.8e-07/0.5739, allocations: 0 / 0.7623 GB, free: 7.738 MB / 0.5762 GB Notification: Performance of Templates: time 0.02537/0.5993, allocations: 18.37 MB / 0.7802 GB, free: 5.59 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: