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-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_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.000922/0.000922, allocations: 99.78 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.000941/0.000941, allocations: 177.3 kB / 15.95 MB, free: 216 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.195/1.195, allocations: 223.2 MB / 239.9 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8461/0.8461, allocations: 135.2 MB / 426.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002981/0.0002983, allocations: 8 kB / 0.5068 GB, free: 5.238 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1422, allocations: 82.32 MB / 0.5872 GB, free: 3.102 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.3633/0.5055, allocations: 135.7 MB / 0.7197 GB, free: 11.9 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004384/0.5099, allocations: 3.109 MB / 0.7227 GB, free: 9.75 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002771/0.5102, allocations: 16.38 kB / 0.7228 GB, free: 9.738 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005723/0.5108, allocations: 171.7 kB / 0.7229 GB, free: 9.645 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001277/0.5121, allocations: 0.5045 MB / 0.7234 GB, free: 9.332 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001363/0.5134, allocations: 450.5 kB / 0.7238 GB, free: 9.125 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001933/0.5154, allocations: 1.501 MB / 0.7253 GB, free: 8.375 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009406/0.5163, allocations: 0.704 MB / 0.726 GB, free: 8.125 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001017/0.5173, allocations: 0.7025 MB / 0.7267 GB, free: 7.781 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005589/0.5179, allocations: 491.4 kB / 0.7272 GB, free: 7.574 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.679e-05/0.518, allocations: 35.06 kB / 0.7272 GB, free: 7.574 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008738/0.5189, allocations: 414.1 kB / 0.7276 GB, free: 7.469 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002817/0.5192, allocations: 260.4 kB / 0.7278 GB, free: 7.367 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002451/0.5194, allocations: 227.3 kB / 0.7281 GB, free: 7.25 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001127/0.5206, allocations: 0.9775 MB / 0.729 GB, free: 7.02 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.5206, allocations: 0 / 0.729 GB, free: 7.02 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.644e-06/0.5206, allocations: 1.125 kB / 0.729 GB, free: 7.02 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.282e-05/0.5206, allocations: 0 / 0.729 GB, free: 7.02 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.002131/0.5227, allocations: 1.284 MB / 0.7303 GB, free: 6.148 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.5228, allocations: 12.19 kB / 0.7303 GB, free: 6.145 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007017/0.5235, allocations: 191.7 kB / 0.7305 GB, free: 6.07 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001397/0.5249, allocations: 0.8059 MB / 0.7312 GB, free: 5.609 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.531e-05/0.5249, allocations: 41.61 kB / 0.7313 GB, free: 5.594 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.83e-05/0.525, allocations: 59.59 kB / 0.7313 GB, free: 5.578 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001113/0.5261, allocations: 0.7895 MB / 0.7321 GB, free: 5.164 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.5262, allocations: 7.031 kB / 0.7321 GB, free: 5.16 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.066e-05/0.5262, allocations: 20.94 kB / 0.7321 GB, free: 5.145 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.5262, allocations: 16.31 kB / 0.7322 GB, free: 5.145 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000825/0.5271, allocations: 0.5394 MB / 0.7327 GB, free: 4.988 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.003666/0.5307, allocations: 4.6 MB / 0.7372 GB, free: 1.098 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006753/0.5314, allocations: 440.2 kB / 0.7376 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.128e-05/0.5315, allocations: 21.23 kB / 0.7376 GB, free: 0.9531 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004689/0.532, allocations: 307.9 kB / 0.7379 GB, free: 0.8164 MB / 0.545 GB Notification: Performance of pre-optimization done (n=31): time 1.854e-06/0.532, allocations: 2.531 kB / 0.7379 GB, free: 0.8164 MB / 0.545 GB Notification: Performance of matching and sorting (n=31): time 0.003554/0.5355, allocations: 1.318 MB / 0.7392 GB, free: 0 / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.016e-05/0.5356, allocations: 119 kB / 0.7393 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001227/0.5369, allocations: 1.114 MB / 0.7404 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.464e-05/0.5369, allocations: 37.7 kB / 0.7404 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003576/0.5373, allocations: 497.2 kB / 0.7409 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.587e-05/0.5374, allocations: 112.4 kB / 0.741 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.144e-05/0.5374, allocations: 12 kB / 0.741 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.5375, allocations: 325 kB / 0.7413 GB, free: 14 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003057/0.5378, allocations: 187.5 kB / 0.7415 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005138/0.5384, allocations: 0.4945 MB / 0.742 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000392/0.5388, allocations: 298.8 kB / 0.7423 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.5388, allocations: 4 kB / 0.7423 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001925/0.5407, allocations: 0.9758 MB / 0.7432 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006918/0.5414, allocations: 2.121 MB / 0.7453 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.5414, allocations: 8 kB / 0.7453 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001262/0.5427, allocations: 340.4 kB / 0.7456 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002081/0.5429, allocations: 59.91 kB / 0.7457 GB, free: 9.273 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008636/0.5438, allocations: 1.005 MB / 0.7467 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006981/0.5445, allocations: 118.1 kB / 0.7468 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.79e-05/0.5445, allocations: 24 kB / 0.7468 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.153e-06/0.5446, allocations: 4 kB / 0.7468 GB, free: 8.102 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001219/0.5458, allocations: 0.7371 MB / 0.7475 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.5458, allocations: 8 kB / 0.7475 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000487/0.5463, allocations: 215 kB / 0.7478 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/0.5465, allocations: 67.88 kB / 0.7478 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003275/0.5498, allocations: 3.184 MB / 0.7509 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006231/0.5504, allocations: 99.52 kB / 0.751 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-05/0.5505, allocations: 24 kB / 0.751 GB, free: 3.621 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.0005097/0.551, allocations: 468.7 kB / 0.7515 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.5511, allocations: 98.78 kB / 0.7516 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0011/0.5522, allocations: 0.6954 MB / 0.7523 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.5522, allocations: 7.938 kB / 0.7523 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.5522, allocations: 0 / 0.7523 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-06/0.5522, allocations: 3.984 kB / 0.7523 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00135/0.5536, allocations: 1.099 MB / 0.7533 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.5536, allocations: 4 kB / 0.7534 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.5537, allocations: 23.92 kB / 0.7534 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004141/0.5541, allocations: 234.7 kB / 0.7536 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.237e-05/0.5542, allocations: 15.92 kB / 0.7536 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007639/0.5549, allocations: 0.9776 MB / 0.7546 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.555, allocations: 3.953 kB / 0.7546 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.5561, allocations: 0.844 MB / 0.7554 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003154/0.5564, allocations: 227.8 kB / 0.7556 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.705e-05/0.5565, allocations: 8 kB / 0.7556 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004416/0.557, allocations: 59.78 kB / 0.7557 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.679e-05/0.557, allocations: 31.97 kB / 0.7557 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.407e-05/0.5571, allocations: 15.98 kB / 0.7557 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009032/0.558, allocations: 0.7838 MB / 0.7565 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.6e-07/0.558, allocations: 0 / 0.7565 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001079/0.5591, allocations: 455.4 kB / 0.7569 GB, free: 13.35 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.0003375/0.5594, allocations: 178.1 kB / 0.7571 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001569/0.561, allocations: 1.057 MB / 0.7581 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.561, allocations: 0 / 0.7581 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004517/0.5615, allocations: 235.1 kB / 0.7584 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0017/0.5632, allocations: 457.1 kB / 0.7588 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00233/0.5655, allocations: 1.982 MB / 0.7607 GB, free: 9.391 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006377/0.5662, allocations: 1.204 MB / 0.7619 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007515/0.5669, allocations: 327.6 kB / 0.7622 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.567, allocations: 59.44 kB / 0.7623 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of SimCode: time 2.41e-07/0.567, allocations: 0 / 0.7623 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of Templates: time 0.02738/0.5944, allocations: 18.36 MB / 0.7802 GB, free: 5.629 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: