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.0009932/0.0009932, allocations: 92.31 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.001266/0.001266, 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.358/1.358, allocations: 223.3 MB / 240 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7159/0.7159, allocations: 132.3 MB / 423.4 MB, free: 2.062 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003308/0.0003309, allocations: 8.75 kB / 0.5035 GB, free: 4.125 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.395/0.3954, allocations: 81.57 MB / 0.5832 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.1604/0.5559, allocations: 146.7 MB / 0.7265 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004572/0.5605, allocations: 3.36 MB / 0.7297 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004259/0.5609, allocations: 7.938 kB / 0.7297 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005206/0.5615, allocations: 115.2 kB / 0.7299 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001152/0.5626, allocations: 400.5 kB / 0.7302 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0011/0.5637, allocations: 367.6 kB / 0.7306 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002897/0.5667, allocations: 3.002 MB / 0.7335 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001073/0.5677, allocations: 0.699 MB / 0.7342 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001547/0.5693, allocations: 0.8675 MB / 0.7351 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001083/0.5704, allocations: 0.704 MB / 0.7357 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001644/0.5706, allocations: 36 kB / 0.7358 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00118/0.5718, allocations: 0.5535 MB / 0.7363 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003341/0.5721, allocations: 278.9 kB / 0.7366 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003396/0.5724, allocations: 241.1 kB / 0.7368 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001136/0.5736, allocations: 1.017 MB / 0.7378 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.5736, allocations: 0 / 0.7378 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5736, allocations: 0 / 0.7378 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.861e-05/0.5737, allocations: 0 / 0.7378 GB, free: 1.746 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.002084/0.5757, allocations: 1.307 MB / 0.7391 GB, free: 388 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.5758, allocations: 12.03 kB / 0.7391 GB, free: 376 kB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000134/0.5759, allocations: 94.52 kB / 0.7392 GB, free: 272 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007533/0.5767, allocations: 190.4 kB / 0.7394 GB, free: 80 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001361/0.5781, allocations: 0.7963 MB / 0.7401 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.815e-05/0.5781, allocations: 56.91 kB / 0.7402 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.224e-05/0.5782, allocations: 60 kB / 0.7403 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001196/0.5794, allocations: 0.7888 MB / 0.741 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.5794, allocations: 7.938 kB / 0.741 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.128e-05/0.5795, allocations: 20 kB / 0.741 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.5795, allocations: 16 kB / 0.7411 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009336/0.5805, allocations: 0.5383 MB / 0.7416 GB, free: 13.67 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.003915/0.5844, allocations: 4.599 MB / 0.7461 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007073/0.5851, allocations: 438.3 kB / 0.7465 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003768/0.5855, allocations: 248.7 kB / 0.7467 GB, free: 8 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002777/0.5858, allocations: 198.2 kB / 0.7469 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004834/0.5863, allocations: 301 kB / 0.7472 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.124e-06/0.5863, allocations: 0 / 0.7472 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.003579/0.5899, allocations: 1.342 MB / 0.7485 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.5899, allocations: 85.11 kB / 0.7486 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001295/0.5912, allocations: 1.11 MB / 0.7497 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.481e-05/0.5913, allocations: 37.7 kB / 0.7497 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003703/0.5917, allocations: 496.1 kB / 0.7502 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.145e-05/0.5918, allocations: 118.5 kB / 0.7503 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.313e-05/0.5918, allocations: 8 kB / 0.7503 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.5919, allocations: 322 kB / 0.7506 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003225/0.5922, allocations: 188.7 kB / 0.7508 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005323/0.5928, allocations: 0.4979 MB / 0.7513 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004129/0.5932, allocations: 295.1 kB / 0.7516 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.5932, allocations: 0 / 0.7516 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002015/0.5952, allocations: 0.9832 MB / 0.7525 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001628/0.5954, allocations: 274 kB / 0.7528 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.5954, allocations: 8 kB / 0.7528 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00122/0.5967, allocations: 330.5 kB / 0.7531 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002101/0.5969, allocations: 63.84 kB / 0.7532 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009392/0.5978, allocations: 1.017 MB / 0.7542 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006898/0.5985, allocations: 103.4 kB / 0.7543 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.382e-05/0.5986, allocations: 27.98 kB / 0.7543 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.534e-06/0.5986, allocations: 4 kB / 0.7543 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001247/0.5999, allocations: 0.7361 MB / 0.755 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.5999, allocations: 8 kB / 0.755 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004838/0.6004, allocations: 216.7 kB / 0.7552 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002014/0.6006, allocations: 63.91 kB / 0.7553 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003457/0.6041, allocations: 3.114 MB / 0.7583 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006928/0.6048, allocations: 99.45 kB / 0.7584 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.375e-05/0.6048, allocations: 23.98 kB / 0.7585 GB, free: 11.43 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 ($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 (34): * Single equations (assignments): 32 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.0005201/0.6053, allocations: 473.8 kB / 0.7589 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001745/0.6055, allocations: 106.7 kB / 0.759 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001273/0.6068, allocations: 0.7065 MB / 0.7597 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/0.6068, allocations: 4 kB / 0.7597 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.285e-06/0.6068, allocations: 0 / 0.7597 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.6068, allocations: 7.938 kB / 0.7597 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002314/0.6092, allocations: 1.611 MB / 0.7613 GB, free: 8.434 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.6092, allocations: 224 / 0.7613 GB, free: 8.434 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.6093, allocations: 35.91 kB / 0.7613 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004366/0.6097, allocations: 220.7 kB / 0.7615 GB, free: 8.18 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.26e-05/0.6098, allocations: 8 kB / 0.7615 GB, free: 8.172 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008317/0.6106, allocations: 0.9829 MB / 0.7625 GB, free: 7.164 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.6106, allocations: 4.031 kB / 0.7625 GB, free: 7.16 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001149/0.6118, allocations: 0.8385 MB / 0.7633 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003236/0.6121, allocations: 219.8 kB / 0.7635 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001291/0.6123, allocations: 8 kB / 0.7635 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005234/0.6128, allocations: 63.78 kB / 0.7636 GB, free: 5.977 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.767e-05/0.6129, allocations: 27.95 kB / 0.7636 GB, free: 5.949 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.108e-05/0.6129, allocations: 16 kB / 0.7636 GB, free: 5.934 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000953/0.6139, allocations: 0.7916 MB / 0.7644 GB, free: 5.133 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6139, allocations: 0 / 0.7644 GB, free: 5.133 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001217/0.6151, allocations: 447.4 kB / 0.7648 GB, free: 4.695 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001482/0.6166, allocations: 1.367 MB / 0.7662 GB, free: 3.281 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001745/0.6184, allocations: 1.051 MB / 0.7672 GB, free: 2.199 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.6184, allocations: 4.062 kB / 0.7672 GB, free: 2.195 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004667/0.6189, allocations: 238.5 kB / 0.7674 GB, free: 1.961 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00183/0.6207, allocations: 466.5 kB / 0.7679 GB, free: 1.516 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01127/0.632, allocations: 6.575 MB / 0.7743 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007794/0.6328, allocations: 1.181 MB / 0.7754 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008996/0.6337, allocations: 323.6 kB / 0.7758 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003549/0.6341, allocations: 311.3 kB / 0.7761 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of SimCode: time 6.41e-07/0.6341, allocations: 0 / 0.7761 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04527/0.6793, allocations: 27.98 MB / 0.8034 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001936/0.6796, allocations: 262.5 kB / 0.8036 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.267/2.946, allocations: 0 / 0.8036 GB, free: 12.96 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/linux/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) Environment - environmentSimulation: