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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001653/0.001652, allocations: 182.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7411/0.7411, allocations: 132.2 MB / 148.9 MB, free: 12.15 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.594/1.594, allocations: 222.9 MB / 403.4 MB, free: 7.129 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 93.02 kB / 484.3 MB, free: 8.719 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001862, allocations: 47.92 kB / 0.5618 GB, free: 71.05 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1448, allocations: 80.21 MB / 0.6402 GB, free: 6.773 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.4318/0.5766, allocations: 159.4 MB / 0.7958 GB, free: 3.855 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002852/0.5795, allocations: 1.774 MB / 0.7975 GB, free: 2.078 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002459/0.5798, allocations: 11.94 kB / 0.7975 GB, free: 2.066 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0005119/0.5803, allocations: 135.2 kB / 0.7977 GB, free: 1.934 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001094/0.5815, allocations: 0.498 MB / 0.7982 GB, free: 1.434 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008935/0.5824, allocations: 349 kB / 0.7985 GB, free: 1.098 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.003032/0.5854, allocations: 3.487 MB / 0.8019 GB, free: 13.6 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008804/0.5863, allocations: 0.7533 MB / 0.8026 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001313/0.5876, allocations: 0.9259 MB / 0.8035 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007613/0.5884, allocations: 0.735 MB / 0.8042 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 8.379e-05/0.5885, allocations: 40 kB / 0.8043 GB, free: 11.14 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001289/0.5898, allocations: 0.8068 MB / 0.8051 GB, free: 10.33 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0002715/0.5901, allocations: 286.9 kB / 0.8053 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0005224/0.5906, allocations: 0.5089 MB / 0.8058 GB, free: 9.535 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.001384/0.592, allocations: 1.378 MB / 0.8072 GB, free: 8.152 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.592, allocations: 0 / 0.8072 GB, free: 8.152 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.012e-06/0.592, allocations: 0 / 0.8072 GB, free: 8.152 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.05e-05/0.592, allocations: 0 / 0.8072 GB, free: 8.152 MB / 0.5417 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.002158/0.5942, allocations: 1.462 MB / 0.8086 GB, free: 6.629 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.5942, allocations: 8.031 kB / 0.8086 GB, free: 6.621 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006903/0.5949, allocations: 186.4 kB / 0.8088 GB, free: 6.438 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00124/0.5962, allocations: 0.7983 MB / 0.8096 GB, free: 5.582 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.24e-05/0.5962, allocations: 49 kB / 0.8096 GB, free: 5.535 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.719e-05/0.5963, allocations: 60 kB / 0.8097 GB, free: 5.477 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.5974, allocations: 0.7888 MB / 0.8105 GB, free: 4.609 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.5974, allocations: 7.938 kB / 0.8105 GB, free: 4.602 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.916e-05/0.5975, allocations: 24 kB / 0.8105 GB, free: 4.578 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.477e-05/0.5975, allocations: 12 kB / 0.8105 GB, free: 4.566 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00085/0.5984, allocations: 0.5305 MB / 0.811 GB, free: 4.035 MB / 0.5417 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.004291/0.6027, allocations: 4.591 MB / 0.8155 GB, free: 15.06 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007419/0.6034, allocations: 416.6 kB / 0.8159 GB, free: 14.65 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003693/0.6038, allocations: 245.4 kB / 0.8161 GB, free: 14.41 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002909/0.6041, allocations: 194.2 kB / 0.8163 GB, free: 14.18 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004522/0.6046, allocations: 289.1 kB / 0.8166 GB, free: 13.88 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=31): time 2.334e-06/0.6046, allocations: 0 / 0.8166 GB, free: 13.88 MB / 0.5573 GB Notification: Performance of matching and sorting (n=31): time 0.001308/0.6059, allocations: 0.6374 MB / 0.8172 GB, free: 13.23 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.706e-05/0.606, allocations: 85.09 kB / 0.8173 GB, free: 13.13 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00135/0.6073, allocations: 1.114 MB / 0.8184 GB, free: 12 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.296e-05/0.6074, allocations: 41.7 kB / 0.8184 GB, free: 11.95 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003948/0.6078, allocations: 496 kB / 0.8189 GB, free: 11.46 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 9.686e-05/0.6079, allocations: 114.5 kB / 0.819 GB, free: 11.35 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001687/0.6081, allocations: 113.9 kB / 0.8191 GB, free: 11.23 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.6082, allocations: 329.9 kB / 0.8194 GB, free: 10.9 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003796/0.6086, allocations: 214.4 kB / 0.8196 GB, free: 10.69 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006104/0.6092, allocations: 0.5135 MB / 0.8201 GB, free: 10.04 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008268/0.61, allocations: 0.6305 MB / 0.8208 GB, free: 9.332 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.6101, allocations: 0 / 0.8208 GB, free: 9.332 MB / 0.5573 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001237/0.6113, allocations: 0.7261 MB / 0.8215 GB, free: 8.594 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 5.101e-05/0.6114, allocations: 33.7 kB / 0.8215 GB, free: 8.555 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.6114, allocations: 5.5 kB / 0.8215 GB, free: 8.551 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.289e-05/0.6114, allocations: 8 kB / 0.8215 GB, free: 8.543 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001802/0.6132, allocations: 346.2 kB / 0.8218 GB, free: 8.207 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003142/0.6164, allocations: 6.095 MB / 0.8278 GB, free: 1.879 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007643/0.6172, allocations: 91.56 kB / 0.8279 GB, free: 1.789 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-05/0.6172, allocations: 24.22 kB / 0.8279 GB, free: 1.766 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000713/0.6179, allocations: 0.4967 MB / 0.8284 GB, free: 1.266 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005154/0.6185, allocations: 489.9 kB / 0.8289 GB, free: 0.6523 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007381/0.6192, allocations: 0.5685 MB / 0.8294 GB, free: 4 kB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.658e-06/0.6192, allocations: 4 kB / 0.8294 GB, free: 0 / 0.5573 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001051/0.6203, allocations: 0.6381 MB / 0.83 GB, free: 15.35 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 4.099e-05/0.6203, allocations: 34.36 kB / 0.8301 GB, free: 15.31 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.6204, allocations: 4 kB / 0.8301 GB, free: 15.3 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.6204, allocations: 12 kB / 0.8301 GB, free: 15.29 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005187/0.6209, allocations: 155.8 kB / 0.8302 GB, free: 15.14 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.6209, allocations: 11.94 kB / 0.8302 GB, free: 15.13 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006489/0.6216, allocations: 92 kB / 0.8303 GB, free: 15.04 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.598e-05/0.6216, allocations: 24 kB / 0.8304 GB, free: 15.02 MB / 0.573 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.0001789/0.6218, allocations: 218.3 kB / 0.8306 GB, free: 14.8 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.6219, allocations: 98.78 kB / 0.8307 GB, free: 14.7 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008851/0.6228, allocations: 0.4911 MB / 0.8311 GB, free: 14.2 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.6228, allocations: 0 / 0.8311 GB, free: 14.2 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.6228, allocations: 11.94 kB / 0.8311 GB, free: 14.19 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.6229, allocations: 3.984 kB / 0.8311 GB, free: 14.19 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001993/0.6249, allocations: 1.375 MB / 0.8325 GB, free: 12.74 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.6249, allocations: 4 kB / 0.8325 GB, free: 12.73 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005914/0.6255, allocations: 159.7 kB / 0.8326 GB, free: 12.58 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.6255, allocations: 3.938 kB / 0.8327 GB, free: 12.57 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.12e-05/0.6255, allocations: 12 kB / 0.8327 GB, free: 12.56 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002904/0.6284, allocations: 6.017 MB / 0.8385 GB, free: 6.312 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.6284, allocations: 0 / 0.8385 GB, free: 6.312 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001578/0.63, allocations: 1.549 MB / 0.8401 GB, free: 4.684 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003564/0.6304, allocations: 215.8 kB / 0.8403 GB, free: 4.453 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.528e-05/0.6305, allocations: 8 kB / 0.8403 GB, free: 4.445 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004329/0.6309, allocations: 43.95 kB / 0.8403 GB, free: 4.402 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.6311, allocations: 27.91 kB / 0.8403 GB, free: 4.375 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.397e-05/0.6311, allocations: 15.98 kB / 0.8403 GB, free: 4.359 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0009145/0.632, allocations: 0.7875 MB / 0.8411 GB, free: 3.562 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.5e-07/0.632, allocations: 0 / 0.8411 GB, free: 3.562 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.00122/0.6332, allocations: 419.3 kB / 0.8415 GB, free: 3.152 MB / 0.573 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.0003886/0.6336, allocations: 177.8 kB / 0.8417 GB, free: 2.977 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002918/0.6366, allocations: 1.078 MB / 0.8427 GB, free: 1.875 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.6366, allocations: 0 / 0.8427 GB, free: 1.875 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0007826/0.6374, allocations: 293.1 kB / 0.843 GB, free: 1.59 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001993/0.6394, allocations: 452.5 kB / 0.8435 GB, free: 1.148 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002822/0.6422, allocations: 2.348 MB / 0.8457 GB, free: 14.74 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006656/0.6429, allocations: 1.184 MB / 0.8469 GB, free: 13.52 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0009192/0.6438, allocations: 379.7 kB / 0.8473 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001269/0.644, allocations: 63.44 kB / 0.8473 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of SimCode: time 4.61e-07/0.644, allocations: 0 / 0.8473 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of Templates: time 0.02763/0.6716, allocations: 17.75 MB / 0.8647 GB, free: 11.51 MB / 0.6042 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)