Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008299/0.0008298, 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.0009033/0.0009036, 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.282/1.282, 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.7286/0.7286, allocations: 132.4 MB / 423.4 MB, free: 2.047 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002791/0.0002791, allocations: 11.98 kB / 0.5034 GB, free: 4.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.3493, allocations: 81.58 MB / 0.5831 GB, free: 3.949 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.1444/0.4937, allocations: 146.7 MB / 0.7264 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002369/0.4961, allocations: 1.644 MB / 0.728 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001763/0.4963, allocations: 7.938 kB / 0.728 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003538/0.4966, allocations: 123.1 kB / 0.7281 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0008953/0.4975, allocations: 390.1 kB / 0.7285 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008393/0.4984, allocations: 322 kB / 0.7288 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002784/0.5012, allocations: 2.994 MB / 0.7317 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009783/0.5022, allocations: 0.6835 MB / 0.7324 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001376/0.5036, allocations: 0.8675 MB / 0.7332 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009403/0.5045, allocations: 0.7079 MB / 0.7339 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001078/0.5046, allocations: 36 kB / 0.734 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001007/0.5056, allocations: 0.5535 MB / 0.7345 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002711/0.5059, allocations: 282.9 kB / 0.7348 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002589/0.5062, allocations: 229.1 kB / 0.735 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009737/0.5072, allocations: 1.025 MB / 0.736 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.5072, allocations: 0 / 0.736 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.403e-06/0.5072, allocations: 0 / 0.736 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.279e-05/0.5072, allocations: 0 / 0.736 GB, free: 3.52 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001915/0.5091, allocations: 1.303 MB / 0.7373 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.944e-05/0.5092, allocations: 8.031 kB / 0.7373 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000746/0.5099, allocations: 190.5 kB / 0.7375 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001301/0.5112, allocations: 0.7962 MB / 0.7382 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.888e-05/0.5113, allocations: 45 kB / 0.7383 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-05/0.5114, allocations: 64 kB / 0.7383 GB, free: 1.004 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/0.5125, allocations: 0.7965 MB / 0.7391 GB, free: 136 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.5125, allocations: 4 kB / 0.7391 GB, free: 132 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.655e-05/0.5126, allocations: 20 kB / 0.7391 GB, free: 112 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.5126, allocations: 16 kB / 0.7392 GB, free: 96 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008859/0.5135, allocations: 0.5422 MB / 0.7397 GB, free: 15.55 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.003469/0.517, allocations: 4.599 MB / 0.7442 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006713/0.5177, allocations: 426.2 kB / 0.7446 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003728/0.518, allocations: 255 kB / 0.7448 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000243/0.5183, allocations: 186.2 kB / 0.745 GB, free: 9.672 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004589/0.5188, allocations: 301.1 kB / 0.7453 GB, free: 9.359 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 1.663e-06/0.5188, allocations: 3.938 kB / 0.7453 GB, free: 9.355 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.001232/0.52, allocations: 0.6469 MB / 0.7459 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.5201, allocations: 89 kB / 0.746 GB, free: 8.598 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001215/0.5213, allocations: 1.11 MB / 0.7471 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.825e-05/0.5213, allocations: 33.7 kB / 0.7471 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000364/0.5217, allocations: 0.4884 MB / 0.7476 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.226e-05/0.5218, allocations: 106.5 kB / 0.7477 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.357e-05/0.5218, allocations: 11.94 kB / 0.7477 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.114e-05/0.5219, allocations: 326 kB / 0.748 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003272/0.5223, allocations: 184.7 kB / 0.7482 GB, free: 6.312 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005301/0.5228, allocations: 0.4979 MB / 0.7487 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004249/0.5232, allocations: 291 kB / 0.749 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.5232, allocations: 0 / 0.749 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001051/0.5243, allocations: 0.6821 MB / 0.7496 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001473/0.5245, allocations: 284 kB / 0.7499 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.5245, allocations: 8.219 kB / 0.7499 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.5245, allocations: 8 kB / 0.7499 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001801/0.5263, allocations: 383.4 kB / 0.7503 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002931/0.5292, allocations: 6.083 MB / 0.7562 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006444/0.5299, allocations: 111.5 kB / 0.7563 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.611e-05/0.53, allocations: 24 kB / 0.7564 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.661e-06/0.53, allocations: 0 / 0.7564 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008758/0.5309, allocations: 0.548 MB / 0.7569 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.5309, allocations: 7.984 kB / 0.7569 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.5309, allocations: 12.09 kB / 0.7569 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005575/0.5315, allocations: 164.2 kB / 0.7571 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.5315, allocations: 11.98 kB / 0.7571 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005975/0.5321, allocations: 91.53 kB / 0.7572 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.895e-05/0.5321, allocations: 27.98 kB / 0.7572 GB, free: 12.63 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 (53): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004393/0.5326, allocations: 464.7 kB / 0.7576 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.5327, allocations: 102.7 kB / 0.7577 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008607/0.5336, allocations: 0.4989 MB / 0.7582 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.5336, allocations: 4 kB / 0.7582 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.5336, allocations: 4 kB / 0.7582 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.279e-06/0.5336, allocations: 0 / 0.7582 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001855/0.5355, allocations: 1.395 MB / 0.7596 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.5355, allocations: 4 kB / 0.7596 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005825/0.5361, allocations: 147.8 kB / 0.7597 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.153e-06/0.5361, allocations: 4 kB / 0.7597 GB, free: 9.93 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.704e-05/0.5361, allocations: 12.2 kB / 0.7597 GB, free: 9.918 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002533/0.5387, allocations: 6.028 MB / 0.7656 GB, free: 3.656 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.084e-06/0.5387, allocations: 8.016 kB / 0.7656 GB, free: 3.648 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007586/0.5394, allocations: 0.6006 MB / 0.7662 GB, free: 3.012 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002726/0.5397, allocations: 223.7 kB / 0.7664 GB, free: 2.773 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/0.5398, allocations: 11.95 kB / 0.7665 GB, free: 2.762 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004671/0.5403, allocations: 59.78 kB / 0.7665 GB, free: 2.703 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.1e-05/0.5404, allocations: 27.97 kB / 0.7665 GB, free: 2.676 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-05/0.5404, allocations: 11.98 kB / 0.7665 GB, free: 2.664 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009088/0.5413, allocations: 0.7797 MB / 0.7673 GB, free: 1.875 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5413, allocations: 3.938 kB / 0.7673 GB, free: 1.871 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001012/0.5424, allocations: 415.4 kB / 0.7677 GB, free: 1.465 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 (31): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003303/0.5427, allocations: 186.6 kB / 0.7679 GB, free: 1.281 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002907/0.5456, allocations: 1.09 MB / 0.769 GB, free: 172 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5456, allocations: 1.375 kB / 0.769 GB, free: 172 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007843/0.5464, allocations: 303.6 kB / 0.7692 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001877/0.5483, allocations: 466.8 kB / 0.7697 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002654/0.551, allocations: 2.026 MB / 0.7717 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006776/0.5517, allocations: 1.18 MB / 0.7728 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009632/0.5526, allocations: 371.5 kB / 0.7732 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.5528, allocations: 59.44 kB / 0.7732 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of SimCode: time 3.61e-07/0.5528, allocations: 0 / 0.7732 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of Templates: time 0.02577/0.5786, allocations: 16.76 MB / 0.7896 GB, free: 11.18 MB / 0.6231 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)