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.0008275/0.0008275, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005971/0.005971, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.351/1.351, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7602/0.7602, allocations: 132.3 MB / 423.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003742/0.0003743, allocations: 8.281 kB / 0.504 GB, free: 3.895 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4086/0.409, allocations: 81.58 MB / 0.5837 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.1784/0.5874, allocations: 157.3 MB / 0.7373 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003313/0.5908, allocations: 1.757 MB / 0.739 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003088/0.5912, allocations: 7.938 kB / 0.739 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005896/0.5918, allocations: 135.2 kB / 0.7391 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001471/0.5932, allocations: 0.4903 MB / 0.7396 GB, free: 204 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001136/0.5944, allocations: 355.5 kB / 0.7399 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003418/0.5978, allocations: 3.475 MB / 0.7433 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00118/0.599, allocations: 0.7466 MB / 0.7441 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001871/0.6009, allocations: 0.9025 MB / 0.745 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001018/0.6019, allocations: 0.7116 MB / 0.7456 GB, free: 9.992 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001065/0.602, allocations: 32 kB / 0.7457 GB, free: 9.961 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001565/0.6036, allocations: 0.8029 MB / 0.7465 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000327/0.604, allocations: 290.8 kB / 0.7467 GB, free: 8.871 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007085/0.6047, allocations: 0.5262 MB / 0.7473 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001886/0.6066, allocations: 1.366 MB / 0.7486 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.6066, allocations: 0 / 0.7486 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.854e-06/0.6066, allocations: 0 / 0.7486 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.773e-05/0.6066, allocations: 0 / 0.7486 GB, free: 6.965 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002182/0.6088, allocations: 1.268 MB / 0.7498 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.6089, allocations: 8.031 kB / 0.7498 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007723/0.6096, allocations: 186.5 kB / 0.75 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/0.6108, allocations: 0.7982 MB / 0.7508 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.216e-05/0.6109, allocations: 49 kB / 0.7508 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.971e-05/0.611, allocations: 60 kB / 0.7509 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/0.6121, allocations: 0.8004 MB / 0.7517 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.6122, allocations: 4 kB / 0.7517 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.141e-05/0.6122, allocations: 16 kB / 0.7517 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.645e-05/0.6122, allocations: 16 kB / 0.7517 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009558/0.6132, allocations: 0.55 MB / 0.7522 GB, free: 3.027 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.004244/0.6175, allocations: 4.591 MB / 0.7567 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007751/0.6183, allocations: 422.2 kB / 0.7571 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004047/0.6187, allocations: 255 kB / 0.7574 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003017/0.619, allocations: 198.2 kB / 0.7576 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005196/0.6195, allocations: 297 kB / 0.7578 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=31): time 1.694e-06/0.6195, allocations: 0 / 0.7578 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31): time 0.001443/0.621, allocations: 0.6508 MB / 0.7585 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.769e-05/0.621, allocations: 85.05 kB / 0.7586 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001381/0.6224, allocations: 1.118 MB / 0.7597 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.031e-05/0.6225, allocations: 41.84 kB / 0.7597 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004058/0.6229, allocations: 496.1 kB / 0.7602 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.623, allocations: 110.5 kB / 0.7603 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.318e-05/0.6231, allocations: 45.69 kB / 0.7603 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.6232, allocations: 326 kB / 0.7606 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003952/0.6236, allocations: 212.7 kB / 0.7608 GB, free: 9.719 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006231/0.6242, allocations: 0.5175 MB / 0.7613 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009477/0.6252, allocations: 0.6489 MB / 0.762 GB, free: 8.34 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.6252, allocations: 0 / 0.762 GB, free: 8.34 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001273/0.6265, allocations: 0.7326 MB / 0.7627 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001788/0.6267, allocations: 283 kB / 0.763 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.6267, allocations: 11.98 kB / 0.763 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/0.6267, allocations: 8 kB / 0.763 GB, free: 7.215 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001866/0.6286, allocations: 347.5 kB / 0.7633 GB, free: 6.875 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003629/0.6322, allocations: 6.079 MB / 0.7692 GB, free: 0.5625 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009891/0.6333, allocations: 103.6 kB / 0.7693 GB, free: 472 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.27e-05/0.6333, allocations: 20.28 kB / 0.7694 GB, free: 452 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.6334, allocations: 8 kB / 0.7694 GB, free: 444 kB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001007/0.6344, allocations: 0.5438 MB / 0.7699 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.6344, allocations: 8 kB / 0.7699 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.6344, allocations: 8 kB / 0.7699 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005544/0.635, allocations: 152.3 kB / 0.7701 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.397e-05/0.635, allocations: 15.92 kB / 0.7701 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009161/0.6359, allocations: 91.53 kB / 0.7702 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.176e-05/0.636, allocations: 23.98 kB / 0.7702 GB, free: 15.59 MB / 0.6075 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 (53): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007357/0.6367, allocations: 476.6 kB / 0.7706 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001521/0.6369, allocations: 102.8 kB / 0.7707 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009188/0.6378, allocations: 495 kB / 0.7712 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/0.6378, allocations: 7.984 kB / 0.7712 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.6378, allocations: 4 kB / 0.7712 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.6378, allocations: 4 kB / 0.7712 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002071/0.6399, allocations: 1.395 MB / 0.7726 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.6399, allocations: 0 / 0.7726 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006531/0.6406, allocations: 151.7 kB / 0.7727 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.208e-05/0.6406, allocations: 7.938 kB / 0.7727 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.202e-05/0.6407, allocations: 12.2 kB / 0.7728 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004001/0.6447, allocations: 6.04 MB / 0.7787 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.6447, allocations: 0 / 0.7787 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/0.6459, allocations: 0.6114 MB / 0.7792 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000402/0.6463, allocations: 219.8 kB / 0.7795 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.6464, allocations: 8 kB / 0.7795 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004582/0.6469, allocations: 51.89 kB / 0.7795 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.786e-05/0.647, allocations: 31.89 kB / 0.7795 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.228e-05/0.647, allocations: 12 kB / 0.7796 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001113/0.6481, allocations: 0.7836 MB / 0.7803 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.11e-07/0.6481, allocations: 0 / 0.7803 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001417/0.6496, allocations: 411.4 kB / 0.7807 GB, free: 4.414 MB / 0.6075 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 (not torn): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004646/0.65, allocations: 177.8 kB / 0.7809 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003244/0.6533, allocations: 1.102 MB / 0.782 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.6533, allocations: 1.375 kB / 0.782 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008466/0.6542, allocations: 304 kB / 0.7823 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002537/0.6567, allocations: 462 kB / 0.7827 GB, free: 2.379 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003052/0.6598, allocations: 2.111 MB / 0.7848 GB, free: 228 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007196/0.6605, allocations: 1.18 MB / 0.7859 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001043/0.6616, allocations: 375.7 kB / 0.7863 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001326/0.6617, allocations: 63.44 kB / 0.7863 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of SimCode: time 7.92e-07/0.6617, allocations: 0 / 0.7863 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of Templates: time 0.031/0.6927, allocations: 17.2 MB / 0.8031 GB, free: 13.59 MB / 0.6387 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)