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.007522/0.007522, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.001655/0.001655, allocations: 186.8 kB / 16.67 MB, free: 5.973 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7872/0.7872, allocations: 132.2 MB / 422.7 MB, free: 1.672 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 63.91 kB / 0.5814 GB, free: 7.504 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.402/0.4033, allocations: 80.2 MB / 0.6597 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.1807/0.584, allocations: 161.6 MB / 0.8175 GB, free: 4.023 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.003404/0.5874, allocations: 1.757 MB / 0.8192 GB, free: 2.262 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005359/0.588, allocations: 15.88 kB / 0.8192 GB, free: 2.246 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0007117/0.5887, allocations: 158.9 kB / 0.8194 GB, free: 2.09 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001532/0.5903, allocations: 0.5563 MB / 0.8199 GB, free: 1.531 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001302/0.5916, allocations: 395 kB / 0.8203 GB, free: 1.152 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002851/0.5945, allocations: 2.53 MB / 0.8228 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00136/0.5959, allocations: 0.9291 MB / 0.8237 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001867/0.5978, allocations: 1.039 MB / 0.8247 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001152/0.5989, allocations: 0.7039 MB / 0.8254 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002231/0.5992, allocations: 60 kB / 0.8254 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001535/0.6007, allocations: 0.7484 MB / 0.8262 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004292/0.6012, allocations: 306.9 kB / 0.8265 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0009402/0.6021, allocations: 0.5402 MB / 0.827 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001907/0.604, allocations: 1.404 MB / 0.8284 GB, free: 8.863 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.604, allocations: 0 / 0.8284 GB, free: 8.863 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.432e-06/0.604, allocations: 0 / 0.8284 GB, free: 8.863 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.665e-05/0.6041, allocations: 0 / 0.8284 GB, free: 8.863 MB / 0.6544 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.002893/0.607, allocations: 1.451 MB / 0.8298 GB, free: 7.352 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.6071, allocations: 8.031 kB / 0.8298 GB, free: 7.344 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009475/0.608, allocations: 190.5 kB / 0.83 GB, free: 7.156 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001553/0.6096, allocations: 0.8528 MB / 0.8308 GB, free: 6.246 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.316e-05/0.6096, allocations: 48.94 kB / 0.8308 GB, free: 6.199 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.791e-05/0.6097, allocations: 63.94 kB / 0.8309 GB, free: 6.137 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001308/0.6111, allocations: 0.7849 MB / 0.8317 GB, free: 5.281 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/0.6111, allocations: 7.938 kB / 0.8317 GB, free: 5.273 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.453e-05/0.6111, allocations: 20 kB / 0.8317 GB, free: 5.254 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.554e-05/0.6112, allocations: 16 kB / 0.8317 GB, free: 5.238 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009545/0.6121, allocations: 0.5383 MB / 0.8322 GB, free: 4.695 MB / 0.6544 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.004287/0.6164, allocations: 4.587 MB / 0.8367 GB, free: 15.73 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007695/0.6172, allocations: 414.3 kB / 0.8371 GB, free: 15.31 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003827/0.6176, allocations: 257.8 kB / 0.8374 GB, free: 15.06 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002994/0.6179, allocations: 198.2 kB / 0.8376 GB, free: 14.83 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004814/0.6184, allocations: 286.4 kB / 0.8378 GB, free: 14.54 MB / 0.67 GB Notification: Performance of pre-optimization done (n=31): time 1.763e-06/0.6184, allocations: 0 / 0.8378 GB, free: 14.54 MB / 0.67 GB Notification: Performance of matching and sorting (n=31): time 0.001369/0.6198, allocations: 0.6365 MB / 0.8384 GB, free: 13.89 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.277e-05/0.6199, allocations: 81.11 kB / 0.8385 GB, free: 13.8 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001414/0.6213, allocations: 1.121 MB / 0.8396 GB, free: 12.66 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.369e-05/0.6213, allocations: 33.7 kB / 0.8396 GB, free: 12.62 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003832/0.6217, allocations: 496.1 kB / 0.8401 GB, free: 12.13 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.6219, allocations: 110.7 kB / 0.8402 GB, free: 12.02 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001642/0.622, allocations: 109.9 kB / 0.8403 GB, free: 11.91 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.6221, allocations: 329.9 kB / 0.8406 GB, free: 11.58 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003811/0.6225, allocations: 214.4 kB / 0.8409 GB, free: 11.36 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005988/0.6231, allocations: 0.5175 MB / 0.8414 GB, free: 10.71 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008806/0.624, allocations: 0.636 MB / 0.842 GB, free: 9.996 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.624, allocations: 4 kB / 0.842 GB, free: 9.992 MB / 0.67 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001252/0.6253, allocations: 0.721 MB / 0.8427 GB, free: 9.258 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.099e-05/0.6254, allocations: 33.7 kB / 0.8427 GB, free: 9.219 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.6254, allocations: 4 kB / 0.8427 GB, free: 9.215 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.6254, allocations: 8 kB / 0.8427 GB, free: 9.207 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001756/0.6272, allocations: 348 kB / 0.8431 GB, free: 8.867 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00339/0.6306, allocations: 6.075 MB / 0.849 GB, free: 2.559 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000617/0.6312, allocations: 75.48 kB / 0.8491 GB, free: 2.484 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.653e-05/0.6313, allocations: 28.17 kB / 0.8491 GB, free: 2.457 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006673/0.6319, allocations: 0.5044 MB / 0.8496 GB, free: 1.949 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005566/0.6325, allocations: 489.9 kB / 0.8501 GB, free: 1.336 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007797/0.6333, allocations: 0.5576 MB / 0.8506 GB, free: 0.6992 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.416e-06/0.6333, allocations: 0 / 0.8506 GB, free: 0.6992 MB / 0.67 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001121/0.6344, allocations: 0.65 MB / 0.8512 GB, free: 36 kB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.662e-05/0.6345, allocations: 37.73 kB / 0.8513 GB, free: 15.99 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.6345, allocations: 4 kB / 0.8513 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.6345, allocations: 16.62 kB / 0.8513 GB, free: 15.97 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005518/0.6351, allocations: 151.7 kB / 0.8514 GB, free: 15.82 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.6351, allocations: 11.98 kB / 0.8514 GB, free: 15.81 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006355/0.6357, allocations: 68.03 kB / 0.8515 GB, free: 15.75 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.294e-05/0.6358, allocations: 20 kB / 0.8515 GB, free: 15.73 MB / 0.6856 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.0001962/0.636, allocations: 224.7 kB / 0.8517 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/0.6361, allocations: 102.8 kB / 0.8518 GB, free: 15.4 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008788/0.637, allocations: 487 kB / 0.8523 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.637, allocations: 4 kB / 0.8523 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.6371, allocations: 0 / 0.8523 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.6371, allocations: 7.984 kB / 0.8523 GB, free: 14.9 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001922/0.639, allocations: 1.383 MB / 0.8537 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.391e-06/0.639, allocations: 4 kB / 0.8537 GB, free: 13.44 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006214/0.6396, allocations: 151.8 kB / 0.8538 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.208e-06/0.6397, allocations: 7.938 kB / 0.8538 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.813e-05/0.6397, allocations: 8 kB / 0.8538 GB, free: 13.28 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003013/0.6427, allocations: 6.021 MB / 0.8597 GB, free: 7.023 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.335e-06/0.6427, allocations: 8.016 kB / 0.8597 GB, free: 7.016 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008019/0.6435, allocations: 0.6103 MB / 0.8603 GB, free: 6.367 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002885/0.6438, allocations: 207.9 kB / 0.8605 GB, free: 6.145 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001255/0.644, allocations: 8 kB / 0.8605 GB, free: 6.137 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003988/0.6444, allocations: 27.91 kB / 0.8605 GB, free: 6.109 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.524e-05/0.6445, allocations: 31.91 kB / 0.8606 GB, free: 6.078 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.488e-05/0.6445, allocations: 15.98 kB / 0.8606 GB, free: 6.062 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001047/0.6456, allocations: 0.7875 MB / 0.8614 GB, free: 5.266 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6456, allocations: 4 kB / 0.8614 GB, free: 5.262 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001286/0.6469, allocations: 403.4 kB / 0.8617 GB, free: 4.867 MB / 0.6856 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.0004977/0.6474, allocations: 175.6 kB / 0.8619 GB, free: 4.699 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00306/0.6504, allocations: 1.079 MB / 0.863 GB, free: 3.598 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.6505, allocations: 0 / 0.863 GB, free: 3.598 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0007875/0.6513, allocations: 297.3 kB / 0.8633 GB, free: 3.309 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001957/0.6532, allocations: 463.7 kB / 0.8637 GB, free: 2.871 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002959/0.6562, allocations: 1.775 MB / 0.8654 GB, free: 1.047 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3186/0.9748, allocations: 1.18 MB / 0.8666 GB, free: 193.9 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001214/0.976, allocations: 370.6 kB / 0.8669 GB, free: 193.9 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/0.9762, allocations: 66.8 kB / 0.867 GB, free: 193.9 MB / 0.6856 GB Notification: Performance of SimCode: time 1.242e-06/0.9762, allocations: 0 / 0.867 GB, free: 193.9 MB / 0.6856 GB Notification: Performance of Templates: time 0.03271/1.009, allocations: 18.12 MB / 0.8847 GB, free: 187.2 MB / 0.6856 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)