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: "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="IDEAS_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.0008982/0.0008982, allocations: 90.52 kB / 15.36 MB, free: 0.7344 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.004268/0.004268, allocations: 170.4 kB / 16.26 MB, free: 6.617 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.223/1.223, allocations: 223.2 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7598/0.7598, allocations: 132.3 MB / 423.8 MB, free: 1.977 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003029/0.0003029, allocations: 9.094 kB / 0.5041 GB, free: 3.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.3592, allocations: 81.58 MB / 0.5838 GB, free: 3.887 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.1684/0.5276, allocations: 157.3 MB / 0.7374 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002729/0.5303, allocations: 1.75 MB / 0.7391 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001766/0.5305, allocations: 7.938 kB / 0.7391 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000436/0.531, allocations: 139.1 kB / 0.7392 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001036/0.532, allocations: 0.4903 MB / 0.7397 GB, free: 68 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008878/0.5329, allocations: 350 kB / 0.74 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003208/0.5361, allocations: 3.485 MB / 0.7434 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008685/0.537, allocations: 0.7427 MB / 0.7442 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001231/0.5382, allocations: 0.9025 MB / 0.745 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000834/0.5391, allocations: 0.7155 MB / 0.7457 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.101e-05/0.5392, allocations: 32 kB / 0.7458 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001211/0.5404, allocations: 0.799 MB / 0.7465 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003466/0.5407, allocations: 282.9 kB / 0.7468 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005595/0.5413, allocations: 0.53 MB / 0.7473 GB, free: 8.203 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001281/0.5426, allocations: 1.366 MB / 0.7487 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.155e-06/0.5426, allocations: 0 / 0.7487 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.233e-06/0.5426, allocations: 0 / 0.7487 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.013e-05/0.5427, allocations: 0 / 0.7487 GB, free: 6.832 MB / 0.5762 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.002027/0.5447, allocations: 1.264 MB / 0.7499 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.5447, allocations: 8.031 kB / 0.7499 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001009/0.5448, allocations: 94.52 kB / 0.75 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007145/0.5456, allocations: 186.5 kB / 0.7502 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/0.5467, allocations: 0.806 MB / 0.751 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.511e-05/0.5467, allocations: 41 kB / 0.751 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.131e-05/0.5468, allocations: 64 kB / 0.7511 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001273/0.5481, allocations: 0.7966 MB / 0.7518 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.5481, allocations: 4 kB / 0.7518 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.927e-05/0.5482, allocations: 20 kB / 0.7519 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.478e-05/0.5482, allocations: 15.94 kB / 0.7519 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009499/0.5492, allocations: 0.5501 MB / 0.7524 GB, free: 2.793 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.003874/0.5531, allocations: 4.599 MB / 0.7569 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007391/0.5538, allocations: 426.3 kB / 0.7573 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003876/0.5542, allocations: 244.7 kB / 0.7575 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002671/0.5545, allocations: 190.2 kB / 0.7577 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004759/0.555, allocations: 305 kB / 0.758 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=31): time 1.873e-06/0.555, allocations: 0 / 0.758 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31): time 0.001302/0.5563, allocations: 0.6484 MB / 0.7587 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/0.5563, allocations: 81.33 kB / 0.7587 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001265/0.5576, allocations: 1.121 MB / 0.7598 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.402e-05/0.5577, allocations: 41.64 kB / 0.7599 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003783/0.558, allocations: 496.1 kB / 0.7603 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.145e-05/0.5581, allocations: 106.5 kB / 0.7604 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.35e-05/0.5582, allocations: 49.64 kB / 0.7605 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.5583, allocations: 326 kB / 0.7608 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003635/0.5587, allocations: 204.7 kB / 0.761 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005915/0.5593, allocations: 0.5292 MB / 0.7615 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008806/0.5602, allocations: 0.6395 MB / 0.7621 GB, free: 8.109 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/0.5602, allocations: 7.938 kB / 0.7621 GB, free: 8.102 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001134/0.5613, allocations: 0.7293 MB / 0.7629 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001605/0.5615, allocations: 278.5 kB / 0.7631 GB, free: 7.004 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.5615, allocations: 4 kB / 0.7631 GB, free: 7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.5616, allocations: 11.98 kB / 0.7631 GB, free: 6.988 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004123/0.562, allocations: 111.8 kB / 0.7632 GB, free: 6.879 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.562, allocations: 11.94 kB / 0.7633 GB, free: 6.867 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000628/0.5626, allocations: 103.7 kB / 0.7634 GB, free: 6.766 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.792e-05/0.5627, allocations: 24 kB / 0.7634 GB, free: 6.742 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.5627, allocations: 4 kB / 0.7634 GB, free: 6.738 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008759/0.5636, allocations: 0.5444 MB / 0.7639 GB, free: 6.188 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.5636, allocations: 4 kB / 0.7639 GB, free: 6.184 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.334e-06/0.5636, allocations: 8 kB / 0.7639 GB, free: 6.176 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003511/0.564, allocations: 107.8 kB / 0.764 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.564, allocations: 15.92 kB / 0.764 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005666/0.5646, allocations: 91.55 kB / 0.7641 GB, free: 5.965 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.77e-05/0.5646, allocations: 27.94 kB / 0.7642 GB, free: 5.938 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.0004383/0.5651, allocations: 473.3 kB / 0.7646 GB, free: 5.465 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.5652, allocations: 94.78 kB / 0.7647 GB, free: 5.371 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008938/0.5661, allocations: 0.4912 MB / 0.7652 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.5661, allocations: 4 kB / 0.7652 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.5661, allocations: 0 / 0.7652 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.5661, allocations: 11.92 kB / 0.7652 GB, free: 4.859 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001868/0.568, allocations: 1.395 MB / 0.7666 GB, free: 3.387 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.568, allocations: 0 / 0.7666 GB, free: 3.387 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002484/0.5683, allocations: 72.11 kB / 0.7666 GB, free: 3.316 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.5683, allocations: 11.94 kB / 0.7666 GB, free: 3.305 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.887e-05/0.5683, allocations: 11.98 kB / 0.7666 GB, free: 3.293 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.5683, allocations: 0 / 0.7666 GB, free: 3.293 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.5683, allocations: 4 kB / 0.7666 GB, free: 3.289 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007807/0.5691, allocations: 0.6035 MB / 0.7672 GB, free: 2.648 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002668/0.5694, allocations: 227.8 kB / 0.7675 GB, free: 2.406 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.5695, allocations: 11.98 kB / 0.7675 GB, free: 2.395 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004528/0.57, allocations: 43.95 kB / 0.7675 GB, free: 2.352 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.415e-05/0.57, allocations: 27.97 kB / 0.7675 GB, free: 2.324 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/0.5701, allocations: 11.94 kB / 0.7675 GB, free: 2.312 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009064/0.571, allocations: 0.7953 MB / 0.7683 GB, free: 1.508 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.571, allocations: 0 / 0.7683 GB, free: 1.508 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009895/0.572, allocations: 411.4 kB / 0.7687 GB, free: 1.105 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.001303/0.5733, allocations: 1.235 MB / 0.7699 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001278/0.5746, allocations: 0.8363 MB / 0.7707 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5746, allocations: 0 / 0.7707 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003538/0.575, allocations: 203.7 kB / 0.7709 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002195/0.5772, allocations: 463.9 kB / 0.7714 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01246/0.5896, allocations: 8.839 MB / 0.78 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006738/0.5903, allocations: 1.177 MB / 0.7812 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001/0.5913, allocations: 423.6 kB / 0.7816 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003923/0.5917, allocations: 327.3 kB / 0.7819 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of SimCode: time 7.01e-07/0.5917, allocations: 0 / 0.7819 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.21/1.802, allocations: 24.92 MB / 0.8062 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002905/1.802, allocations: 254.1 kB / 0.8064 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.597/4.399, allocations: 0 / 0.8064 GB, free: 10.36 MB / 0.6387 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)