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.001545/0.001545, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001539/0.001539, allocations: 195.4 kB / 16.26 MB, free: 6.621 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.37/1.37, allocations: 222.9 MB / 239.9 MB, free: 4.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9269/0.9269, allocations: 135.6 MB / 425.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 64.53 kB / 0.5054 GB, free: 5.191 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1675, allocations: 81.02 MB / 0.5845 GB, free: 4.312 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.4343/0.6018, allocations: 159.4 MB / 0.7401 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002983/0.6049, allocations: 1.752 MB / 0.7419 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002734/0.6051, allocations: 12.94 kB / 0.7419 GB, free: 7.445 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000535/0.6057, allocations: 141.7 kB / 0.742 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001165/0.6069, allocations: 495.5 kB / 0.7425 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001002/0.6079, allocations: 363.5 kB / 0.7428 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002496/0.6104, allocations: 2.549 MB / 0.7453 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001106/0.6115, allocations: 0.8962 MB / 0.7462 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00181/0.6134, allocations: 1.056 MB / 0.7472 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008254/0.6142, allocations: 0.7596 MB / 0.748 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.8e-05/0.6143, allocations: 55.09 kB / 0.748 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001361/0.6157, allocations: 0.7577 MB / 0.7488 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002942/0.616, allocations: 310.1 kB / 0.749 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006114/0.6166, allocations: 0.5453 MB / 0.7496 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001598/0.6182, allocations: 1.421 MB / 0.751 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.289e-06/0.6182, allocations: 0 / 0.751 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6182, allocations: 0 / 0.751 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.252e-05/0.6182, allocations: 3.938 kB / 0.751 GB, free: 2.012 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.002242/0.6205, allocations: 1.447 MB / 0.7524 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.6205, allocations: 8.031 kB / 0.7524 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006918/0.6212, allocations: 186.4 kB / 0.7526 GB, free: 324 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001171/0.6224, allocations: 0.806 MB / 0.7534 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.222e-05/0.6225, allocations: 45 kB / 0.7534 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.482e-05/0.6226, allocations: 64 kB / 0.7535 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001199/0.6238, allocations: 0.7926 MB / 0.7542 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.279e-05/0.6238, allocations: 3.938 kB / 0.7542 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.038e-05/0.6239, allocations: 28 kB / 0.7543 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.566e-05/0.6239, allocations: 12 kB / 0.7543 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009009/0.6248, allocations: 0.5305 MB / 0.7548 GB, free: 13.91 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.004121/0.6289, allocations: 4.591 MB / 0.7593 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007107/0.6296, allocations: 405.7 kB / 0.7597 GB, free: 8.527 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003904/0.63, allocations: 257 kB / 0.7599 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003018/0.6303, allocations: 194.1 kB / 0.7601 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004976/0.6309, allocations: 288.2 kB / 0.7604 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 1.773e-06/0.6309, allocations: 4 kB / 0.7604 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.001297/0.6322, allocations: 0.6314 MB / 0.761 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.576e-05/0.6322, allocations: 81.11 kB / 0.7611 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001307/0.6335, allocations: 1.118 MB / 0.7622 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.446e-05/0.6336, allocations: 41.92 kB / 0.7622 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000417/0.634, allocations: 496 kB / 0.7627 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.409e-05/0.6341, allocations: 110.5 kB / 0.7628 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001726/0.6343, allocations: 113.9 kB / 0.7629 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.6345, allocations: 325.9 kB / 0.7632 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003818/0.6349, allocations: 210.4 kB / 0.7634 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006532/0.6355, allocations: 0.5253 MB / 0.7639 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008992/0.6364, allocations: 0.633 MB / 0.7645 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.6364, allocations: 0 / 0.7645 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001182/0.6376, allocations: 0.7213 MB / 0.7652 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.242e-05/0.6377, allocations: 35.89 kB / 0.7653 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.6377, allocations: 4.047 kB / 0.7653 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.6377, allocations: 11.98 kB / 0.7653 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004339/0.6382, allocations: 115.4 kB / 0.7654 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.433e-05/0.6382, allocations: 8 kB / 0.7654 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006408/0.6388, allocations: 108.8 kB / 0.7655 GB, free: 2.203 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.417e-05/0.6389, allocations: 31.98 kB / 0.7655 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006731/0.6396, allocations: 0.4928 MB / 0.766 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006123/0.6402, allocations: 495.3 kB / 0.7665 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007803/0.641, allocations: 0.5626 MB / 0.767 GB, free: 424 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.375e-06/0.641, allocations: 0 / 0.767 GB, free: 424 kB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001037/0.642, allocations: 0.6342 MB / 0.7677 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.142e-05/0.6421, allocations: 33.7 kB / 0.7677 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.6421, allocations: 8 kB / 0.7677 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.256e-06/0.6421, allocations: 8.656 kB / 0.7677 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003573/0.6425, allocations: 107.8 kB / 0.7678 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.6425, allocations: 11.98 kB / 0.7678 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006002/0.6431, allocations: 84.02 kB / 0.7679 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.617e-05/0.6431, allocations: 20 kB / 0.7679 GB, free: 15.49 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): 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.0001831/0.6433, allocations: 228 kB / 0.7681 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.6435, allocations: 94.78 kB / 0.7682 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008762/0.6443, allocations: 493.3 kB / 0.7687 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.6444, allocations: 4 kB / 0.7687 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.6444, allocations: 0 / 0.7687 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.6444, allocations: 7.922 kB / 0.7687 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001975/0.6464, allocations: 1.383 MB / 0.7701 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.706e-06/0.6464, allocations: 3.938 kB / 0.7701 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002452/0.6466, allocations: 67.89 kB / 0.7701 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.6466, allocations: 4 kB / 0.7701 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.443e-05/0.6467, allocations: 8.219 kB / 0.7701 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-06/0.6467, allocations: 8 kB / 0.7701 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.6467, allocations: 0 / 0.7701 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008232/0.6475, allocations: 0.604 MB / 0.7707 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002818/0.6478, allocations: 219.8 kB / 0.7709 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.6479, allocations: 11.98 kB / 0.771 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004262/0.6483, allocations: 43.95 kB / 0.771 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.898e-05/0.6484, allocations: 27.91 kB / 0.771 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.173e-05/0.6485, allocations: 8.75 kB / 0.771 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009647/0.6494, allocations: 0.7953 MB / 0.7718 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6495, allocations: 4 kB / 0.7718 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001013/0.6505, allocations: 411.3 kB / 0.7722 GB, free: 10.94 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 (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.000406/0.6509, allocations: 172 kB / 0.7724 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0014/0.6523, allocations: 0.8506 MB / 0.7732 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.6523, allocations: 1.562 kB / 0.7732 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000369/0.6527, allocations: 204 kB / 0.7734 GB, free: 9.703 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001722/0.6544, allocations: 461.5 kB / 0.7738 GB, free: 9.289 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002752/0.6572, allocations: 2.049 MB / 0.7758 GB, free: 7.184 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008111/0.658, allocations: 1.18 MB / 0.777 GB, free: 5.973 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009634/0.659, allocations: 403.7 kB / 0.7774 GB, free: 5.574 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001686/0.6591, allocations: 75.42 kB / 0.7774 GB, free: 5.5 MB / 0.5919 GB Notification: Performance of SimCode: time 4.41e-07/0.6592, allocations: 0 / 0.7774 GB, free: 5.5 MB / 0.5919 GB Notification: Performance of Templates: time 0.02952/0.6887, allocations: 16.95 MB / 0.794 GB, free: 4.781 MB / 0.6075 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)