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: "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008836/0.0008836, allocations: 91.45 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.001141/0.001141, 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.325/1.325, allocations: 223.2 MB / 240 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9288/0.9288, allocations: 135.3 MB / 426.3 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003288/0.000329, allocations: 15.94 kB / 0.5071 GB, free: 5.031 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1548, allocations: 82.32 MB / 0.5875 GB, free: 2.887 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.4697/0.6246, allocations: 146.7 MB / 0.7308 GB, free: 3.168 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003136/0.6278, allocations: 1.65 MB / 0.7324 GB, free: 2.016 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000562/0.6284, allocations: 8.156 kB / 0.7324 GB, free: 2.012 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006602/0.629, allocations: 112.9 kB / 0.7325 GB, free: 1.945 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001427/0.6305, allocations: 395.2 kB / 0.7329 GB, free: 1.734 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001246/0.6318, allocations: 337.7 kB / 0.7332 GB, free: 1.578 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003668/0.6354, allocations: 2.978 MB / 0.7361 GB, free: 468 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001308/0.6368, allocations: 0.6875 MB / 0.7368 GB, free: 224 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001877/0.6386, allocations: 0.8618 MB / 0.7376 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001422/0.6401, allocations: 0.7103 MB / 0.7383 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002423/0.6403, allocations: 33.66 kB / 0.7383 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001814/0.6422, allocations: 0.5543 MB / 0.7389 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004502/0.6426, allocations: 274.4 kB / 0.7391 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005217/0.6431, allocations: 231.9 kB / 0.7394 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001386/0.6445, allocations: 1.019 MB / 0.7404 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.6446, allocations: 0 / 0.7404 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.833e-06/0.6446, allocations: 7.875 kB / 0.7404 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.225e-05/0.6446, allocations: 0 / 0.7404 GB, free: 14.78 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.002424/0.6471, allocations: 1.31 MB / 0.7416 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.6471, allocations: 8.219 kB / 0.7416 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001716/0.6473, allocations: 96.58 kB / 0.7417 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007859/0.6481, allocations: 184.4 kB / 0.7419 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0015/0.6496, allocations: 0.7926 MB / 0.7427 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.778e-05/0.6497, allocations: 49.55 kB / 0.7427 GB, free: 13 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.757e-05/0.6498, allocations: 60.38 kB / 0.7428 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001208/0.651, allocations: 0.7988 MB / 0.7436 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.651, allocations: 3.031 kB / 0.7436 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.513e-05/0.6511, allocations: 26.67 kB / 0.7436 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.361e-05/0.6511, allocations: 11.56 kB / 0.7436 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000883/0.652, allocations: 0.5428 MB / 0.7441 GB, free: 12.12 MB / 0.5606 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.004334/0.6563, allocations: 4.604 MB / 0.7486 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007272/0.6571, allocations: 430.2 kB / 0.749 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003838/0.6575, allocations: 246.4 kB / 0.7493 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002857/0.6577, allocations: 198.1 kB / 0.7495 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000469/0.6582, allocations: 302.6 kB / 0.7498 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 2.164e-06/0.6582, allocations: 0 / 0.7498 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.001383/0.6596, allocations: 0.6432 MB / 0.7504 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.002e-05/0.6597, allocations: 85.05 kB / 0.7505 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001429/0.6611, allocations: 1.114 MB / 0.7516 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.942e-05/0.6612, allocations: 37.7 kB / 0.7516 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004161/0.6616, allocations: 497.1 kB / 0.7521 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/0.6617, allocations: 106.5 kB / 0.7522 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.466e-05/0.6618, allocations: 8 kB / 0.7522 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.6619, allocations: 326.2 kB / 0.7525 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003524/0.6623, allocations: 184.7 kB / 0.7527 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005871/0.6629, allocations: 0.5018 MB / 0.7532 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004596/0.6633, allocations: 288 kB / 0.7534 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.6634, allocations: 0 / 0.7534 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001156/0.6645, allocations: 0.6854 MB / 0.7541 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002213/0.6648, allocations: 275.3 kB / 0.7544 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.6648, allocations: 7.984 kB / 0.7544 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.308e-05/0.6648, allocations: 12 kB / 0.7544 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004267/0.6652, allocations: 111.8 kB / 0.7545 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.859e-05/0.6653, allocations: 14.88 kB / 0.7545 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007177/0.666, allocations: 103.3 kB / 0.7546 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.119e-05/0.6661, allocations: 27.98 kB / 0.7546 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.356e-06/0.6661, allocations: 4 kB / 0.7546 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008699/0.667, allocations: 0.5412 MB / 0.7552 GB, free: 324 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.667, allocations: 4 kB / 0.7552 GB, free: 320 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.667, allocations: 8 kB / 0.7552 GB, free: 312 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003334/0.6673, allocations: 107.8 kB / 0.7553 GB, free: 204 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.6674, allocations: 8.375 kB / 0.7553 GB, free: 196 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006401/0.668, allocations: 99.61 kB / 0.7554 GB, free: 96 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-05/0.6681, allocations: 20 kB / 0.7554 GB, free: 76 kB / 0.5606 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.0005387/0.6686, allocations: 476.8 kB / 0.7558 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001576/0.6688, allocations: 98.78 kB / 0.7559 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009227/0.6697, allocations: 0.5013 MB / 0.7564 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.6697, allocations: 4.938 kB / 0.7564 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.6697, allocations: 0 / 0.7564 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.6697, allocations: 0 / 0.7564 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002031/0.6718, allocations: 1.401 MB / 0.7578 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.6718, allocations: 8.906 kB / 0.7578 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000236/0.672, allocations: 75.81 kB / 0.7579 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.6721, allocations: 4 kB / 0.7579 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.608e-05/0.6721, allocations: 15.94 kB / 0.7579 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.6721, allocations: 4 kB / 0.7579 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.6721, allocations: 7.938 kB / 0.7579 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008273/0.6729, allocations: 0.6099 MB / 0.7585 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003294/0.6733, allocations: 223.8 kB / 0.7587 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/0.6734, allocations: 11.98 kB / 0.7587 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004776/0.6739, allocations: 63.69 kB / 0.7588 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.835e-05/0.674, allocations: 31.89 kB / 0.7588 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.005e-05/0.674, allocations: 12 kB / 0.7588 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009961/0.675, allocations: 0.7836 MB / 0.7596 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/0.675, allocations: 0 / 0.7596 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001147/0.6762, allocations: 415.4 kB / 0.76 GB, free: 11.2 MB / 0.5762 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.001466/0.6777, allocations: 1.216 MB / 0.7612 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001319/0.679, allocations: 0.8015 MB / 0.762 GB, free: 9.117 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.679, allocations: 0 / 0.762 GB, free: 9.117 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003623/0.6794, allocations: 209.2 kB / 0.7622 GB, free: 8.914 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001944/0.6813, allocations: 459.6 kB / 0.7626 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01139/0.6927, allocations: 6.235 MB / 0.7687 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008055/0.6936, allocations: 1.173 MB / 0.7698 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001199/0.6948, allocations: 435.5 kB / 0.7703 GB, free: 320 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004819/0.6953, allocations: 323.4 kB / 0.7706 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of SimCode: time 7.31e-07/0.6953, allocations: 0 / 0.7706 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04896/0.7443, allocations: 25.52 MB / 0.7955 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001854/0.7445, allocations: 247.4 kB / 0.7957 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.243/2.988, allocations: 9.141 kB / 0.7957 GB, free: 6.633 MB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1) Environment - environmentSimulation: