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.001157/0.001157, allocations: 106.5 kB / 16.27 MB, free: 5.984 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.001207/0.001207, allocations: 189 kB / 17.2 MB, free: 5.609 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.326/1.326, allocations: 222.9 MB / 240.9 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7822/0.7822, allocations: 132.2 MB / 423.2 MB, free: 6.664 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 63.89 kB / 0.5024 GB, free: 11.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4304/0.4319, allocations: 80.18 MB / 0.5807 GB, free: 27.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.2/0.632, allocations: 161.6 MB / 0.7386 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005301/0.6373, allocations: 3.622 MB / 0.7421 GB, free: 8.484 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004013/0.6378, allocations: 11.94 kB / 0.7421 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006451/0.6384, allocations: 166.9 kB / 0.7423 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00156/0.6401, allocations: 0.5211 MB / 0.7428 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001325/0.6414, allocations: 433.3 kB / 0.7432 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00259/0.644, allocations: 2.533 MB / 0.7457 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001275/0.6453, allocations: 0.9449 MB / 0.7466 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001847/0.6471, allocations: 1.028 MB / 0.7476 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008466/0.648, allocations: 0.7117 MB / 0.7483 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001204/0.6481, allocations: 52 kB / 0.7483 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001533/0.6497, allocations: 0.7367 MB / 0.7491 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003125/0.65, allocations: 302.9 kB / 0.7493 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006797/0.6507, allocations: 0.5518 MB / 0.7499 GB, free: 492 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.3631/1.014, allocations: 1.375 MB / 0.7512 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/1.014, allocations: 0.8125 kB / 0.7512 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.504e-06/1.014, allocations: 0 / 0.7512 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.547e-05/1.014, allocations: 0 / 0.7512 GB, free: 6.199 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.002622/1.017, allocations: 1.458 MB / 0.7526 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/1.017, allocations: 12.5 kB / 0.7527 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000801/1.017, allocations: 186.9 kB / 0.7528 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001165/1.019, allocations: 0.8005 MB / 0.7536 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.85e-05/1.019, allocations: 40.5 kB / 0.7537 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.194e-05/1.019, allocations: 60.59 kB / 0.7537 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00113/1.02, allocations: 0.7941 MB / 0.7545 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/1.02, allocations: 3.938 kB / 0.7545 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.423e-05/1.02, allocations: 24.89 kB / 0.7545 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.428e-05/1.02, allocations: 12.88 kB / 0.7545 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009162/1.021, allocations: 0.5373 MB / 0.7551 GB, free: 4.727 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.004554/1.025, allocations: 4.601 MB / 0.7595 GB, free: 17.3 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008872/1.026, allocations: 422.6 kB / 0.76 GB, free: 17.28 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004773/1.027, allocations: 243.1 kB / 0.7602 GB, free: 17.27 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000332/1.027, allocations: 195.6 kB / 0.7604 GB, free: 17.08 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000598/1.028, allocations: 293.5 kB / 0.7607 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=31): time 1.933e-06/1.028, allocations: 0 / 0.7607 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31): time 0.005776/1.034, allocations: 1.64 MB / 0.7623 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.475e-05/1.034, allocations: 88.44 kB / 0.7623 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001703/1.035, allocations: 1.12 MB / 0.7634 GB, free: 16.55 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.82e-05/1.036, allocations: 40.44 kB / 0.7635 GB, free: 16.52 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003777/1.036, allocations: 490.4 kB / 0.7639 GB, free: 16.35 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.632e-05/1.036, allocations: 109.6 kB / 0.764 GB, free: 16.29 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001607/1.036, allocations: 110.5 kB / 0.7641 GB, free: 16.26 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001342/1.036, allocations: 328.8 kB / 0.7645 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003622/1.037, allocations: 209 kB / 0.7647 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005707/1.037, allocations: 0.5243 MB / 0.7652 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/1.038, allocations: 0.627 MB / 0.7658 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/1.038, allocations: 1.594 kB / 0.7658 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002471/1.041, allocations: 1.049 MB / 0.7668 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.827e-05/1.041, allocations: 38.36 kB / 0.7668 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/1.041, allocations: 6.312 kB / 0.7669 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001256/1.042, allocations: 382.1 kB / 0.7672 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000252/1.042, allocations: 63.39 kB / 0.7673 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001369/1.044, allocations: 1.08 MB / 0.7683 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009005/1.045, allocations: 81.95 kB / 0.7684 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.399e-05/1.045, allocations: 21.81 kB / 0.7684 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009679/1.046, allocations: 0.4996 MB / 0.7689 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005362/1.046, allocations: 493 kB / 0.7694 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008481/1.047, allocations: 0.5573 MB / 0.7699 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.027e-06/1.047, allocations: 1.906 kB / 0.7699 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001672/1.049, allocations: 0.8455 MB / 0.7708 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.14e-05/1.049, allocations: 34.55 kB / 0.7708 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/1.049, allocations: 8.688 kB / 0.7708 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005295/1.05, allocations: 211.6 kB / 0.771 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002016/1.05, allocations: 61.19 kB / 0.7711 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003381/1.053, allocations: 3.261 MB / 0.7742 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008966/1.054, allocations: 68.2 kB / 0.7743 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.724e-05/1.054, allocations: 27.06 kB / 0.7743 GB, free: 12.16 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.0002685/1.054, allocations: 210.5 kB / 0.7745 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/1.054, allocations: 103.7 kB / 0.7746 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00124/1.056, allocations: 0.7103 MB / 0.7753 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/1.056, allocations: 10.5 kB / 0.7753 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/1.056, allocations: 3.359 kB / 0.7753 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/1.056, allocations: 0 / 0.7753 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002377/1.058, allocations: 1.6 MB / 0.7769 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/1.058, allocations: 3.75 kB / 0.7769 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/1.058, allocations: 26.06 kB / 0.7769 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000466/1.059, allocations: 253.5 kB / 0.7772 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.432e-05/1.059, allocations: 10.03 kB / 0.7772 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009253/1.06, allocations: 1.023 MB / 0.7782 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.06, allocations: 6 kB / 0.7782 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00121/1.061, allocations: 0.8249 MB / 0.779 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004036/1.061, allocations: 211.1 kB / 0.7792 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/1.061, allocations: 16.47 kB / 0.7792 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004224/1.062, allocations: 24.14 kB / 0.7792 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.916e-05/1.062, allocations: 34.2 kB / 0.7793 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.312e-05/1.062, allocations: 11.28 kB / 0.7793 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001007/1.063, allocations: 0.7949 MB / 0.7801 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.71e-07/1.063, allocations: 0 / 0.7801 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001441/1.065, allocations: 436.3 kB / 0.7805 GB, free: 10.21 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.0004254/1.065, allocations: 165.1 kB / 0.7806 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002381/1.067, allocations: 1.223 MB / 0.7818 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/1.067, allocations: 3.656 kB / 0.7818 GB, free: 9.844 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000548/1.068, allocations: 279.7 kB / 0.7821 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001871/1.07, allocations: 464.6 kB / 0.7825 GB, free: 9.773 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00279/1.073, allocations: 1.842 MB / 0.7843 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006912/1.073, allocations: 1.189 MB / 0.7855 GB, free: 8.383 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/1.073, allocations: 60.31 kB / 0.7856 GB, free: 8.375 MB / 0.5919 GB Notification: Performance of SimCode: time 4.31e-07/1.073, allocations: 0 / 0.7856 GB, free: 8.375 MB / 0.5919 GB Notification: Performance of Templates: time 0.02917/1.103, allocations: 20.47 MB / 0.8055 GB, free: 2.262 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1)