Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.181/1.181, allocations: 133.6 MB / 141.6 MB, free: 2.906 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.303/2.303, allocations: 221.5 MB / 395.4 MB, free: 10.76 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 105.6 kB / 478.2 MB, free: 1.309 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.053e-05/3.05e-05, allocations: 4 kB / 0.5536 GB, free: 8.938 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7683/0.7683, allocations: 82.3 MB / 0.6339 GB, free: 40.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.825/8.594, allocations: 1.834 GB / 2.468 GB, free: 162.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004447/8.594, allocations: 89.94 kB / 2.468 GB, free: 162 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 11.7/20.3, allocations: 1.794 GB / 4.262 GB, free: 184.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.864e-06/20.3, allocations: 3.438 kB / 4.262 GB, free: 184.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001629/20.3, allocations: 33.75 kB / 4.262 GB, free: 184.7 MB / 0.6823 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.003054/20.3, allocations: 1.154 MB / 4.263 GB, free: 184.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.852e-05/20.3, allocations: 7.375 kB / 4.263 GB, free: 184.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001267/20.3, allocations: 186.3 kB / 4.263 GB, free: 184.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003335/20.3, allocations: 1.098 MB / 4.265 GB, free: 183.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.085e-05/20.3, allocations: 14.72 kB / 4.265 GB, free: 183.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/20.3, allocations: 39.8 kB / 4.265 GB, free: 183.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00116/20.31, allocations: 467.5 kB / 4.265 GB, free: 183.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001342/20.31, allocations: 0.6737 MB / 4.266 GB, free: 183.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/20.31, allocations: 3.25 kB / 4.266 GB, free: 183.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.864e-05/20.31, allocations: 7.734 kB / 4.266 GB, free: 183.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.913e-05/20.31, allocations: 14.14 kB / 4.266 GB, free: 183.5 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.005561/20.31, allocations: 4.473 MB / 4.27 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008437/20.31, allocations: 442.2 kB / 4.27 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000431/20.31, allocations: 234.5 kB / 4.271 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003891/20.31, allocations: 195.3 kB / 4.271 GB, free: 180 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000567/20.31, allocations: 260.4 kB / 4.271 GB, free: 179.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=31): time 2.905e-06/20.31, allocations: 0 / 4.271 GB, free: 179.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31): time 0.002647/20.32, allocations: 0.7606 MB / 4.272 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.628e-05/20.32, allocations: 84.5 kB / 4.272 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00161/20.32, allocations: 0.846 MB / 4.273 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.675e-05/20.32, allocations: 34.27 kB / 4.273 GB, free: 179.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000648/20.32, allocations: 489.3 kB / 4.273 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001408/20.32, allocations: 107.8 kB / 4.273 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.887e-05/20.32, allocations: 3.75 kB / 4.273 GB, free: 179.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001325/20.32, allocations: 327.4 kB / 4.274 GB, free: 179 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003632/20.32, allocations: 174.7 kB / 4.274 GB, free: 179 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006815/20.32, allocations: 0.4892 MB / 4.274 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004802/20.32, allocations: 263.3 kB / 4.275 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/20.32, allocations: 0 / 4.275 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002445/20.32, allocations: 0.8825 MB / 4.275 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009308/20.32, allocations: 2.132 MB / 4.278 GB, free: 176.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.811e-05/20.32, allocations: 3.344 kB / 4.278 GB, free: 176.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006365/20.33, allocations: 229.2 kB / 4.278 GB, free: 176.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003524/20.33, allocations: 60.53 kB / 4.278 GB, free: 176.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001504/20.33, allocations: 1.106 MB / 4.279 GB, free: 175.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001493/20.33, allocations: 82.94 kB / 4.279 GB, free: 175.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.855e-05/20.33, allocations: 28.33 kB / 4.279 GB, free: 175.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/20.33, allocations: 3.656 kB / 4.279 GB, free: 175.7 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001638/20.33, allocations: 0.5954 MB / 4.28 GB, free: 175.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/20.33, allocations: 3.375 kB / 4.28 GB, free: 175.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007328/20.33, allocations: 201.3 kB / 4.28 GB, free: 175.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002996/20.33, allocations: 66.44 kB / 4.28 GB, free: 175.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005193/20.34, allocations: 2.97 MB / 4.283 GB, free: 174.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001738/20.34, allocations: 85.59 kB / 4.283 GB, free: 174.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.62e-05/20.34, allocations: 22.59 kB / 4.283 GB, free: 174.2 MB / 0.6823 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 () * 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.0003751/20.34, allocations: 121.4 kB / 4.283 GB, free: 174.1 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001657/20.34, allocations: 0.6144 MB / 4.284 GB, free: 174 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001726/20.34, allocations: 93 kB / 4.284 GB, free: 174 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001694/20.34, allocations: 0.6463 MB / 4.284 GB, free: 173.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/20.34, allocations: 3.594 kB / 4.284 GB, free: 173.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/20.34, allocations: 7.234 kB / 4.284 GB, free: 173.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/20.34, allocations: 3.609 kB / 4.284 GB, free: 173.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003585/20.35, allocations: 1.459 MB / 4.286 GB, free: 173.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.194e-05/20.35, allocations: 3.562 kB / 4.286 GB, free: 173.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001774/20.35, allocations: 24.36 kB / 4.286 GB, free: 173.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005154/20.35, allocations: 184.3 kB / 4.286 GB, free: 173.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.68e-05/20.35, allocations: 7.734 kB / 4.286 GB, free: 173.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001264/20.35, allocations: 0.9866 MB / 4.287 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-05/20.35, allocations: 3.969 kB / 4.287 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001773/20.35, allocations: 0.8383 MB / 4.288 GB, free: 172.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007935/20.35, allocations: 210.5 kB / 4.288 GB, free: 172.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001457/20.35, allocations: 3.906 kB / 4.288 GB, free: 172.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008439/20.35, allocations: 57.84 kB / 4.288 GB, free: 172.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/20.35, allocations: 35.11 kB / 4.288 GB, free: 172.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.904e-05/20.35, allocations: 10.16 kB / 4.288 GB, free: 172.3 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001465/20.35, allocations: 0.6669 MB / 4.289 GB, free: 172.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.51e-07/20.35, allocations: 3.625 kB / 4.289 GB, free: 172.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00273/20.36, allocations: 488.8 kB / 4.289 GB, free: 172.2 MB / 0.6823 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) * 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.004619/20.36, allocations: 2.778 MB / 4.292 GB, free: 170.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00291/20.36, allocations: 0.9945 MB / 4.293 GB, free: 170.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.228e-06/20.36, allocations: 0 / 4.293 GB, free: 170.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006543/20.36, allocations: 208.8 kB / 4.293 GB, free: 170.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003518/20.37, allocations: 397.5 kB / 4.293 GB, free: 170.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005505/20.37, allocations: 1.59 MB / 4.295 GB, free: 169.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001026/20.38, allocations: 1.211 MB / 4.296 GB, free: 168.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002821/20.38, allocations: 0.6444 MB / 4.297 GB, free: 168.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004822/20.38, allocations: 295 kB / 4.297 GB, free: 168.5 MB / 0.6823 GB Notification: Performance of SimCode: time 2.284e-06/20.38, allocations: 0 / 4.297 GB, free: 168.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1046/20.48, allocations: 32.52 MB / 4.329 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000285/20.48, allocations: 186.9 kB / 4.329 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.472/25.96, allocations: 0 / 4.329 GB, free: 143.3 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)