Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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.SeriesFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlow",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.0008397/0.0008398, 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.004952/0.004952, allocations: 168.7 kB / 16.26 MB, free: 6.68 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.308/1.308, allocations: 223.3 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.753/0.753, allocations: 132.3 MB / 423.7 MB, free: 2.004 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00028/0.00028, allocations: 12 kB / 0.5041 GB, free: 3.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.325, allocations: 81.58 MB / 0.5837 GB, free: 3.891 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.1472/0.4722, allocations: 157.3 MB / 0.7374 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002561/0.4748, allocations: 1.764 MB / 0.7391 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002411/0.475, allocations: 7.938 kB / 0.7391 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004136/0.4755, allocations: 135.2 kB / 0.7392 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00102/0.4765, allocations: 0.4902 MB / 0.7397 GB, free: 96 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008343/0.4773, allocations: 348.7 kB / 0.74 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00279/0.4801, allocations: 3.479 MB / 0.7434 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007571/0.4809, allocations: 0.7426 MB / 0.7441 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001056/0.482, allocations: 0.8986 MB / 0.745 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006646/0.4826, allocations: 0.7194 MB / 0.7457 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.718e-05/0.4827, allocations: 32 kB / 0.7458 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001014/0.4837, allocations: 0.8068 MB / 0.7465 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002291/0.484, allocations: 278.9 kB / 0.7468 GB, free: 8.773 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004273/0.4844, allocations: 0.5262 MB / 0.7473 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00113/0.4855, allocations: 1.366 MB / 0.7487 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.4856, allocations: 0 / 0.7487 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.062e-06/0.4856, allocations: 0 / 0.7487 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.491e-05/0.4856, allocations: 0 / 0.7487 GB, free: 6.867 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.001676/0.4873, allocations: 1.272 MB / 0.7499 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.4873, allocations: 8.031 kB / 0.7499 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.139e-05/0.4874, allocations: 94.52 kB / 0.75 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006477/0.4881, allocations: 190.5 kB / 0.7502 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009724/0.489, allocations: 0.7982 MB / 0.751 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.502e-05/0.4891, allocations: 49 kB / 0.751 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.498e-05/0.4892, allocations: 60 kB / 0.7511 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.4902, allocations: 0.7927 MB / 0.7518 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.4902, allocations: 3.938 kB / 0.7518 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.722e-05/0.4903, allocations: 24 kB / 0.7519 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.4903, allocations: 15.94 kB / 0.7519 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008313/0.4911, allocations: 0.55 MB / 0.7524 GB, free: 2.82 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.003197/0.4943, allocations: 4.595 MB / 0.7569 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006396/0.495, allocations: 429.7 kB / 0.7573 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003548/0.4953, allocations: 252.7 kB / 0.7576 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002371/0.4956, allocations: 190.2 kB / 0.7577 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004307/0.496, allocations: 297.1 kB / 0.758 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=31): time 1.443e-06/0.496, allocations: 0 / 0.758 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31): time 0.001168/0.4972, allocations: 0.6546 MB / 0.7587 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/0.4973, allocations: 89.03 kB / 0.7587 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001127/0.4984, allocations: 1.118 MB / 0.7598 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.031e-05/0.4985, allocations: 37.7 kB / 0.7599 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003364/0.4988, allocations: 496 kB / 0.7603 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.482e-05/0.4989, allocations: 110.5 kB / 0.7605 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.028e-05/0.4989, allocations: 45.7 kB / 0.7605 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 8.647e-05/0.499, allocations: 326 kB / 0.7608 GB, free: 9.715 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003408/0.4994, allocations: 208.7 kB / 0.761 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000536/0.4999, allocations: 0.5213 MB / 0.7615 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008012/0.5007, allocations: 0.6448 MB / 0.7621 GB, free: 8.133 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.5008, allocations: 4 kB / 0.7621 GB, free: 8.129 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001041/0.5018, allocations: 0.7287 MB / 0.7629 GB, free: 7.387 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001395/0.5019, allocations: 275.1 kB / 0.7631 GB, free: 7.035 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.502, allocations: 11.98 kB / 0.7631 GB, free: 7.023 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.502, allocations: 8 kB / 0.7631 GB, free: 7.016 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001665/0.5037, allocations: 355.5 kB / 0.7635 GB, free: 6.668 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002795/0.5065, allocations: 6.083 MB / 0.7694 GB, free: 360 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000585/0.5071, allocations: 96 kB / 0.7695 GB, free: 264 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.451e-05/0.5071, allocations: 27.98 kB / 0.7695 GB, free: 236 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.082e-06/0.5071, allocations: 8 kB / 0.7695 GB, free: 228 kB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008235/0.508, allocations: 0.5437 MB / 0.7701 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.508, allocations: 8 kB / 0.7701 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.973e-06/0.508, allocations: 8 kB / 0.7701 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004991/0.5085, allocations: 156.4 kB / 0.7702 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.5085, allocations: 4 kB / 0.7702 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005434/0.5091, allocations: 95.52 kB / 0.7703 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.304e-05/0.5091, allocations: 24 kB / 0.7704 GB, free: 15.38 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 (53): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004001/0.5095, allocations: 473.3 kB / 0.7708 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.697e-05/0.5096, allocations: 106.8 kB / 0.7709 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007936/0.5104, allocations: 499 kB / 0.7714 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.5104, allocations: 4 kB / 0.7714 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/0.5104, allocations: 8 kB / 0.7714 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.5104, allocations: 3.984 kB / 0.7714 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001706/0.5122, allocations: 1.391 MB / 0.7728 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.5122, allocations: 3.984 kB / 0.7728 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005483/0.5127, allocations: 147.8 kB / 0.7729 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.002e-06/0.5127, allocations: 3.938 kB / 0.7729 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.055e-05/0.5128, allocations: 20.16 kB / 0.7729 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002379/0.5152, allocations: 6.028 MB / 0.7788 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.5152, allocations: 4 kB / 0.7788 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007251/0.5159, allocations: 0.5999 MB / 0.7794 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002321/0.5161, allocations: 231.6 kB / 0.7796 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.497e-05/0.5162, allocations: 8 kB / 0.7796 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004258/0.5167, allocations: 51.89 kB / 0.7797 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.552e-05/0.5168, allocations: 23.97 kB / 0.7797 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/0.5168, allocations: 11.98 kB / 0.7797 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0008331/0.5176, allocations: 0.7914 MB / 0.7805 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5176, allocations: 0 / 0.7805 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008958/0.5185, allocations: 411.4 kB / 0.7809 GB, free: 4.211 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 (31): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001197/0.5197, allocations: 1.231 MB / 0.7821 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002697/0.5224, allocations: 1.109 MB / 0.7832 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5225, allocations: 0 / 0.7832 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00073/0.5232, allocations: 308.1 kB / 0.7835 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002078/0.5253, allocations: 451.6 kB / 0.7839 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01161/0.5369, allocations: 8.894 MB / 0.7926 GB, free: 7.75 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006136/0.5375, allocations: 1.177 MB / 0.7937 GB, free: 6.543 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008388/0.5384, allocations: 383.7 kB / 0.7941 GB, free: 6.164 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003372/0.5387, allocations: 319.3 kB / 0.7944 GB, free: 5.852 MB / 0.6231 GB Notification: Performance of SimCode: time 3.21e-07/0.5387, allocations: 0 / 0.7944 GB, free: 5.852 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.173/2.712, allocations: 25.81 MB / 0.8196 GB, free: 217.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002401/2.712, allocations: 267.6 kB / 0.8199 GB, free: 217.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.472/5.184, allocations: 3.25 kB / 0.8199 GB, free: 217.4 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlow.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)