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.001319/0.001319, allocations: 103.9 kB / 16.36 MB, free: 6.285 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.00107/0.00107, allocations: 191.6 kB / 17.29 MB, free: 5.863 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.319/1.319, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7922/0.7922, allocations: 132.2 MB / 423.3 MB, free: 6.602 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 68.08 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.3363, allocations: 80.18 MB / 0.5815 GB, free: 27.76 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.16/0.4964, allocations: 161.6 MB / 0.7393 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004665/0.5011, allocations: 3.624 MB / 0.7429 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000271/0.5013, allocations: 15.88 kB / 0.7429 GB, free: 8.434 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000545/0.502, allocations: 166.9 kB / 0.743 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001272/0.5033, allocations: 0.5211 MB / 0.7435 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001147/0.5044, allocations: 439.6 kB / 0.744 GB, free: 7.324 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002585/0.507, allocations: 2.539 MB / 0.7464 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00114/0.5082, allocations: 0.945 MB / 0.7474 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001494/0.5097, allocations: 1.035 MB / 0.7484 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000802/0.5105, allocations: 0.7078 MB / 0.7491 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.898e-05/0.5106, allocations: 56 kB / 0.7491 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001348/0.512, allocations: 0.7328 MB / 0.7498 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003061/0.5123, allocations: 306.9 kB / 0.7501 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005839/0.5129, allocations: 0.5439 MB / 0.7507 GB, free: 440 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.3223/0.8352, allocations: 1.399 MB / 0.752 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.8353, allocations: 0.5938 kB / 0.752 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8353, allocations: 0 / 0.752 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.719e-05/0.8353, allocations: 0.625 kB / 0.752 GB, free: 6.129 MB / 0.5762 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.002278/0.8376, allocations: 1.453 MB / 0.7534 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.8376, allocations: 11.03 kB / 0.7534 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007434/0.8384, allocations: 189.2 kB / 0.7536 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001281/0.8397, allocations: 0.8518 MB / 0.7545 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.297e-05/0.8397, allocations: 44.88 kB / 0.7545 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.458e-05/0.8398, allocations: 60.59 kB / 0.7546 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009582/0.8408, allocations: 0.7877 MB / 0.7553 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.8408, allocations: 7.219 kB / 0.7553 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.976e-05/0.8408, allocations: 26.81 kB / 0.7554 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.8409, allocations: 13.31 kB / 0.7554 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008495/0.8417, allocations: 0.5338 MB / 0.7559 GB, free: 4.652 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.004347/0.8461, allocations: 4.581 MB / 0.7604 GB, free: 17.23 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007951/0.8469, allocations: 417.2 kB / 0.7608 GB, free: 17.2 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000462/0.8474, allocations: 245.8 kB / 0.761 GB, free: 17.2 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003334/0.8477, allocations: 194.2 kB / 0.7612 GB, free: 17.01 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005689/0.8483, allocations: 293.2 kB / 0.7615 GB, free: 16.95 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=31): time 3.006e-06/0.8483, allocations: 4.312 kB / 0.7615 GB, free: 16.95 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31): time 0.005517/0.8538, allocations: 1.632 MB / 0.7631 GB, free: 16.73 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.437e-05/0.8539, allocations: 85.67 kB / 0.7631 GB, free: 16.63 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001397/0.8553, allocations: 1.121 MB / 0.7642 GB, free: 16.48 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.095e-05/0.8554, allocations: 42.73 kB / 0.7643 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003146/0.8557, allocations: 494.6 kB / 0.7648 GB, free: 16.28 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.085e-05/0.8558, allocations: 110 kB / 0.7649 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001638/0.8559, allocations: 108.4 kB / 0.765 GB, free: 16.19 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.8561, allocations: 325.5 kB / 0.7653 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003383/0.8564, allocations: 217.2 kB / 0.7655 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004461/0.8569, allocations: 0.5202 MB / 0.766 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008471/0.8577, allocations: 0.6283 MB / 0.7666 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.8577, allocations: 3.078 kB / 0.7666 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002096/0.8598, allocations: 1.034 MB / 0.7676 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.778e-05/0.8599, allocations: 40.59 kB / 0.7677 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.8599, allocations: 10.09 kB / 0.7677 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001209/0.8611, allocations: 381.1 kB / 0.768 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002072/0.8613, allocations: 64.97 kB / 0.7681 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00122/0.8626, allocations: 1.082 MB / 0.7691 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006951/0.8633, allocations: 73.47 kB / 0.7692 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.528e-05/0.8633, allocations: 23.89 kB / 0.7692 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007319/0.8641, allocations: 0.497 MB / 0.7697 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000451/0.8645, allocations: 495.6 kB / 0.7702 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006762/0.8652, allocations: 0.5534 MB / 0.7707 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.297e-06/0.8652, allocations: 1.031 kB / 0.7707 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001367/0.8666, allocations: 0.8399 MB / 0.7716 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.188e-05/0.8667, allocations: 42.48 kB / 0.7716 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.8667, allocations: 8.609 kB / 0.7716 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004464/0.8671, allocations: 217.5 kB / 0.7718 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001853/0.8673, allocations: 59.48 kB / 0.7719 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003149/0.8705, allocations: 3.259 MB / 0.7751 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006426/0.8711, allocations: 62 kB / 0.7751 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-05/0.8712, allocations: 27.22 kB / 0.7751 GB, free: 12.1 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 (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 {(9,11)} Notification: Performance of prepare postOptimizeDAE: time 0.000178/0.8714, allocations: 219.2 kB / 0.7753 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.8715, allocations: 106.1 kB / 0.7754 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001084/0.8726, allocations: 0.7098 MB / 0.7761 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.8726, allocations: 4.984 kB / 0.7761 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.8726, allocations: 0.9688 kB / 0.7761 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.8726, allocations: 2.531 kB / 0.7762 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002164/0.8748, allocations: 1.595 MB / 0.7777 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.8748, allocations: 10.44 kB / 0.7777 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/0.8749, allocations: 27.47 kB / 0.7777 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000421/0.8753, allocations: 246.3 kB / 0.778 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.294e-05/0.8754, allocations: 10.12 kB / 0.778 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008656/0.8762, allocations: 1.023 MB / 0.779 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.8763, allocations: 8.453 kB / 0.779 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.8773, allocations: 0.8248 MB / 0.7798 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003322/0.8777, allocations: 211.6 kB / 0.78 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/0.8778, allocations: 11.98 kB / 0.78 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000416/0.8782, allocations: 25.56 kB / 0.78 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.86e-05/0.8783, allocations: 33.66 kB / 0.7801 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.508e-05/0.8783, allocations: 14.98 kB / 0.7801 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008396/0.8792, allocations: 0.7933 MB / 0.7809 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8792, allocations: 0 / 0.7809 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001177/0.8803, allocations: 438 kB / 0.7813 GB, free: 10.14 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 (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 {(9,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003792/0.8807, allocations: 170.1 kB / 0.7814 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002162/0.8829, allocations: 1.208 MB / 0.7826 GB, free: 9.773 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.8829, allocations: 3.156 kB / 0.7826 GB, free: 9.773 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005269/0.8835, allocations: 289 kB / 0.7829 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001682/0.8852, allocations: 462.3 kB / 0.7833 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002367/0.8875, allocations: 1.774 MB / 0.7851 GB, free: 9.043 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006426/0.8882, allocations: 1.191 MB / 0.7862 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006782/0.8889, allocations: 311.6 kB / 0.7865 GB, free: 8.316 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.889, allocations: 61.72 kB / 0.7866 GB, free: 8.309 MB / 0.5919 GB Notification: Performance of SimCode: time 4.2e-07/0.889, allocations: 0.5312 kB / 0.7866 GB, free: 8.309 MB / 0.5919 GB Notification: Performance of Templates: time 0.02769/0.9167, allocations: 19.25 MB / 0.8054 GB, free: 3.406 MB / 0.5919 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1)