Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009216/0.0009217, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008088/0.0008088, allocations: 172.7 kB / 15.95 MB, free: 208 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.274/1.274, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7244/0.7244, allocations: 132.3 MB / 423.4 MB, free: 2.062 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002888/0.0002889, allocations: 8 kB / 0.5034 GB, free: 4.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.3412, allocations: 81.58 MB / 0.5831 GB, free: 3.969 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.1449/0.4862, allocations: 146.7 MB / 0.7264 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002488/0.4887, allocations: 1.655 MB / 0.728 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001782/0.4889, allocations: 11.94 kB / 0.728 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003903/0.4893, allocations: 107.2 kB / 0.7281 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0009133/0.4902, allocations: 394.1 kB / 0.7285 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007537/0.491, allocations: 327.8 kB / 0.7288 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002692/0.4937, allocations: 2.987 MB / 0.7317 GB, free: 7.957 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000785/0.4945, allocations: 0.6835 MB / 0.7324 GB, free: 7.266 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001164/0.4956, allocations: 0.8636 MB / 0.7332 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007642/0.4964, allocations: 0.7079 MB / 0.7339 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.461e-05/0.4965, allocations: 32 kB / 0.734 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009539/0.4975, allocations: 0.5535 MB / 0.7345 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002673/0.4977, allocations: 286.9 kB / 0.7348 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002141/0.498, allocations: 237 kB / 0.735 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001142/0.4991, allocations: 1.021 MB / 0.736 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.4991, allocations: 0 / 0.736 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.062e-06/0.4991, allocations: 0 / 0.736 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.023e-05/0.4991, allocations: 0 / 0.736 GB, free: 3.559 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.001875/0.501, allocations: 1.305 MB / 0.7373 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.987e-05/0.5011, allocations: 12.03 kB / 0.7373 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007011/0.5018, allocations: 182.5 kB / 0.7374 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001244/0.503, allocations: 0.7923 MB / 0.7382 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.167e-05/0.5031, allocations: 48.94 kB / 0.7383 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.152e-05/0.5032, allocations: 67.98 kB / 0.7383 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/0.5043, allocations: 0.7927 MB / 0.7391 GB, free: 180 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.5043, allocations: 4 kB / 0.7391 GB, free: 176 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.744e-05/0.5044, allocations: 23.94 kB / 0.7391 GB, free: 152 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/0.5044, allocations: 16 kB / 0.7392 GB, free: 136 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008979/0.5053, allocations: 0.5345 MB / 0.7397 GB, free: 15.6 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.00348/0.5088, allocations: 4.61 MB / 0.7442 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006752/0.5095, allocations: 430.1 kB / 0.7446 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003695/0.5098, allocations: 251 kB / 0.7448 GB, free: 9.93 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002489/0.5101, allocations: 190.2 kB / 0.745 GB, free: 9.707 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004619/0.5106, allocations: 301 kB / 0.7453 GB, free: 9.395 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 1.643e-06/0.5106, allocations: 0 / 0.7453 GB, free: 9.395 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.001219/0.5118, allocations: 0.6507 MB / 0.7459 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.5119, allocations: 85.06 kB / 0.746 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001333/0.5132, allocations: 1.11 MB / 0.7471 GB, free: 7.508 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.756e-05/0.5133, allocations: 33.7 kB / 0.7471 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004122/0.5137, allocations: 0.4923 MB / 0.7476 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.566e-05/0.5138, allocations: 106.5 kB / 0.7477 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.465e-05/0.5138, allocations: 8 kB / 0.7477 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.5139, allocations: 326 kB / 0.748 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003308/0.5143, allocations: 184.7 kB / 0.7482 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005737/0.5149, allocations: 0.4979 MB / 0.7487 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000432/0.5153, allocations: 295 kB / 0.749 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.5153, allocations: 0 / 0.749 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001068/0.5164, allocations: 0.6825 MB / 0.7496 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001708/0.5166, allocations: 275.5 kB / 0.7499 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.5166, allocations: 8 kB / 0.7499 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.186e-05/0.5166, allocations: 8 kB / 0.7499 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005989/0.5172, allocations: 115.8 kB / 0.75 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.284e-05/0.5173, allocations: 15.88 kB / 0.75 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006039/0.5179, allocations: 107.4 kB / 0.7501 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-05/0.5179, allocations: 24 kB / 0.7502 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.456e-06/0.5179, allocations: 7.984 kB / 0.7502 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008876/0.5188, allocations: 0.5444 MB / 0.7507 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.5189, allocations: 4 kB / 0.7507 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.165e-06/0.5189, allocations: 8 kB / 0.7507 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003579/0.5192, allocations: 107.8 kB / 0.7508 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.5192, allocations: 11.94 kB / 0.7508 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005507/0.5198, allocations: 99.92 kB / 0.7509 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.828e-05/0.5199, allocations: 31.94 kB / 0.751 GB, free: 3.289 MB / 0.5762 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): 52 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004419/0.5203, allocations: 469.2 kB / 0.7514 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.5204, allocations: 98.78 kB / 0.7515 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008686/0.5213, allocations: 0.495 MB / 0.752 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.5213, allocations: 4 kB / 0.752 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.5213, allocations: 0 / 0.752 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.5213, allocations: 7.938 kB / 0.752 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001866/0.5232, allocations: 1.391 MB / 0.7534 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.5232, allocations: 8.172 kB / 0.7534 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00025/0.5235, allocations: 71.89 kB / 0.7534 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.5235, allocations: 4 kB / 0.7534 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/0.5235, allocations: 8 kB / 0.7534 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.833e-06/0.5235, allocations: 7.984 kB / 0.7534 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.5235, allocations: 0 / 0.7534 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007802/0.5243, allocations: 0.6038 MB / 0.754 GB, free: 4 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000281/0.5246, allocations: 227.7 kB / 0.7543 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.5247, allocations: 11.98 kB / 0.7543 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004485/0.5252, allocations: 55.8 kB / 0.7543 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.39e-05/0.5253, allocations: 27.95 kB / 0.7543 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.115e-05/0.5253, allocations: 8 kB / 0.7544 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009458/0.5262, allocations: 0.7875 MB / 0.7551 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5262, allocations: 0 / 0.7551 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009926/0.5272, allocations: 407.4 kB / 0.7555 GB, free: 14.46 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): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003413/0.5276, allocations: 188 kB / 0.7557 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001229/0.5288, allocations: 0.8027 MB / 0.7565 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.5288, allocations: 64 / 0.7565 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003587/0.5292, allocations: 214.9 kB / 0.7567 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001818/0.531, allocations: 459.6 kB / 0.7571 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002386/0.5334, allocations: 1.955 MB / 0.759 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006291/0.5341, allocations: 1.181 MB / 0.7602 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001007/0.5351, allocations: 427.5 kB / 0.7606 GB, free: 9.164 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001573/0.5353, allocations: 71.42 kB / 0.7607 GB, free: 9.094 MB / 0.5919 GB Notification: Performance of SimCode: time 2.5e-07/0.5353, allocations: 4 kB / 0.7607 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of Templates: time 0.02395/0.5592, allocations: 15.99 MB / 0.7763 GB, free: 9.34 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)