Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001332/0.001332, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 195.2 kB / 16.79 MB, free: 6.809 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.333/1.333, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9312/0.9312, allocations: 135.1 MB / 425.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001225, allocations: 59.62 kB / 0.5053 GB, free: 5.746 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.1715, allocations: 80.92 MB / 0.5844 GB, free: 4.988 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.4831/0.6547, allocations: 159.3 MB / 0.74 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003607/0.6584, allocations: 1.773 MB / 0.7417 GB, free: 8.516 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004361/0.6589, allocations: 13.22 kB / 0.7417 GB, free: 8.508 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005947/0.6595, allocations: 130.1 kB / 0.7418 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001425/0.6609, allocations: 0.5032 MB / 0.7423 GB, free: 8.168 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.6621, allocations: 343.6 kB / 0.7427 GB, free: 7.957 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003478/0.6656, allocations: 3.48 MB / 0.746 GB, free: 6.098 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001069/0.6667, allocations: 0.7552 MB / 0.7468 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001819/0.6685, allocations: 0.9098 MB / 0.7477 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001006/0.6695, allocations: 0.7361 MB / 0.7484 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.802e-05/0.6696, allocations: 40.53 kB / 0.7484 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001642/0.6713, allocations: 0.804 MB / 0.7492 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003257/0.6716, allocations: 284.6 kB / 0.7495 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006452/0.6723, allocations: 0.5179 MB / 0.75 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001156/0.6734, allocations: 1.019 MB / 0.751 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.6735, allocations: 0 / 0.751 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.373e-06/0.6735, allocations: 4 kB / 0.751 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.419e-05/0.6735, allocations: 0 / 0.751 GB, free: 2.84 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.002241/0.6757, allocations: 1.447 MB / 0.7524 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.6758, allocations: 12.03 kB / 0.7524 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007256/0.6765, allocations: 186.4 kB / 0.7526 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00114/0.6777, allocations: 0.7983 MB / 0.7534 GB, free: 292 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.924e-05/0.6777, allocations: 41 kB / 0.7534 GB, free: 248 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.584e-05/0.6778, allocations: 67.94 kB / 0.7535 GB, free: 180 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0012/0.679, allocations: 0.7888 MB / 0.7542 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.679, allocations: 0 / 0.7542 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.014e-05/0.6791, allocations: 20 kB / 0.7543 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.176e-05/0.6791, allocations: 13.38 kB / 0.7543 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009022/0.68, allocations: 0.5422 MB / 0.7548 GB, free: 14.74 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.004035/0.6841, allocations: 4.583 MB / 0.7593 GB, free: 9.773 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007246/0.6848, allocations: 418.3 kB / 0.7597 GB, free: 9.355 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003856/0.6852, allocations: 246.4 kB / 0.7599 GB, free: 9.113 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003111/0.6855, allocations: 194.2 kB / 0.7601 GB, free: 8.887 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004938/0.686, allocations: 298.1 kB / 0.7604 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.104e-06/0.6861, allocations: 0 / 0.7604 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.001345/0.6874, allocations: 0.6314 MB / 0.761 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.6875, allocations: 85.11 kB / 0.7611 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001273/0.6887, allocations: 1.114 MB / 0.7622 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.164e-05/0.6888, allocations: 37.7 kB / 0.7622 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003873/0.6892, allocations: 497.1 kB / 0.7627 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.753e-05/0.6893, allocations: 106.5 kB / 0.7628 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001562/0.6895, allocations: 109.9 kB / 0.7629 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.6896, allocations: 333.9 kB / 0.7632 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003758/0.69, allocations: 214.4 kB / 0.7634 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006035/0.6906, allocations: 0.5135 MB / 0.7639 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008794/0.6915, allocations: 0.6522 MB / 0.7646 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.6915, allocations: 0 / 0.7646 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001184/0.6927, allocations: 0.7141 MB / 0.7652 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.398e-05/0.6927, allocations: 39.88 kB / 0.7653 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.6928, allocations: 4 kB / 0.7653 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.6928, allocations: 8 kB / 0.7653 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001761/0.6945, allocations: 357.6 kB / 0.7656 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003456/0.698, allocations: 6.079 MB / 0.7716 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008253/0.6988, allocations: 99.55 kB / 0.7717 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.311e-05/0.6989, allocations: 24 kB / 0.7717 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007751/0.6997, allocations: 0.4928 MB / 0.7722 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005343/0.7002, allocations: 496.5 kB / 0.7726 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000734/0.701, allocations: 0.5735 MB / 0.7732 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.885e-06/0.701, allocations: 0 / 0.7732 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001015/0.702, allocations: 0.6422 MB / 0.7738 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.42e-05/0.7021, allocations: 33.7 kB / 0.7739 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.7021, allocations: 4.109 kB / 0.7739 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/0.7021, allocations: 11.94 kB / 0.7739 GB, free: 10 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005526/0.7027, allocations: 152.3 kB / 0.774 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.7027, allocations: 11.94 kB / 0.774 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000646/0.7033, allocations: 92 kB / 0.7741 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.667e-05/0.7034, allocations: 24 kB / 0.7742 GB, free: 9.727 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 (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.0002031/0.7036, allocations: 221.1 kB / 0.7744 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/0.7037, allocations: 98.78 kB / 0.7745 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009092/0.7046, allocations: 495 kB / 0.7749 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.7046, allocations: 3.938 kB / 0.7749 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.056e-06/0.7047, allocations: 4 kB / 0.7749 GB, free: 8.91 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.7047, allocations: 0 / 0.7749 GB, free: 8.91 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00198/0.7066, allocations: 1.379 MB / 0.7763 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.7067, allocations: 4 kB / 0.7763 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005879/0.7073, allocations: 152 kB / 0.7764 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.7073, allocations: 7.938 kB / 0.7764 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.627e-05/0.7073, allocations: 12.19 kB / 0.7765 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00331/0.7106, allocations: 6.017 MB / 0.7823 GB, free: 1.031 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.7106, allocations: 0 / 0.7823 GB, free: 1.031 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009815/0.7116, allocations: 0.6023 MB / 0.7829 GB, free: 400 kB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003638/0.712, allocations: 215.8 kB / 0.7831 GB, free: 164 kB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.7121, allocations: 8 kB / 0.7831 GB, free: 156 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004331/0.7126, allocations: 47.89 kB / 0.7832 GB, free: 108 kB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.851e-05/0.7127, allocations: 31.89 kB / 0.7832 GB, free: 76 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.429e-05/0.7127, allocations: 16 kB / 0.7832 GB, free: 60 kB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001066/0.7138, allocations: 0.7875 MB / 0.784 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.81e-07/0.7138, allocations: 3.938 kB / 0.784 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001162/0.715, allocations: 411.4 kB / 0.7844 GB, free: 14.86 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.0004703/0.7154, allocations: 170.4 kB / 0.7845 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002981/0.7184, allocations: 1.086 MB / 0.7856 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.7184, allocations: 1.375 kB / 0.7856 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007421/0.7192, allocations: 287.4 kB / 0.7859 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001928/0.7211, allocations: 457.1 kB / 0.7863 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002956/0.7241, allocations: 2.146 MB / 0.7884 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007403/0.7249, allocations: 1.18 MB / 0.7896 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001606/0.725, allocations: 67.42 kB / 0.7896 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of SimCode: time 8.02e-07/0.725, allocations: 0 / 0.7896 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of Templates: time 0.06144/0.7865, allocations: 64.31 MB / 0.8524 GB, free: 9.09 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)