Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.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.SeriesDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007685/0.0007685, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0008373/0.0008374, allocations: 168.7 kB / 15.95 MB, free: 204 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.272/1.272, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.737/0.737, allocations: 132.4 MB / 423.4 MB, free: 2.051 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002925/0.0002928, allocations: 8 kB / 0.5034 GB, free: 4.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.3421, allocations: 81.57 MB / 0.5831 GB, free: 3.957 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.1899/0.532, allocations: 146.7 MB / 0.7264 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004175/0.5362, allocations: 3.369 MB / 0.7297 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002676/0.5365, allocations: 15.94 kB / 0.7297 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004018/0.5369, allocations: 107.2 kB / 0.7298 GB, free: 9.906 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0009939/0.5379, allocations: 390.1 kB / 0.7302 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009696/0.5389, allocations: 368.7 kB / 0.7305 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00281/0.5417, allocations: 2.995 MB / 0.7334 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009896/0.5427, allocations: 0.7068 MB / 0.7341 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001369/0.5441, allocations: 0.8676 MB / 0.735 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008988/0.545, allocations: 0.7001 MB / 0.7357 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.5451, allocations: 40 kB / 0.7357 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001029/0.5461, allocations: 0.5613 MB / 0.7362 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002758/0.5464, allocations: 274.9 kB / 0.7365 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002608/0.5467, allocations: 233.1 kB / 0.7367 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009872/0.5477, allocations: 1.021 MB / 0.7377 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.5477, allocations: 0 / 0.7377 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.332e-06/0.5477, allocations: 0 / 0.7377 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.993e-05/0.5477, allocations: 0 / 0.7377 GB, free: 1.738 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.001952/0.5497, allocations: 1.307 MB / 0.739 GB, free: 380 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.5497, allocations: 8.031 kB / 0.739 GB, free: 372 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007191/0.5504, allocations: 190.4 kB / 0.7392 GB, free: 180 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00127/0.5517, allocations: 0.7963 MB / 0.74 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.816e-05/0.5518, allocations: 45 kB / 0.74 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.956e-05/0.5519, allocations: 63.94 kB / 0.7401 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/0.553, allocations: 0.7888 MB / 0.7408 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.553, allocations: 3.984 kB / 0.7408 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.39e-05/0.5531, allocations: 28 kB / 0.7409 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.611e-05/0.5531, allocations: 15.94 kB / 0.7409 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008747/0.554, allocations: 0.5382 MB / 0.7414 GB, free: 13.78 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.003553/0.5575, allocations: 4.618 MB / 0.7459 GB, free: 8.77 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006683/0.5582, allocations: 422.3 kB / 0.7463 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003646/0.5586, allocations: 255 kB / 0.7466 GB, free: 8.098 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002489/0.5589, allocations: 194.2 kB / 0.7468 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004735/0.5593, allocations: 309 kB / 0.747 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 1.563e-06/0.5594, allocations: 0 / 0.747 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.004578/0.5639, allocations: 1.666 MB / 0.7487 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.564, allocations: 85.11 kB / 0.7488 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001224/0.5652, allocations: 1.106 MB / 0.7498 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.144e-05/0.5653, allocations: 37.7 kB / 0.7499 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003779/0.5657, allocations: 0.4883 MB / 0.7504 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.404e-05/0.5658, allocations: 106.5 kB / 0.7505 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.317e-05/0.5658, allocations: 4 kB / 0.7505 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.229e-05/0.5659, allocations: 330 kB / 0.7508 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003276/0.5662, allocations: 184.7 kB / 0.7509 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005286/0.5668, allocations: 0.4979 MB / 0.7514 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000418/0.5672, allocations: 295.1 kB / 0.7517 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.5672, allocations: 0 / 0.7517 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001957/0.5692, allocations: 0.9839 MB / 0.7527 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001505/0.5693, allocations: 279.5 kB / 0.7529 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.5693, allocations: 4 kB / 0.7529 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001192/0.5705, allocations: 363.7 kB / 0.7533 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.5708, allocations: 59.91 kB / 0.7533 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001237/0.572, allocations: 1.099 MB / 0.7544 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006189/0.5726, allocations: 111.3 kB / 0.7545 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.797e-05/0.5727, allocations: 24 kB / 0.7546 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.454e-06/0.5727, allocations: 4 kB / 0.7546 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001272/0.574, allocations: 0.7356 MB / 0.7553 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.627e-06/0.574, allocations: 8 kB / 0.7553 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005088/0.5745, allocations: 226.7 kB / 0.7555 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002023/0.5747, allocations: 59.91 kB / 0.7556 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003323/0.5781, allocations: 3.04 MB / 0.7585 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005728/0.5787, allocations: 91.67 kB / 0.7586 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.76e-05/0.5787, allocations: 24 kB / 0.7586 GB, free: 11.18 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 ($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 {9 11} Notification: Performance of prepare postOptimizeDAE: time 0.0004309/0.5791, allocations: 469.2 kB / 0.7591 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.5793, allocations: 106.6 kB / 0.7592 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001244/0.5805, allocations: 0.7105 MB / 0.7599 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.5805, allocations: 4 kB / 0.7599 GB, free: 9.883 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.5805, allocations: 3.938 kB / 0.7599 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.5805, allocations: 0 / 0.7599 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002245/0.5828, allocations: 1.619 MB / 0.7615 GB, free: 8.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.5828, allocations: 0 / 0.7615 GB, free: 8.18 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/0.5829, allocations: 28.2 kB / 0.7615 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004716/0.5834, allocations: 250.8 kB / 0.7617 GB, free: 7.906 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.56e-05/0.5834, allocations: 11.98 kB / 0.7617 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009666/0.5844, allocations: 1.035 MB / 0.7628 GB, free: 6.836 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.5844, allocations: 7.953 kB / 0.7628 GB, free: 6.828 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001147/0.5856, allocations: 0.827 MB / 0.7636 GB, free: 5.961 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002786/0.5859, allocations: 219.8 kB / 0.7638 GB, free: 5.727 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.586, allocations: 11.95 kB / 0.7638 GB, free: 5.715 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004709/0.5865, allocations: 63.78 kB / 0.7639 GB, free: 5.652 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.104e-05/0.5865, allocations: 31.91 kB / 0.7639 GB, free: 5.621 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.539e-05/0.5866, allocations: 15.98 kB / 0.7639 GB, free: 5.605 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009017/0.5875, allocations: 0.7838 MB / 0.7647 GB, free: 4.812 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5875, allocations: 0 / 0.7647 GB, free: 4.812 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001086/0.5886, allocations: 451.4 kB / 0.7651 GB, free: 4.371 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 (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 {9 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003652/0.589, allocations: 181 kB / 0.7653 GB, free: 4.191 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002196/0.5912, allocations: 1.198 MB / 0.7664 GB, free: 2.957 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.5912, allocations: 4 kB / 0.7664 GB, free: 2.953 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000571/0.5918, allocations: 279.7 kB / 0.7667 GB, free: 2.684 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001812/0.5936, allocations: 465 kB / 0.7671 GB, free: 2.242 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00251/0.5961, allocations: 2.002 MB / 0.7691 GB, free: 188 kB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006567/0.5968, allocations: 1.185 MB / 0.7703 GB, free: 14.97 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000834/0.5976, allocations: 311.6 kB / 0.7706 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.5977, allocations: 59.42 kB / 0.7706 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of SimCode: time 2.7e-07/0.5977, allocations: 0 / 0.7706 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of Templates: time 0.02745/0.6252, allocations: 17.94 MB / 0.7881 GB, free: 12.89 MB / 0.6231 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1)