Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.468/1.468, allocations: 252 MB / 267 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001127/0.001127, allocations: 183.3 kB / 326.6 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.879/1.879, allocations: 205.4 MB / 0.5777 GB, free: 20.5 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007441/0.0007438, allocations: 101.5 kB / 0.6823 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003142/0.0003143, allocations: 9.188 kB / 0.7965 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2165, allocations: 106.3 MB / 0.9003 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.1564/0.373, allocations: 146.9 MB / 1.044 GB, free: 13.05 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003361/0.3764, allocations: 1.688 MB / 1.045 GB, free: 11.36 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003493/0.3768, allocations: 11.94 kB / 1.045 GB, free: 11.35 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005393/0.3773, allocations: 111.2 kB / 1.045 GB, free: 11.24 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001196/0.3785, allocations: 391.6 kB / 1.046 GB, free: 10.86 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00107/0.3796, allocations: 340.2 kB / 1.046 GB, free: 10.53 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002999/0.3826, allocations: 2.975 MB / 1.049 GB, free: 7.547 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001116/0.3837, allocations: 0.6876 MB / 1.05 GB, free: 6.848 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001644/0.3854, allocations: 0.8637 MB / 1.051 GB, free: 5.98 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001034/0.3864, allocations: 0.704 MB / 1.051 GB, free: 5.273 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 9.833e-05/0.3866, allocations: 32 kB / 1.051 GB, free: 5.242 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001299/0.3879, allocations: 0.5613 MB / 1.052 GB, free: 4.68 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003088/0.3882, allocations: 278.9 kB / 1.052 GB, free: 4.406 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000359/0.3885, allocations: 229.1 kB / 1.052 GB, free: 4.176 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001479/0.39, allocations: 1.029 MB / 1.053 GB, free: 3.145 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.3901, allocations: 0 / 1.053 GB, free: 3.145 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.785e-06/0.3901, allocations: 0 / 1.053 GB, free: 3.145 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.523e-05/0.3901, allocations: 0 / 1.053 GB, free: 3.145 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.002254/0.3924, allocations: 1.303 MB / 1.055 GB, free: 1.777 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.3924, allocations: 8.031 kB / 1.055 GB, free: 1.77 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001144/0.3925, allocations: 90.52 kB / 1.055 GB, free: 1.672 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007528/0.3933, allocations: 182.5 kB / 1.055 GB, free: 1.492 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001442/0.3948, allocations: 0.8001 MB / 1.056 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.332e-05/0.3948, allocations: 45 kB / 1.056 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.53e-05/0.3949, allocations: 63.94 kB / 1.056 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3962/0.7912, allocations: 0.7916 MB / 1.057 GB, free: 157 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/0.7912, allocations: 5.062 kB / 1.057 GB, free: 157 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.436e-05/0.7913, allocations: 25.94 kB / 1.057 GB, free: 157 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.7913, allocations: 12.72 kB / 1.057 GB, free: 157 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.7923, allocations: 0.5471 MB / 1.057 GB, free: 157 MB / 0.698 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.003405/0.7958, allocations: 4.602 MB / 1.062 GB, free: 153.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007117/0.7965, allocations: 427.6 kB / 1.062 GB, free: 153.6 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003853/0.7969, allocations: 246.3 kB / 1.062 GB, free: 153.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002861/0.7972, allocations: 201.4 kB / 1.062 GB, free: 153.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005158/0.7977, allocations: 300.8 kB / 1.063 GB, free: 153.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 3.216e-06/0.7977, allocations: 0 / 1.063 GB, free: 153.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.001444/0.7992, allocations: 0.6447 MB / 1.063 GB, free: 153.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.7992, allocations: 83.31 kB / 1.063 GB, free: 153.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001461/0.8007, allocations: 1.109 MB / 1.065 GB, free: 153 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.492e-05/0.8008, allocations: 39.06 kB / 1.065 GB, free: 152.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004138/0.8012, allocations: 498.8 kB / 1.065 GB, free: 152.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.267e-05/0.8013, allocations: 108.4 kB / 1.065 GB, free: 152.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.284e-05/0.8013, allocations: 11.25 kB / 1.065 GB, free: 152.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.072e-05/0.8014, allocations: 325.4 kB / 1.065 GB, free: 152.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003363/0.8017, allocations: 182.9 kB / 1.066 GB, free: 152.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004991/0.8022, allocations: 0.4979 MB / 1.066 GB, free: 152 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004374/0.8027, allocations: 296.3 kB / 1.066 GB, free: 152 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.8027, allocations: 0 / 1.066 GB, free: 152 MB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001086/0.8038, allocations: 0.6916 MB / 1.067 GB, free: 151.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001157/0.8039, allocations: 272.4 kB / 1.067 GB, free: 151.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.8039, allocations: 5.156 kB / 1.067 GB, free: 151.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.804, allocations: 15.98 kB / 1.067 GB, free: 151.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004224/0.8044, allocations: 112 kB / 1.067 GB, free: 151.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.497e-05/0.8044, allocations: 11.22 kB / 1.068 GB, free: 151.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007707/0.8052, allocations: 100.5 kB / 1.068 GB, free: 151.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-05/0.8052, allocations: 26.98 kB / 1.068 GB, free: 151.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.178e-06/0.8053, allocations: 9.266 kB / 1.068 GB, free: 151.5 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009796/0.8063, allocations: 0.5409 MB / 1.068 GB, free: 151.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.8063, allocations: 10.03 kB / 1.068 GB, free: 151.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.8063, allocations: 9.062 kB / 1.068 GB, free: 151.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003909/0.8067, allocations: 106.7 kB / 1.068 GB, free: 151.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/0.8067, allocations: 13.12 kB / 1.068 GB, free: 151.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006945/0.8074, allocations: 107 kB / 1.068 GB, free: 151.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.801e-05/0.8075, allocations: 22.16 kB / 1.068 GB, free: 151.4 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 () * 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.0006595/0.8081, allocations: 467.7 kB / 1.069 GB, free: 151.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.8083, allocations: 101.6 kB / 1.069 GB, free: 151.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001016/0.8093, allocations: 0.4959 MB / 1.069 GB, free: 151 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.8093, allocations: 3.906 kB / 1.069 GB, free: 151 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.8093, allocations: 0.7812 kB / 1.069 GB, free: 151 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.8093, allocations: 4.453 kB / 1.069 GB, free: 151 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002341/0.8117, allocations: 1.395 MB / 1.071 GB, free: 150.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.8117, allocations: 6.016 kB / 1.071 GB, free: 150.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002861/0.812, allocations: 60.95 kB / 1.071 GB, free: 150.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.097e-05/0.812, allocations: 7.312 kB / 1.071 GB, free: 150.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.492e-05/0.8121, allocations: 10.42 kB / 1.071 GB, free: 150.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.785e-06/0.8121, allocations: 3.859 kB / 1.071 GB, free: 150.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.8121, allocations: 2.25 kB / 1.071 GB, free: 150.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.8131, allocations: 0.6146 MB / 1.072 GB, free: 150.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003559/0.8135, allocations: 225.7 kB / 1.072 GB, free: 150.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.8136, allocations: 7.734 kB / 1.072 GB, free: 150.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004956/0.8141, allocations: 50.09 kB / 1.072 GB, free: 150.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.491e-05/0.8142, allocations: 32.77 kB / 1.072 GB, free: 150.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.061e-05/0.8142, allocations: 9.812 kB / 1.072 GB, free: 150.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001304/0.8155, allocations: 0.7851 MB / 1.073 GB, free: 150.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8156, allocations: 0 / 1.073 GB, free: 150.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001455/0.817, allocations: 415.8 kB / 1.073 GB, free: 150 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) * 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.001381/0.8184, allocations: 1.235 MB / 1.074 GB, free: 149.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001505/0.8199, allocations: 0.8055 MB / 1.075 GB, free: 149.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.8199, allocations: 0 / 1.075 GB, free: 149.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004363/0.8204, allocations: 201.6 kB / 1.075 GB, free: 149.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002169/0.8226, allocations: 466.3 kB / 1.076 GB, free: 149 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01149/0.8341, allocations: 6.244 MB / 1.082 GB, free: 146.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006874/0.8348, allocations: 1.176 MB / 1.083 GB, free: 145.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001317/0.8361, allocations: 432.2 kB / 1.083 GB, free: 145.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004712/0.8366, allocations: 324 kB / 1.084 GB, free: 145.6 MB / 0.698 GB Notification: Performance of SimCode: time 8.11e-07/0.8366, allocations: 0 / 1.084 GB, free: 145.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04256/0.8792, allocations: 25.55 MB / 1.109 GB, free: 122.8 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002028/0.8795, allocations: 261.5 kB / 1.109 GB, free: 122.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.593/3.473, allocations: 4 kB / 1.109 GB, free: 122.4 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)