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.001704/0.001704, allocations: 102.8 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.002041/0.002041, allocations: 173.3 kB / 15.95 MB, free: 212 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.38/2.38, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.235/1.235, allocations: 132.3 MB / 423.2 MB, free: 2.184 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005304/0.0005305, allocations: 12.75 kB / 0.5033 GB, free: 4.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7172/0.7178, allocations: 81.58 MB / 0.583 GB, free: 4.035 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.2889/1.007, allocations: 135.7 MB / 0.7155 GB, free: 8.539 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004888/1.012, allocations: 1.665 MB / 0.7171 GB, free: 6.871 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004755/1.012, allocations: 15.88 kB / 0.7171 GB, free: 6.855 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009963/1.013, allocations: 183.1 kB / 0.7173 GB, free: 6.676 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00247/1.016, allocations: 0.4947 MB / 0.7178 GB, free: 6.18 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002221/1.018, allocations: 416.3 kB / 0.7182 GB, free: 5.781 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003316/1.021, allocations: 1.493 MB / 0.7197 GB, free: 4.285 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001815/1.023, allocations: 0.707 MB / 0.7204 GB, free: 3.57 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002219/1.025, allocations: 0.6929 MB / 0.721 GB, free: 2.875 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001601/1.027, allocations: 493.9 kB / 0.7215 GB, free: 2.391 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001903/1.027, allocations: 36 kB / 0.7215 GB, free: 2.355 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001868/1.029, allocations: 415.3 kB / 0.7219 GB, free: 1.949 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004646/1.03, allocations: 259.1 kB / 0.7222 GB, free: 1.695 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005526/1.03, allocations: 229.1 kB / 0.7224 GB, free: 1.465 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002081/1.032, allocations: 0.9626 MB / 0.7233 GB, free: 0.5 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.08e-05/1.032, allocations: 0 / 0.7233 GB, free: 0.5 MB / 0.545 GB Notification: Performance of FrontEnd: time 4.058e-06/1.032, allocations: 3.938 kB / 0.7233 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.339e-05/1.032, allocations: 4 kB / 0.7233 GB, free: 0.4922 MB / 0.545 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.004302/1.037, allocations: 1.284 MB / 0.7246 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.585e-05/1.037, allocations: 8.031 kB / 0.7246 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002765/1.037, allocations: 94.52 kB / 0.7247 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001518/1.039, allocations: 182.5 kB / 0.7249 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002892/1.042, allocations: 0.7999 MB / 0.7257 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.25e-05/1.042, allocations: 49 kB / 0.7257 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001927/1.042, allocations: 56 kB / 0.7258 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002206/1.044, allocations: 0.7927 MB / 0.7265 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.776e-05/1.044, allocations: 3.938 kB / 0.7265 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001405/1.044, allocations: 24 kB / 0.7266 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.307e-05/1.044, allocations: 15.94 kB / 0.7266 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001819/1.046, allocations: 0.5423 MB / 0.7271 GB, free: 12.45 MB / 0.5606 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.008105/1.054, allocations: 4.595 MB / 0.7316 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001377/1.056, allocations: 431.8 kB / 0.732 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.849e-05/1.056, allocations: 19.97 kB / 0.732 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009512/1.057, allocations: 305.7 kB / 0.7323 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 4.439e-06/1.057, allocations: 4 kB / 0.7323 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.002693/1.06, allocations: 0.6447 MB / 0.7329 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001322/1.06, allocations: 110.8 kB / 0.733 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002812/1.063, allocations: 1.117 MB / 0.7341 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001155/1.063, allocations: 33.7 kB / 0.7342 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007668/1.063, allocations: 496.1 kB / 0.7346 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001946/1.064, allocations: 106.5 kB / 0.7347 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.25e-05/1.064, allocations: 8.219 kB / 0.7348 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001914/1.064, allocations: 330 kB / 0.7351 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006248/1.065, allocations: 184.7 kB / 0.7352 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00102/1.066, allocations: 0.494 MB / 0.7357 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007835/1.066, allocations: 296 kB / 0.736 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-06/1.066, allocations: 4 kB / 0.736 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002179/1.069, allocations: 0.6787 MB / 0.7367 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.001403/1.07, allocations: 2.129 MB / 0.7388 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.42e-05/1.07, allocations: 8 kB / 0.7388 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.137e-05/1.07, allocations: 8 kB / 0.7388 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00079/1.071, allocations: 115.8 kB / 0.7389 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.051e-05/1.071, allocations: 11.98 kB / 0.7389 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001697/1.073, allocations: 107.3 kB / 0.739 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/1.073, allocations: 27.98 kB / 0.739 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/1.073, allocations: 4 kB / 0.739 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001691/1.075, allocations: 0.5454 MB / 0.7396 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-05/1.075, allocations: 8.125 kB / 0.7396 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/1.075, allocations: 8 kB / 0.7396 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006792/1.075, allocations: 107.8 kB / 0.7397 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.973e-05/1.075, allocations: 8 kB / 0.7397 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001507/1.077, allocations: 99.56 kB / 0.7398 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.561e-05/1.077, allocations: 20 kB / 0.7398 GB, free: 14.63 MB / 0.5762 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 (53): * Single equations (assignments): 52 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001117/1.078, allocations: 476.7 kB / 0.7402 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003633/1.078, allocations: 98.78 kB / 0.7403 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001579/1.08, allocations: 481.6 kB / 0.7408 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/1.08, allocations: 8 kB / 0.7408 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/1.08, allocations: 0 / 0.7408 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.067e-05/1.08, allocations: 11.94 kB / 0.7408 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00297/1.083, allocations: 1.095 MB / 0.7419 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/1.083, allocations: 4 kB / 0.7419 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004827/1.084, allocations: 67.84 kB / 0.742 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.799e-05/1.084, allocations: 4 kB / 0.742 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.875e-05/1.084, allocations: 8 kB / 0.742 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.131e-05/1.084, allocations: 4 kB / 0.742 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/1.084, allocations: 3.938 kB / 0.742 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001617/1.085, allocations: 0.6386 MB / 0.7426 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007161/1.086, allocations: 219.8 kB / 0.7428 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001933/1.086, allocations: 8 kB / 0.7428 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008609/1.087, allocations: 59.73 kB / 0.7429 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/1.087, allocations: 31.95 kB / 0.7429 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-05/1.087, allocations: 8 kB / 0.7429 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001822/1.089, allocations: 0.7875 MB / 0.7437 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.11e-07/1.089, allocations: 0 / 0.7437 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002319/1.092, allocations: 411.4 kB / 0.7441 GB, free: 10.04 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003177/1.095, allocations: 1.73 MB / 0.7458 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002516/1.097, allocations: 0.8016 MB / 0.7465 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/1.097, allocations: 4 kB / 0.7466 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007148/1.098, allocations: 207.7 kB / 0.7468 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003947/1.102, allocations: 467.2 kB / 0.7472 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0252/1.127, allocations: 9.532 MB / 0.7565 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001293/1.129, allocations: 1.204 MB / 0.7577 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00235/1.131, allocations: 423.5 kB / 0.7581 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008934/1.132, allocations: 327.3 kB / 0.7584 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of SimCode: time 1.523e-06/1.132, allocations: 0 / 0.7584 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08085/1.213, allocations: 25.49 MB / 0.7833 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003491/1.213, allocations: 239.8 kB / 0.7835 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.6/4.813, allocations: 0 / 0.7835 GB, free: 1.645 MB / 0.6075 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/linux/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) Environment - environmentSimulation: