Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.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.SeriesParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009419/0.0009417, allocations: 100.2 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.0008734/0.0008734, 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.169/1.169, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8599/0.8599, allocations: 135.2 MB / 426.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002779/0.0002779, allocations: 13.44 kB / 0.5068 GB, free: 5.25 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1439, allocations: 82.31 MB / 0.5872 GB, free: 3.117 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow): time 0.376/0.5199, allocations: 140.5 MB / 0.7244 GB, free: 8.547 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003362/0.5233, allocations: 2.156 MB / 0.7265 GB, free: 7.051 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002628/0.5236, allocations: 14.19 kB / 0.7265 GB, free: 7.043 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006755/0.5243, allocations: 237.2 kB / 0.7267 GB, free: 6.91 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001661/0.526, allocations: 0.6947 MB / 0.7274 GB, free: 6.484 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001205/0.5272, allocations: 444.2 kB / 0.7278 GB, free: 6.281 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001981/0.5292, allocations: 1.632 MB / 0.7294 GB, free: 5.469 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002862/0.5321, allocations: 2.329 MB / 0.7317 GB, free: 4.637 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001504/0.5336, allocations: 0.8535 MB / 0.7325 GB, free: 4.23 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006636/0.5342, allocations: 0.6044 MB / 0.7331 GB, free: 3.977 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.618e-05/0.5343, allocations: 50.47 kB / 0.7332 GB, free: 3.973 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00126/0.5356, allocations: 0.6236 MB / 0.7338 GB, free: 3.812 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002934/0.5359, allocations: 301 kB / 0.7341 GB, free: 3.695 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002223/0.5361, allocations: 247.2 kB / 0.7343 GB, free: 3.566 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001057/0.5372, allocations: 1.176 MB / 0.7354 GB, free: 3.293 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.5372, allocations: 0 / 0.7354 GB, free: 3.293 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5372, allocations: 0 / 0.7354 GB, free: 3.293 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.5372, allocations: 0 / 0.7354 GB, free: 3.293 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.00228/0.5395, allocations: 1.514 MB / 0.7369 GB, free: 2.352 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.941e-05/0.5396, allocations: 14.44 kB / 0.7369 GB, free: 2.348 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007037/0.5403, allocations: 203.8 kB / 0.7371 GB, free: 2.27 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001434/0.5417, allocations: 0.8703 MB / 0.738 GB, free: 1.711 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.058e-05/0.5418, allocations: 49.31 kB / 0.738 GB, free: 1.664 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.122e-05/0.5419, allocations: 62.2 kB / 0.7381 GB, free: 1.605 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001311/0.5432, allocations: 0.9873 MB / 0.739 GB, free: 0.75 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.5432, allocations: 4 kB / 0.739 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.071e-05/0.5433, allocations: 20 kB / 0.7391 GB, free: 0.7266 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/0.5433, allocations: 16 kB / 0.7391 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001136/0.5444, allocations: 0.8104 MB / 0.7399 GB, free: 60 kB / 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.004397/0.5488, allocations: 4.809 MB / 0.7446 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002523/0.5514, allocations: 4.033 MB / 0.7485 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.066e-05/0.5515, allocations: 16.27 kB / 0.7485 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005045/0.552, allocations: 328.9 kB / 0.7488 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003542/0.5523, allocations: 35.69 kB / 0.7489 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=35): time 1.793e-06/0.5524, allocations: 0 / 0.7489 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35): time 0.00435/0.5567, allocations: 1.49 MB / 0.7503 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.396e-05/0.5568, allocations: 110.8 kB / 0.7504 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001558/0.5584, allocations: 1.177 MB / 0.7516 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.716e-05/0.5584, allocations: 37.64 kB / 0.7516 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004111/0.5589, allocations: 0.5083 MB / 0.7521 GB, free: 2.277 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.318e-05/0.559, allocations: 126.3 kB / 0.7522 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.394e-05/0.559, allocations: 8 kB / 0.7522 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.5591, allocations: 330 kB / 0.7526 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003575/0.5595, allocations: 205 kB / 0.7528 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005729/0.5601, allocations: 0.5375 MB / 0.7533 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004449/0.5605, allocations: 323.9 kB / 0.7536 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.5605, allocations: 4 kB / 0.7536 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002124/0.5627, allocations: 1.041 MB / 0.7546 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007352/0.5634, allocations: 2.138 MB / 0.7567 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.5634, allocations: 4 kB / 0.7567 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001292/0.5647, allocations: 394.4 kB / 0.7571 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00048/0.5652, allocations: 119.8 kB / 0.7572 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001501/0.5667, allocations: 1.669 MB / 0.7588 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009347/0.5677, allocations: 99.83 kB / 0.7589 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.031e-05/0.5677, allocations: 24 kB / 0.7589 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.107e-06/0.5677, allocations: 4 kB / 0.7589 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001305/0.5691, allocations: 0.7863 MB / 0.7597 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.5691, allocations: 4.625 kB / 0.7597 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004604/0.5695, allocations: 222.5 kB / 0.7599 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003532/0.5699, allocations: 107.9 kB / 0.76 GB, free: 9.785 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003342/0.5733, allocations: 3.01 MB / 0.763 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009009/0.5742, allocations: 95.8 kB / 0.7631 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.958e-05/0.5742, allocations: 27.98 kB / 0.7631 GB, free: 6.523 MB / 0.5762 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_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 10} Notification: Performance of prepare postOptimizeDAE: time 0.0006099/0.5748, allocations: 476.7 kB / 0.7635 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.575, allocations: 106.7 kB / 0.7636 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001371/0.5763, allocations: 0.7724 MB / 0.7644 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.5764, allocations: 4 kB / 0.7644 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.5764, allocations: 0 / 0.7644 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.5764, allocations: 4.125 kB / 0.7644 GB, free: 5.152 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 postOpt removeSimpleEquations (simulation): time 0.002912/0.5793, allocations: 2.202 MB / 0.7666 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.82e-06/0.5793, allocations: 4 kB / 0.7666 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003462/0.5797, allocations: 88.08 kB / 0.7666 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004273/0.5801, allocations: 200.7 kB / 0.7668 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.342e-05/0.5801, allocations: 8 kB / 0.7668 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009717/0.5811, allocations: 1.474 MB / 0.7683 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.5811, allocations: 11.95 kB / 0.7683 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001243/0.5824, allocations: 0.9332 MB / 0.7692 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004613/0.5829, allocations: 243.6 kB / 0.7694 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.583, allocations: 8 kB / 0.7694 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006358/0.5836, allocations: 75.75 kB / 0.7695 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.864e-05/0.5837, allocations: 35.86 kB / 0.7696 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.648e-05/0.5837, allocations: 15.98 kB / 0.7696 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00105/0.5848, allocations: 0.8249 MB / 0.7704 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5848, allocations: 4 kB / 0.7704 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0013/0.5861, allocations: 0.5032 MB / 0.7709 GB, free: 14.24 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_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {9 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003879/0.5865, allocations: 188.6 kB / 0.771 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002559/0.5891, allocations: 1.306 MB / 0.7723 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.5891, allocations: 0 / 0.7723 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006594/0.5897, allocations: 316.2 kB / 0.7726 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002947/0.5927, allocations: 0.6451 MB / 0.7733 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00278/0.5955, allocations: 2.221 MB / 0.7754 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000677/0.5962, allocations: 1.232 MB / 0.7766 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009009/0.5971, allocations: 360.4 kB / 0.777 GB, free: 7.887 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.5972, allocations: 71.42 kB / 0.777 GB, free: 7.816 MB / 0.5919 GB Notification: Performance of SimCode: time 5.91e-07/0.5972, allocations: 3.938 kB / 0.777 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of Templates: time 0.03031/0.6276, allocations: 20.63 MB / 0.7972 GB, free: 3.414 MB / 0.6075 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1) Environment - environmentSimulation: