Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6824/0.6824, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 184.3 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.202/1.202, allocations: 221.3 MB / 441.4 MB, free: 4.602 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.0007815/0.0007815, allocations: 92.17 kB / 0.5124 GB, free: 24.18 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001615/0.001615, allocations: 273.8 kB / 0.5939 GB, free: 7.973 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.332e-05/3.336e-05, allocations: 7.984 kB / 0.6835 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3321, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.301/3.633, allocations: 1.83 GB / 2.594 GB, free: 176.8 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001967/3.633, allocations: 91.94 kB / 2.594 GB, free: 176.7 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.291/8.925, allocations: 1.801 GB / 4.395 GB, free: 190.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.064e-06/8.925, allocations: 0 / 4.395 GB, free: 190.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.00016/8.925, allocations: 32.86 kB / 4.395 GB, free: 190.9 MB / 0.698 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.002317/8.927, allocations: 1.143 MB / 4.396 GB, free: 190.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/8.927, allocations: 10.72 kB / 4.396 GB, free: 190.5 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001554/8.928, allocations: 92.8 kB / 4.396 GB, free: 190.4 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008563/8.928, allocations: 190.3 kB / 4.396 GB, free: 190.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002238/8.931, allocations: 1.072 MB / 4.397 GB, free: 190.1 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.172e-05/8.931, allocations: 47.12 kB / 4.397 GB, free: 190.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.596e-05/8.931, allocations: 57.66 kB / 4.397 GB, free: 190.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008414/8.932, allocations: 0.7412 MB / 4.398 GB, free: 189.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/8.932, allocations: 2.531 kB / 4.398 GB, free: 189.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.333e-05/8.932, allocations: 21.94 kB / 4.398 GB, free: 189.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/8.932, allocations: 14.88 kB / 4.398 GB, free: 189.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005828/8.932, allocations: 479.2 kB / 4.398 GB, free: 189.9 MB / 0.698 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.002872/8.935, allocations: 4.6 MB / 4.403 GB, free: 186.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004063/8.936, allocations: 382.4 kB / 4.403 GB, free: 186.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002256/8.936, allocations: 227.7 kB / 4.403 GB, free: 186.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002232/8.936, allocations: 192.6 kB / 4.404 GB, free: 186.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002845/8.936, allocations: 279.6 kB / 4.404 GB, free: 186.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 1.643e-06/8.936, allocations: 0 / 4.404 GB, free: 186.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.0007071/8.937, allocations: 456 kB / 4.404 GB, free: 186.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.913e-05/8.937, allocations: 86.58 kB / 4.404 GB, free: 186 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000879/8.938, allocations: 0.9726 MB / 4.405 GB, free: 185.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.592e-05/8.938, allocations: 41.11 kB / 4.405 GB, free: 185.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002447/8.938, allocations: 496.5 kB / 4.406 GB, free: 185.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.948e-05/8.938, allocations: 108.9 kB / 4.406 GB, free: 185.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.975e-05/8.938, allocations: 11.31 kB / 4.406 GB, free: 185.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.337e-05/8.938, allocations: 320.9 kB / 4.406 GB, free: 185.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/8.939, allocations: 164.7 kB / 4.406 GB, free: 185.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003153/8.939, allocations: 0.4897 MB / 4.407 GB, free: 184.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000261/8.939, allocations: 270.5 kB / 4.407 GB, free: 184.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/8.939, allocations: 3.969 kB / 4.407 GB, free: 184.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006838/8.94, allocations: 0.6442 MB / 4.408 GB, free: 184.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.00029/8.94, allocations: 2.132 MB / 4.41 GB, free: 182.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.056e-06/8.94, allocations: 6.656 kB / 4.41 GB, free: 182.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/8.94, allocations: 9.312 kB / 4.41 GB, free: 182.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003868/8.941, allocations: 113.5 kB / 4.41 GB, free: 182.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/8.941, allocations: 10.12 kB / 4.41 GB, free: 182.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000697/8.941, allocations: 100.9 kB / 4.41 GB, free: 182.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-05/8.941, allocations: 26.27 kB / 4.41 GB, free: 182.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.342e-06/8.942, allocations: 3.969 kB / 4.41 GB, free: 182.5 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005221/8.942, allocations: 0.4958 MB / 4.411 GB, free: 182.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/8.942, allocations: 9.406 kB / 4.411 GB, free: 182.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.863e-06/8.942, allocations: 7.312 kB / 4.411 GB, free: 182.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00032/8.942, allocations: 110 kB / 4.411 GB, free: 182.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/8.942, allocations: 9.688 kB / 4.411 GB, free: 182.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005379/8.943, allocations: 102.5 kB / 4.411 GB, free: 182.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.276e-05/8.943, allocations: 20.91 kB / 4.411 GB, free: 182.5 MB / 0.698 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 (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 9.048e-05/8.943, allocations: 144.7 kB / 4.411 GB, free: 182.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.231e-05/8.943, allocations: 100.8 kB / 4.411 GB, free: 182.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005611/8.944, allocations: 467.6 kB / 4.412 GB, free: 182.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/8.944, allocations: 5.094 kB / 4.412 GB, free: 182.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/8.944, allocations: 0 / 4.412 GB, free: 182.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/8.944, allocations: 3.469 kB / 4.412 GB, free: 182.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001511/8.945, allocations: 1.353 MB / 4.413 GB, free: 181.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/8.945, allocations: 7.812 kB / 4.413 GB, free: 181.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002241/8.946, allocations: 69.95 kB / 4.413 GB, free: 181.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/8.946, allocations: 0 / 4.413 GB, free: 181.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.183e-05/8.946, allocations: 18.53 kB / 4.413 GB, free: 181.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/8.946, allocations: 3.75 kB / 4.413 GB, free: 181.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/8.946, allocations: 3.812 kB / 4.413 GB, free: 181.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005388/8.946, allocations: 0.6501 MB / 4.414 GB, free: 181.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002953/8.946, allocations: 215.2 kB / 4.414 GB, free: 181.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.521e-05/8.947, allocations: 10.75 kB / 4.414 GB, free: 181.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004394/8.947, allocations: 58.97 kB / 4.414 GB, free: 181.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.094e-05/8.947, allocations: 27.72 kB / 4.414 GB, free: 181.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.996e-05/8.947, allocations: 14.03 kB / 4.414 GB, free: 181.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007205/8.948, allocations: 0.7717 MB / 4.415 GB, free: 181.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/8.948, allocations: 0 / 4.415 GB, free: 181.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001135/8.949, allocations: 485.6 kB / 4.415 GB, free: 181.2 MB / 0.698 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 (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.00156/8.951, allocations: 2.484 MB / 4.418 GB, free: 179.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007772/8.951, allocations: 0.7777 MB / 4.418 GB, free: 179.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/8.951, allocations: 0 / 4.418 GB, free: 179.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002095/8.952, allocations: 186.2 kB / 4.418 GB, free: 179.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001659/8.953, allocations: 456.8 kB / 4.419 GB, free: 179.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001942/8.955, allocations: 1.646 MB / 4.421 GB, free: 179.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004195/8.956, allocations: 1.199 MB / 4.422 GB, free: 178.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001618/8.957, allocations: 0.8486 MB / 4.423 GB, free: 178.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002771/8.958, allocations: 306.2 kB / 4.423 GB, free: 178.4 MB / 0.698 GB Notification: Performance of SimCode: time 3.31e-07/8.958, allocations: 0 / 4.423 GB, free: 178.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04934/9.007, allocations: 42.97 MB / 4.465 GB, free: 166.9 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001659/9.007, allocations: 229.5 kB / 4.465 GB, free: 166.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.941/11.95, allocations: 0 / 4.465 GB, free: 166.6 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)