Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.SeriesDpOptimised,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,fileNamePrefix="IDEAS_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.001125/0.001125, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009004/0.009004, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.34/1.34, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7474/0.7474, allocations: 132.3 MB / 423.7 MB, free: 1.992 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002898/0.0002899, allocations: 12.56 kB / 0.5041 GB, free: 3.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3295, allocations: 81.58 MB / 0.5837 GB, free: 3.895 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.1591/0.4887, allocations: 157.3 MB / 0.7374 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004214/0.4929, allocations: 3.578 MB / 0.7409 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002107/0.4931, allocations: 15.88 kB / 0.7409 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003997/0.4936, allocations: 135.2 kB / 0.741 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001049/0.4946, allocations: 0.4902 MB / 0.7415 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008974/0.4955, allocations: 397.4 kB / 0.7419 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002934/0.4985, allocations: 3.493 MB / 0.7453 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008299/0.4993, allocations: 0.7465 MB / 0.746 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001211/0.5005, allocations: 0.9025 MB / 0.7469 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007178/0.5013, allocations: 0.7155 MB / 0.7476 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.871e-05/0.5013, allocations: 35.94 kB / 0.7476 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001135/0.5025, allocations: 0.8029 MB / 0.7484 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000248/0.5027, allocations: 282.9 kB / 0.7487 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004664/0.5032, allocations: 0.5262 MB / 0.7492 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001213/0.5044, allocations: 1.374 MB / 0.7505 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.5044, allocations: 0 / 0.7505 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.242e-06/0.5045, allocations: 0 / 0.7505 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.358e-06/0.5045, allocations: 4 kB / 0.7505 GB, free: 4.934 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.00167/0.5061, allocations: 1.264 MB / 0.7518 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.5062, allocations: 16.03 kB / 0.7518 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.789e-05/0.5063, allocations: 94.52 kB / 0.7519 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006611/0.507, allocations: 186.4 kB / 0.752 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/0.508, allocations: 0.7984 MB / 0.7528 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.575e-05/0.508, allocations: 45 kB / 0.7529 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.4e-05/0.5081, allocations: 64 kB / 0.7529 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.5092, allocations: 0.7926 MB / 0.7537 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.5092, allocations: 3.938 kB / 0.7537 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.755e-05/0.5092, allocations: 24 kB / 0.7537 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.5093, allocations: 16 kB / 0.7537 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008519/0.5101, allocations: 0.5423 MB / 0.7543 GB, free: 0.8984 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.003393/0.5135, allocations: 4.603 MB / 0.7588 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006539/0.5142, allocations: 426.2 kB / 0.7592 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003624/0.5146, allocations: 252.7 kB / 0.7594 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002382/0.5148, allocations: 190.2 kB / 0.7596 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004422/0.5153, allocations: 305.1 kB / 0.7599 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=31): time 3.847e-06/0.5153, allocations: 3.984 kB / 0.7599 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31): time 0.003573/0.5189, allocations: 1.346 MB / 0.7612 GB, free: 9.32 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.5189, allocations: 85.11 kB / 0.7613 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/0.5201, allocations: 1.118 MB / 0.7624 GB, free: 8.082 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.289e-05/0.5201, allocations: 37.7 kB / 0.7624 GB, free: 8.039 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003557/0.5205, allocations: 492.1 kB / 0.7629 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.915e-05/0.5206, allocations: 110.4 kB / 0.763 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.012e-05/0.5206, allocations: 45.69 kB / 0.763 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.39e-05/0.5207, allocations: 322 kB / 0.7633 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000351/0.5211, allocations: 216.7 kB / 0.7635 GB, free: 6.859 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005607/0.5217, allocations: 0.5175 MB / 0.7641 GB, free: 6.207 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008199/0.5225, allocations: 0.6409 MB / 0.7647 GB, free: 5.488 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.5225, allocations: 4 kB / 0.7647 GB, free: 5.484 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002112/0.5246, allocations: 1.041 MB / 0.7657 GB, free: 4.426 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001567/0.5248, allocations: 295 kB / 0.766 GB, free: 4.055 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.5248, allocations: 8 kB / 0.766 GB, free: 4.047 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001281/0.5261, allocations: 354.3 kB / 0.7663 GB, free: 3.699 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00021/0.5263, allocations: 67.91 kB / 0.7664 GB, free: 3.633 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008725/0.5272, allocations: 1.016 MB / 0.7674 GB, free: 2.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006386/0.5279, allocations: 99.44 kB / 0.7675 GB, free: 2.492 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.567e-05/0.5279, allocations: 27.98 kB / 0.7675 GB, free: 2.465 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.432e-06/0.5279, allocations: 4 kB / 0.7675 GB, free: 2.461 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001296/0.5292, allocations: 0.7282 MB / 0.7682 GB, free: 1.723 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.5292, allocations: 4 kB / 0.7682 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004698/0.5297, allocations: 206.2 kB / 0.7684 GB, free: 1.516 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001962/0.5299, allocations: 75.98 kB / 0.7685 GB, free: 1.441 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003248/0.5332, allocations: 3.08 MB / 0.7715 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006009/0.5338, allocations: 91.62 kB / 0.7716 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.437e-05/0.5338, allocations: 24 kB / 0.7716 GB, free: 14.09 MB / 0.6075 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.0004636/0.5343, allocations: 465 kB / 0.7721 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.5344, allocations: 102.7 kB / 0.7722 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0012/0.5356, allocations: 0.7219 MB / 0.7729 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.5356, allocations: 4 kB / 0.7729 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.664e-06/0.5357, allocations: 0 / 0.7729 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.5357, allocations: 0 / 0.7729 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002164/0.5378, allocations: 1.611 MB / 0.7744 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.5378, allocations: 4 kB / 0.7744 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.538, allocations: 28.2 kB / 0.7745 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004297/0.5384, allocations: 232.6 kB / 0.7747 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.067e-05/0.5384, allocations: 8 kB / 0.7747 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007901/0.5392, allocations: 0.988 MB / 0.7757 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.5392, allocations: 4.031 kB / 0.7757 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.5404, allocations: 0.8266 MB / 0.7765 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002503/0.5406, allocations: 219.8 kB / 0.7767 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.992e-05/0.5407, allocations: 8 kB / 0.7767 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004845/0.5412, allocations: 51.89 kB / 0.7767 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.585e-05/0.5413, allocations: 35.89 kB / 0.7768 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/0.5413, allocations: 8 kB / 0.7768 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0008596/0.5422, allocations: 0.7994 MB / 0.7776 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5422, allocations: 0 / 0.7776 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001047/0.5432, allocations: 435.4 kB / 0.778 GB, free: 7.379 MB / 0.6075 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.001433/0.5447, allocations: 1.395 MB / 0.7793 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001634/0.5463, allocations: 1.079 MB / 0.7804 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.5463, allocations: 0.5625 kB / 0.7804 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004573/0.5468, allocations: 234.6 kB / 0.7806 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002107/0.5489, allocations: 456.4 kB / 0.7811 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01377/0.5627, allocations: 9.484 MB / 0.7903 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006298/0.5633, allocations: 1.184 MB / 0.7915 GB, free: 9.02 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007846/0.5641, allocations: 307.9 kB / 0.7918 GB, free: 8.715 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000343/0.5645, allocations: 311.3 kB / 0.7921 GB, free: 8.41 MB / 0.6231 GB Notification: Performance of SimCode: time 3.91e-07/0.5645, allocations: 0 / 0.7921 GB, free: 8.41 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.773/2.338, allocations: 27.43 MB / 0.8189 GB, free: 216.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001728/2.338, allocations: 279.2 kB / 0.8191 GB, free: 216.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.407/4.745, allocations: 0.7188 kB / 0.8191 GB, free: 216.5 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)