Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",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.0007602/0.0007603, allocations: 98.27 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.004528/0.004528, allocations: 171.1 kB / 16.27 MB, free: 6.652 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.262/1.262, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9128/0.9128, allocations: 135.3 MB / 426.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000291/0.000291, allocations: 13.16 kB / 0.5077 GB, free: 4.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1369, allocations: 82.3 MB / 0.5881 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.3731/0.51, allocations: 157.3 MB / 0.7417 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004625/0.5147, allocations: 3.593 MB / 0.7452 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002639/0.515, allocations: 14.16 kB / 0.7452 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004424/0.5155, allocations: 131.5 kB / 0.7453 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001084/0.5166, allocations: 0.4943 MB / 0.7458 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000948/0.5175, allocations: 397.2 kB / 0.7462 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00301/0.5205, allocations: 3.487 MB / 0.7496 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008327/0.5214, allocations: 0.7522 MB / 0.7503 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001227/0.5226, allocations: 0.9021 MB / 0.7512 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007012/0.5233, allocations: 0.7246 MB / 0.7519 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.695e-05/0.5234, allocations: 33.78 kB / 0.7519 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001172/0.5246, allocations: 0.799 MB / 0.7527 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000242/0.5248, allocations: 276.8 kB / 0.753 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004533/0.5253, allocations: 0.5369 MB / 0.7535 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001261/0.5266, allocations: 1.364 MB / 0.7548 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.5266, allocations: 0 / 0.7548 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5266, allocations: 0 / 0.7548 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.02e-05/0.5266, allocations: 4 kB / 0.7548 GB, free: 1.688 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.001799/0.5284, allocations: 1.268 MB / 0.7561 GB, free: 372 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.5284, allocations: 12.03 kB / 0.7561 GB, free: 360 kB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001077/0.5286, allocations: 94.52 kB / 0.7562 GB, free: 256 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006919/0.5293, allocations: 186.4 kB / 0.7564 GB, free: 68 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/0.5304, allocations: 0.8023 MB / 0.7571 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.728e-05/0.5304, allocations: 45 kB / 0.7572 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.421e-05/0.5305, allocations: 60 kB / 0.7572 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/0.5316, allocations: 0.7926 MB / 0.758 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.5316, allocations: 4 kB / 0.758 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.658e-05/0.5317, allocations: 23.94 kB / 0.758 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.604e-05/0.5317, allocations: 23.62 kB / 0.7581 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008913/0.5326, allocations: 0.5461 MB / 0.7586 GB, free: 13.64 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.003686/0.5363, allocations: 4.595 MB / 0.7631 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000713/0.537, allocations: 424 kB / 0.7635 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003922/0.5374, allocations: 254.4 kB / 0.7637 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002711/0.5377, allocations: 194.2 kB / 0.7639 GB, free: 7.766 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004781/0.5382, allocations: 302.1 kB / 0.7642 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 1.733e-06/0.5382, allocations: 0 / 0.7642 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.00384/0.5421, allocations: 1.347 MB / 0.7655 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.859e-05/0.5421, allocations: 85.11 kB / 0.7656 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001282/0.5434, allocations: 1.122 MB / 0.7667 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.582e-05/0.5435, allocations: 37.69 kB / 0.7667 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003997/0.5439, allocations: 497.1 kB / 0.7672 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.951e-05/0.544, allocations: 102.5 kB / 0.7673 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.163e-05/0.5441, allocations: 45.69 kB / 0.7673 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.5442, allocations: 322 kB / 0.7677 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000374/0.5446, allocations: 220.7 kB / 0.7679 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005839/0.5451, allocations: 0.5175 MB / 0.7684 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008564/0.546, allocations: 0.6376 MB / 0.769 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.546, allocations: 4 kB / 0.769 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002221/0.5483, allocations: 1.05 MB / 0.77 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001606/0.5484, allocations: 279.1 kB / 0.7703 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.5484, allocations: 4.5 kB / 0.7703 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00136/0.5498, allocations: 366.3 kB / 0.7706 GB, free: 476 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002147/0.55, allocations: 67.84 kB / 0.7707 GB, free: 408 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009555/0.551, allocations: 1.011 MB / 0.7717 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006387/0.5517, allocations: 99.44 kB / 0.7718 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-05/0.5517, allocations: 27.98 kB / 0.7718 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.472e-06/0.5517, allocations: 4 kB / 0.7718 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001339/0.5531, allocations: 0.733 MB / 0.7725 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.5531, allocations: 11.94 kB / 0.7725 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004838/0.5536, allocations: 203 kB / 0.7727 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002088/0.5538, allocations: 76 kB / 0.7728 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003418/0.5572, allocations: 3.077 MB / 0.7758 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005758/0.5578, allocations: 91.56 kB / 0.7759 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.629e-05/0.5579, allocations: 24 kB / 0.7759 GB, free: 10.86 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0004368/0.5583, allocations: 463 kB / 0.7764 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.5584, allocations: 102.8 kB / 0.7765 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001262/0.5597, allocations: 0.7296 MB / 0.7772 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.5597, allocations: 0 / 0.7772 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.5597, allocations: 4 kB / 0.7772 GB, free: 9.555 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.5597, allocations: 7.922 kB / 0.7772 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002234/0.562, allocations: 1.607 MB / 0.7788 GB, free: 7.859 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.562, allocations: 224 / 0.7788 GB, free: 7.859 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.5621, allocations: 27.98 kB / 0.7788 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004754/0.5626, allocations: 232.6 kB / 0.779 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.328e-05/0.5626, allocations: 11.94 kB / 0.779 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009058/0.5635, allocations: 0.9792 MB / 0.78 GB, free: 6.586 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.5636, allocations: 0 / 0.78 GB, free: 6.586 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001243/0.5648, allocations: 0.8369 MB / 0.7808 GB, free: 5.707 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002728/0.5651, allocations: 219.8 kB / 0.781 GB, free: 5.473 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.448e-05/0.5652, allocations: 8 kB / 0.781 GB, free: 5.465 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004783/0.5657, allocations: 51.89 kB / 0.7811 GB, free: 5.414 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.567e-05/0.5658, allocations: 31.89 kB / 0.7811 GB, free: 5.383 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-05/0.5658, allocations: 8 kB / 0.7811 GB, free: 5.375 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009386/0.5667, allocations: 0.7994 MB / 0.7819 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5667, allocations: 0 / 0.7819 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001077/0.5678, allocations: 435.4 kB / 0.7823 GB, free: 4.141 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 (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001539/0.5694, allocations: 1.386 MB / 0.7837 GB, free: 2.711 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001763/0.5712, allocations: 1.083 MB / 0.7847 GB, free: 1.59 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5712, allocations: 0.5625 kB / 0.7847 GB, free: 1.59 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004937/0.5717, allocations: 234.6 kB / 0.7849 GB, free: 1.359 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002247/0.5739, allocations: 465.9 kB / 0.7854 GB, free: 0.918 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01488/0.5888, allocations: 9.487 MB / 0.7946 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006611/0.5895, allocations: 1.181 MB / 0.7958 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007721/0.5903, allocations: 307.8 kB / 0.7961 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006308/0.5909, allocations: 311.3 kB / 0.7964 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of SimCode: time 1.082e-06/0.591, allocations: 0 / 0.7964 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4351/1.026, allocations: 27.44 MB / 0.8232 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003666/1.026, allocations: 300.5 kB / 0.8235 GB, free: 9.785 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.487/3.514, allocations: 0 / 0.8235 GB, free: 9.785 MB / 0.6387 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)