Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.00657/0.00657, allocations: 101.1 kB / 15.73 MB, free: 6.051 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.001326/0.001326, allocations: 187.8 kB / 16.67 MB, free: 5.98 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9404/0.9404, allocations: 135.1 MB / 425.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 67.89 kB / 0.5856 GB, free: 3.352 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.404/0.4053, allocations: 80.91 MB / 0.6647 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.18/0.5853, allocations: 161.6 MB / 0.8225 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003847/0.5892, allocations: 1.758 MB / 0.8242 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004734/0.5897, allocations: 11.88 kB / 0.8242 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006731/0.5904, allocations: 166.9 kB / 0.8244 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001932/0.5924, allocations: 0.5523 MB / 0.8249 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001239/0.5937, allocations: 399.3 kB / 0.8253 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002906/0.5966, allocations: 2.524 MB / 0.8278 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001511/0.5981, allocations: 0.9333 MB / 0.8287 GB, free: 9.082 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00207/0.6002, allocations: 1.043 MB / 0.8297 GB, free: 8.035 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00122/0.6014, allocations: 0.7 MB / 0.8304 GB, free: 7.332 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002243/0.6017, allocations: 56 kB / 0.8304 GB, free: 7.277 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001615/0.6033, allocations: 0.7445 MB / 0.8312 GB, free: 6.531 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004423/0.6037, allocations: 314.9 kB / 0.8315 GB, free: 6.223 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0009321/0.6047, allocations: 0.5402 MB / 0.832 GB, free: 5.68 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001998/0.6067, allocations: 1.408 MB / 0.8334 GB, free: 4.27 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.6067, allocations: 0 / 0.8334 GB, free: 4.27 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6067, allocations: 3.938 kB / 0.8334 GB, free: 4.266 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.014e-05/0.6068, allocations: 0 / 0.8334 GB, free: 4.266 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.002715/0.6095, allocations: 1.451 MB / 0.8348 GB, free: 2.75 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.6095, allocations: 8.031 kB / 0.8348 GB, free: 2.742 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008484/0.6104, allocations: 182.5 kB / 0.835 GB, free: 2.562 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001465/0.6119, allocations: 0.8529 MB / 0.8358 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.123e-05/0.6119, allocations: 41 kB / 0.8358 GB, free: 1.613 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/0.612, allocations: 64 kB / 0.8359 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/0.6133, allocations: 0.7887 MB / 0.8367 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.6133, allocations: 3.938 kB / 0.8367 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.091e-05/0.6134, allocations: 24 kB / 0.8367 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.6134, allocations: 16 kB / 0.8367 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009116/0.6143, allocations: 0.5422 MB / 0.8372 GB, free: 108 kB / 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.004165/0.6185, allocations: 4.587 MB / 0.8417 GB, free: 11.14 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006916/0.6192, allocations: 415 kB / 0.8421 GB, free: 10.72 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00037/0.6196, allocations: 250.2 kB / 0.8423 GB, free: 10.48 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002909/0.6199, allocations: 190.2 kB / 0.8425 GB, free: 10.25 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004682/0.6203, allocations: 297.1 kB / 0.8428 GB, free: 9.945 MB / 0.67 GB Notification: Performance of pre-optimization done (n=31): time 1.944e-06/0.6203, allocations: 0 / 0.8428 GB, free: 9.945 MB / 0.67 GB Notification: Performance of matching and sorting (n=31): time 0.001386/0.6217, allocations: 0.6314 MB / 0.8434 GB, free: 9.309 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.152e-05/0.6218, allocations: 81.11 kB / 0.8435 GB, free: 9.211 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001371/0.6232, allocations: 1.125 MB / 0.8446 GB, free: 8.066 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.472e-05/0.6232, allocations: 33.7 kB / 0.8446 GB, free: 8.027 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003788/0.6236, allocations: 492.1 kB / 0.8451 GB, free: 7.543 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 8.568e-05/0.6237, allocations: 110.5 kB / 0.8452 GB, free: 7.434 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001675/0.6239, allocations: 109.9 kB / 0.8453 GB, free: 7.32 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.624, allocations: 326 kB / 0.8456 GB, free: 6.996 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003647/0.6244, allocations: 218.6 kB / 0.8458 GB, free: 6.777 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005916/0.625, allocations: 0.5174 MB / 0.8463 GB, free: 6.125 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000844/0.6258, allocations: 0.6433 MB / 0.847 GB, free: 5.402 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.6259, allocations: 0 / 0.847 GB, free: 5.402 MB / 0.67 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001195/0.6271, allocations: 0.7201 MB / 0.8477 GB, free: 4.668 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.711e-05/0.6271, allocations: 33.7 kB / 0.8477 GB, free: 4.629 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.6271, allocations: 8 kB / 0.8477 GB, free: 4.621 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.455e-05/0.6272, allocations: 8 kB / 0.8477 GB, free: 4.613 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004245/0.6276, allocations: 108.3 kB / 0.8478 GB, free: 4.508 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-05/0.6276, allocations: 12 kB / 0.8478 GB, free: 4.496 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005972/0.6282, allocations: 79.42 kB / 0.8479 GB, free: 4.418 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.653e-05/0.6283, allocations: 27.98 kB / 0.8479 GB, free: 4.391 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006494/0.6289, allocations: 0.4927 MB / 0.8484 GB, free: 3.891 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005369/0.6295, allocations: 493.8 kB / 0.8489 GB, free: 3.277 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007205/0.6302, allocations: 0.5567 MB / 0.8494 GB, free: 2.641 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.317e-06/0.6302, allocations: 4 kB / 0.8494 GB, free: 2.637 MB / 0.67 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001038/0.6313, allocations: 0.6425 MB / 0.8501 GB, free: 1.98 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.146e-05/0.6313, allocations: 37.69 kB / 0.8501 GB, free: 1.938 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.6313, allocations: 4 kB / 0.8501 GB, free: 1.934 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.508e-06/0.6314, allocations: 8 kB / 0.8501 GB, free: 1.926 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003556/0.6317, allocations: 103.8 kB / 0.8502 GB, free: 1.824 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.6317, allocations: 8 kB / 0.8502 GB, free: 1.816 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005872/0.6323, allocations: 68.22 kB / 0.8503 GB, free: 1.75 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.534e-05/0.6324, allocations: 27.92 kB / 0.8503 GB, free: 1.723 MB / 0.67 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): 52 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001705/0.6326, allocations: 223.3 kB / 0.8505 GB, free: 1.5 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/0.6327, allocations: 98.78 kB / 0.8506 GB, free: 1.402 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008638/0.6336, allocations: 495 kB / 0.8511 GB, free: 0.9102 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.6336, allocations: 8 kB / 0.8511 GB, free: 0.9023 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.6336, allocations: 0 / 0.8511 GB, free: 0.9023 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.6336, allocations: 3.938 kB / 0.8511 GB, free: 0.8984 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001997/0.6356, allocations: 1.383 MB / 0.8525 GB, free: 15.44 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.6356, allocations: 4 kB / 0.8525 GB, free: 15.43 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002422/0.6359, allocations: 63.89 kB / 0.8525 GB, free: 15.37 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/0.6359, allocations: 4.188 kB / 0.8525 GB, free: 15.37 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/0.6359, allocations: 8 kB / 0.8525 GB, free: 15.36 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.511e-06/0.6359, allocations: 4 kB / 0.8525 GB, free: 15.36 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.636, allocations: 3.938 kB / 0.8525 GB, free: 15.35 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000811/0.6368, allocations: 0.6064 MB / 0.8531 GB, free: 14.71 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003141/0.6371, allocations: 223.7 kB / 0.8533 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.628e-05/0.6372, allocations: 8 kB / 0.8533 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003735/0.6376, allocations: 19.98 kB / 0.8534 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.001e-05/0.6377, allocations: 31.89 kB / 0.8534 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.232e-05/0.6377, allocations: 12 kB / 0.8534 GB, free: 14.4 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0009142/0.6386, allocations: 0.7914 MB / 0.8542 GB, free: 13.6 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6386, allocations: 4 kB / 0.8542 GB, free: 13.59 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001044/0.6397, allocations: 403.4 kB / 0.8546 GB, free: 13.2 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): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004241/0.6401, allocations: 183.5 kB / 0.8547 GB, free: 13.02 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001315/0.6414, allocations: 0.8126 MB / 0.8555 GB, free: 12.18 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.6415, allocations: 0 / 0.8555 GB, free: 12.18 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0003558/0.6418, allocations: 204.3 kB / 0.8557 GB, free: 11.98 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001689/0.6435, allocations: 465.7 kB / 0.8562 GB, free: 11.54 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002916/0.6464, allocations: 1.72 MB / 0.8579 GB, free: 9.762 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007896/0.6473, allocations: 1.18 MB / 0.859 GB, free: 8.551 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0009922/0.6483, allocations: 415.7 kB / 0.8594 GB, free: 8.141 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001583/0.6484, allocations: 75.42 kB / 0.8595 GB, free: 8.066 MB / 0.6856 GB Notification: Performance of SimCode: time 9.52e-07/0.6484, allocations: 0 / 0.8595 GB, free: 8.066 MB / 0.6856 GB Notification: Performance of Templates: time 0.3452/0.9936, allocations: 17.17 MB / 0.8762 GB, free: 188 MB / 0.6856 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)