Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.106/2.106, allocations: 251 MB / 265.9 MB, free: 11.69 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.001566/0.001565, allocations: 173.1 kB / 325.5 MB, free: 2.906 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.322/2.322, allocations: 205.4 MB / 0.5764 GB, free: 20.81 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.001177/0.001176, allocations: 101.7 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005058/0.0005058, allocations: 19.7 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.2242, allocations: 106.3 MB / 0.8988 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.58/6.804, allocations: 2.184 GB / 3.083 GB, free: 1.32 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002963/6.805, allocations: 93.69 kB / 3.083 GB, free: 1.266 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 9.552/16.36, allocations: 1.737 GB / 4.82 GB, free: 269.6 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.725e-06/16.36, allocations: 0 / 4.82 GB, free: 269.6 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001542/16.36, allocations: 29.84 kB / 4.82 GB, free: 269.6 MB / 0.8855 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.004955/16.36, allocations: 1.433 MB / 4.822 GB, free: 269.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/16.36, allocations: 12.84 kB / 4.822 GB, free: 269.1 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003234/16.36, allocations: 93.62 kB / 4.822 GB, free: 269 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001323/16.36, allocations: 191.3 kB / 4.822 GB, free: 269 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004363/16.37, allocations: 1.114 MB / 4.823 GB, free: 268.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.763e-05/16.37, allocations: 44.62 kB / 4.823 GB, free: 268.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001323/16.37, allocations: 61.03 kB / 4.823 GB, free: 268.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001764/16.37, allocations: 0.7623 MB / 4.824 GB, free: 268.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.996e-05/16.37, allocations: 5.375 kB / 4.824 GB, free: 268.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.858e-05/16.37, allocations: 21.34 kB / 4.824 GB, free: 268.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.304e-05/16.37, allocations: 17.25 kB / 4.824 GB, free: 268.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001552/16.37, allocations: 0.507 MB / 4.825 GB, free: 268.4 MB / 0.8855 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.006081/16.38, allocations: 4.605 MB / 4.829 GB, free: 265.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/16.38, allocations: 422.3 kB / 4.829 GB, free: 265 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003647/16.38, allocations: 191 kB / 4.83 GB, free: 264.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007/16.38, allocations: 296.6 kB / 4.83 GB, free: 264.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=31): time 3.577e-06/16.38, allocations: 0 / 4.83 GB, free: 264.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=31): time 0.005608/16.39, allocations: 1.22 MB / 4.831 GB, free: 264.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.857e-05/16.39, allocations: 90.08 kB / 4.831 GB, free: 264.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002012/16.39, allocations: 0.9837 MB / 4.832 GB, free: 264.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001396/16.39, allocations: 41.23 kB / 4.832 GB, free: 264.3 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004816/16.39, allocations: 493.1 kB / 4.833 GB, free: 264.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/16.39, allocations: 105.8 kB / 4.833 GB, free: 264.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.577e-05/16.39, allocations: 11.88 kB / 4.833 GB, free: 264.1 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.901e-05/16.39, allocations: 324.9 kB / 4.833 GB, free: 263.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005543/16.39, allocations: 182.7 kB / 4.833 GB, free: 263.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007896/16.39, allocations: 0.5022 MB / 4.834 GB, free: 263.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006746/16.39, allocations: 285 kB / 4.834 GB, free: 263.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.533e-06/16.39, allocations: 3.438 kB / 4.834 GB, free: 263.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002513/16.39, allocations: 0.9094 MB / 4.835 GB, free: 263.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004953/16.39, allocations: 2.137 MB / 4.837 GB, free: 261 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/16.39, allocations: 7.906 kB / 4.837 GB, free: 261 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009488/16.4, allocations: 230.4 kB / 4.837 GB, free: 261 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004397/16.4, allocations: 71.09 kB / 4.837 GB, free: 261 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001468/16.4, allocations: 1.006 MB / 4.838 GB, free: 260.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001624/16.4, allocations: 107.7 kB / 4.838 GB, free: 260.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/16.4, allocations: 27.23 kB / 4.838 GB, free: 260.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/16.4, allocations: 4.656 kB / 4.838 GB, free: 260.4 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002442/16.4, allocations: 0.73 MB / 4.839 GB, free: 260.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/16.4, allocations: 6 kB / 4.839 GB, free: 260.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009519/16.4, allocations: 209.7 kB / 4.839 GB, free: 260.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004456/16.4, allocations: 66.19 kB / 4.839 GB, free: 260.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006329/16.41, allocations: 3.156 MB / 4.842 GB, free: 258.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001543/16.41, allocations: 98.27 kB / 4.843 GB, free: 258.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.09e-05/16.41, allocations: 21.69 kB / 4.843 GB, free: 258.9 MB / 0.8855 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.0008563/16.41, allocations: 473.3 kB / 4.843 GB, free: 258.7 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002636/16.41, allocations: 100.6 kB / 4.843 GB, free: 258.6 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002023/16.41, allocations: 0.7156 MB / 4.844 GB, free: 258.5 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/16.41, allocations: 3.844 kB / 4.844 GB, free: 258.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/16.41, allocations: 2.562 kB / 4.844 GB, free: 258.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/16.41, allocations: 3.953 kB / 4.844 GB, free: 258.5 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003937/16.42, allocations: 1.604 MB / 4.845 GB, free: 258.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/16.42, allocations: 7.188 kB / 4.845 GB, free: 258.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001964/16.42, allocations: 19.92 kB / 4.845 GB, free: 258.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007803/16.42, allocations: 232.8 kB / 4.846 GB, free: 258 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.495e-05/16.42, allocations: 7.844 kB / 4.846 GB, free: 258 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001239/16.42, allocations: 0.9822 MB / 4.847 GB, free: 257.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/16.42, allocations: 0.75 kB / 4.847 GB, free: 257.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002044/16.42, allocations: 0.9192 MB / 4.848 GB, free: 257.1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006188/16.42, allocations: 220.3 kB / 4.848 GB, free: 257 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001858/16.42, allocations: 10.14 kB / 4.848 GB, free: 257 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009613/16.42, allocations: 50.91 kB / 4.848 GB, free: 257 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/16.42, allocations: 37.34 kB / 4.848 GB, free: 257 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.768e-05/16.42, allocations: 12.97 kB / 4.848 GB, free: 257 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.00153/16.43, allocations: 0.7843 MB / 4.849 GB, free: 256.9 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.92e-07/16.43, allocations: 0 / 4.849 GB, free: 256.9 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002506/16.43, allocations: 0.5127 MB / 4.849 GB, free: 256.8 MB / 0.8855 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.003734/16.43, allocations: 2.721 MB / 4.852 GB, free: 255.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002951/16.44, allocations: 1.051 MB / 4.853 GB, free: 255.1 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.134e-06/16.44, allocations: 0 / 4.853 GB, free: 255.1 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0008566/16.44, allocations: 235.6 kB / 4.853 GB, free: 255.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003773/16.44, allocations: 462.1 kB / 4.853 GB, free: 255.1 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01666/16.46, allocations: 9.804 MB / 4.863 GB, free: 249.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008193/16.46, allocations: 1.203 MB / 4.864 GB, free: 249 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001618/16.46, allocations: 329.1 kB / 4.865 GB, free: 249 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004989/16.46, allocations: 317.3 kB / 4.865 GB, free: 249 MB / 0.8855 GB Notification: Performance of SimCode: time 9.62e-07/16.46, allocations: 0 / 4.865 GB, free: 249 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1094/16.57, allocations: 42.49 MB / 4.906 GB, free: 237.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002888/16.57, allocations: 275.5 kB / 4.907 GB, free: 236.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.103/20.67, allocations: 0 / 4.907 GB, free: 236.9 MB / 0.8855 GB