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.002002/0.002002, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.002137/0.002137, allocations: 177.3 kB / 15.94 MB, free: 228 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.563/2.563, allocations: 223.2 MB / 239.9 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 1.276/1.276, allocations: 132.3 MB / 423.2 MB, free: 2.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006761/0.0006763, allocations: 8 kB / 0.5033 GB, free: 4.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6552/0.6559, allocations: 81.58 MB / 0.583 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.2814/0.9373, allocations: 135.7 MB / 0.7155 GB, free: 8.574 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00922/0.9466, allocations: 3.107 MB / 0.7185 GB, free: 5.465 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005873/0.9473, allocations: 11.88 kB / 0.7185 GB, free: 5.453 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001154/0.9484, allocations: 183.2 kB / 0.7187 GB, free: 5.273 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002811/0.9513, allocations: 0.4986 MB / 0.7192 GB, free: 4.773 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002302/0.9536, allocations: 458.2 kB / 0.7196 GB, free: 4.336 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003162/0.9568, allocations: 1.505 MB / 0.7211 GB, free: 2.828 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001619/0.9584, allocations: 0.7069 MB / 0.7218 GB, free: 2.109 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001703/0.9601, allocations: 0.7007 MB / 0.7225 GB, free: 1.406 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008981/0.9611, allocations: 497.8 kB / 0.723 GB, free: 0.918 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001205/0.9612, allocations: 32 kB / 0.723 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00141/0.9626, allocations: 415.4 kB / 0.7234 GB, free: 492 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002987/0.9629, allocations: 259.1 kB / 0.7236 GB, free: 232 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003419/0.9633, allocations: 233.2 kB / 0.7239 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001179/0.9645, allocations: 0.9665 MB / 0.7248 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.9645, allocations: 0 / 0.7248 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.927e-06/0.9645, allocations: 4 kB / 0.7248 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.878e-05/0.9645, allocations: 0 / 0.7248 GB, free: 15.02 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.002482/0.967, allocations: 1.291 MB / 0.7261 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.9671, allocations: 8.031 kB / 0.7261 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001339/0.9672, allocations: 94.52 kB / 0.7262 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008419/0.9681, allocations: 190.4 kB / 0.7263 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00235/0.9704, allocations: 0.8001 MB / 0.7271 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.375e-05/0.9705, allocations: 45 kB / 0.7272 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001566/0.9707, allocations: 60 kB / 0.7272 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002134/0.9729, allocations: 0.7849 MB / 0.728 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.544e-05/0.9729, allocations: 3.938 kB / 0.728 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.228e-05/0.973, allocations: 24 kB / 0.728 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.151e-05/0.973, allocations: 12 kB / 0.728 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001667/0.9747, allocations: 0.5461 MB / 0.7286 GB, free: 10.97 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.007958/0.9827, allocations: 4.595 MB / 0.733 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001357/0.9841, allocations: 438.3 kB / 0.7335 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.202e-05/0.9842, allocations: 15.97 kB / 0.7335 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008917/0.9851, allocations: 313.6 kB / 0.7338 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 3.788e-06/0.9851, allocations: 0 / 0.7338 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.007233/0.9924, allocations: 1.328 MB / 0.7351 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.977e-05/0.9925, allocations: 106.8 kB / 0.7352 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002748/0.9953, allocations: 1.114 MB / 0.7363 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001352/0.9954, allocations: 37.7 kB / 0.7363 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007148/0.9962, allocations: 496.1 kB / 0.7368 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001701/0.9964, allocations: 110.5 kB / 0.7369 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4e-05/0.9964, allocations: 11.94 kB / 0.7369 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001897/0.9966, allocations: 326 kB / 0.7372 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006443/0.9973, allocations: 188.7 kB / 0.7374 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00104/0.9983, allocations: 0.4982 MB / 0.7379 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008215/0.9992, allocations: 295.3 kB / 0.7382 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/0.9992, allocations: 3.938 kB / 0.7382 GB, free: 0.4961 MB / 0.5606 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.004482/1.004, allocations: 0.972 MB / 0.7391 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.001477/1.005, allocations: 2.125 MB / 0.7412 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.745e-05/1.005, allocations: 11.98 kB / 0.7412 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002286/1.008, allocations: 336.4 kB / 0.7415 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000471/1.008, allocations: 67.91 kB / 0.7416 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001912/1.01, allocations: 1.01 MB / 0.7426 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001686/1.012, allocations: 107.4 kB / 0.7427 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/1.012, allocations: 27.98 kB / 0.7427 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/1.012, allocations: 4 kB / 0.7427 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002639/1.014, allocations: 0.7406 MB / 0.7434 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.334e-05/1.015, allocations: 11.98 kB / 0.7434 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001026/1.016, allocations: 213 kB / 0.7436 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004729/1.016, allocations: 67.84 kB / 0.7437 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006494/1.023, allocations: 3.174 MB / 0.7468 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001526/1.024, allocations: 95.53 kB / 0.7469 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.365e-05/1.024, allocations: 24 kB / 0.7469 GB, free: 7.152 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 (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.00123/1.026, allocations: 473.3 kB / 0.7474 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003188/1.026, allocations: 98.78 kB / 0.7475 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002207/1.028, allocations: 0.6903 MB / 0.7481 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/1.028, allocations: 4 kB / 0.7481 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/1.028, allocations: 4 kB / 0.7481 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/1.028, allocations: 4 kB / 0.7481 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002504/1.031, allocations: 1.099 MB / 0.7492 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/1.031, allocations: 4 kB / 0.7492 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001767/1.031, allocations: 27.92 kB / 0.7492 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006938/1.032, allocations: 224.5 kB / 0.7495 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.456e-05/1.032, allocations: 8 kB / 0.7495 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000982/1.033, allocations: 0.9903 MB / 0.7504 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/1.033, allocations: 0 / 0.7504 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001563/1.034, allocations: 0.8495 MB / 0.7513 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004814/1.035, allocations: 211.8 kB / 0.7515 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/1.035, allocations: 11.98 kB / 0.7515 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006719/1.035, allocations: 59.8 kB / 0.7515 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/1.036, allocations: 27.95 kB / 0.7516 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.409e-05/1.036, allocations: 12 kB / 0.7516 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00112/1.037, allocations: 0.7915 MB / 0.7523 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.6e-07/1.037, allocations: 4 kB / 0.7524 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001409/1.038, allocations: 455.3 kB / 0.7528 GB, free: 0.8945 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 (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.002378/1.041, allocations: 1.864 MB / 0.7546 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002205/1.043, allocations: 1.06 MB / 0.7556 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/1.043, allocations: 0 / 0.7556 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005562/1.043, allocations: 243 kB / 0.7559 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002194/1.046, allocations: 463.8 kB / 0.7563 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01968/1.065, allocations: 9.87 MB / 0.766 GB, free: 2.984 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00134/1.067, allocations: 1.204 MB / 0.7671 GB, free: 1.75 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001981/1.069, allocations: 323.6 kB / 0.7674 GB, free: 1.43 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006652/1.069, allocations: 311.3 kB / 0.7677 GB, free: 1.125 MB / 0.5919 GB Notification: Performance of SimCode: time 1.643e-06/1.069, allocations: 0 / 0.7677 GB, free: 1.125 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08767/1.157, allocations: 27.95 MB / 0.795 GB, free: 5.676 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003743/1.158, allocations: 269.7 kB / 0.7953 GB, free: 5.316 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.64/4.798, allocations: 0 / 0.7953 GB, free: 5.316 MB / 0.6231 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: