Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimised,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.178/2.178, allocations: 251 MB / 265.9 MB, free: 11.7 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.001588/0.001587, allocations: 181.7 kB / 325.5 MB, free: 2.883 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.291/2.291, allocations: 205.4 MB / 0.5764 GB, free: 20.77 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.00115/0.00115, allocations: 101.3 kB / 0.6809 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004814/0.0004814, allocations: 11.84 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.2245, allocations: 106.3 MB / 0.8988 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.436/6.661, allocations: 2.182 GB / 3.08 GB, free: 3.98 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003477/6.661, allocations: 95.75 kB / 3.081 GB, free: 3.926 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 9.388/16.05, allocations: 1.726 GB / 4.806 GB, free: 276.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.405e-06/16.05, allocations: 0 / 4.806 GB, free: 276.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001625/16.05, allocations: 33.38 kB / 4.806 GB, free: 276.3 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.004646/16.05, allocations: 1.424 MB / 4.807 GB, free: 275.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/16.05, allocations: 9.406 kB / 4.808 GB, free: 275.8 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002428/16.05, allocations: 94.03 kB / 4.808 GB, free: 275.8 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001202/16.06, allocations: 185.2 kB / 4.808 GB, free: 275.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004102/16.06, allocations: 1.085 MB / 4.809 GB, free: 275.4 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.606e-05/16.06, allocations: 49.66 kB / 4.809 GB, free: 275.4 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001408/16.06, allocations: 58.42 kB / 4.809 GB, free: 275.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001884/16.06, allocations: 0.7695 MB / 4.81 GB, free: 275.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.033e-05/16.06, allocations: 1.844 kB / 4.81 GB, free: 275.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.631e-05/16.06, allocations: 23.19 kB / 4.81 GB, free: 275.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.048e-05/16.06, allocations: 18.72 kB / 4.81 GB, free: 275.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001576/16.06, allocations: 0.5113 MB / 4.81 GB, free: 275.2 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.006307/16.07, allocations: 4.599 MB / 4.815 GB, free: 271.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001352/16.07, allocations: 419.6 kB / 4.815 GB, free: 271.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000436/16.07, allocations: 197.4 kB / 4.815 GB, free: 271.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008469/16.07, allocations: 295.8 kB / 4.816 GB, free: 271.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=31): time 2.995e-06/16.07, allocations: 0 / 4.816 GB, free: 271.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=31): time 0.002657/16.08, allocations: 0.6429 MB / 4.816 GB, free: 271.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/16.08, allocations: 85.25 kB / 4.816 GB, free: 271.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002585/16.08, allocations: 0.9875 MB / 4.817 GB, free: 271.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001526/16.08, allocations: 33.8 kB / 4.817 GB, free: 271.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005697/16.08, allocations: 489.4 kB / 4.818 GB, free: 271 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001486/16.08, allocations: 111.6 kB / 4.818 GB, free: 270.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.691e-05/16.08, allocations: 10.69 kB / 4.818 GB, free: 270.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.993e-05/16.08, allocations: 323.3 kB / 4.818 GB, free: 270.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000674/16.08, allocations: 187.8 kB / 4.818 GB, free: 270.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000921/16.08, allocations: 0.5054 MB / 4.819 GB, free: 270.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007935/16.08, allocations: 299.9 kB / 4.819 GB, free: 270.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/16.08, allocations: 2.562 kB / 4.819 GB, free: 270.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002194/16.08, allocations: 0.6787 MB / 4.82 GB, free: 270.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005219/16.08, allocations: 2.135 MB / 4.822 GB, free: 267.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.992e-05/16.08, allocations: 5.719 kB / 4.822 GB, free: 267.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.082e-05/16.08, allocations: 8.438 kB / 4.822 GB, free: 267.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008828/16.09, allocations: 118.6 kB / 4.822 GB, free: 267.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.986e-05/16.09, allocations: 7.406 kB / 4.822 GB, free: 267.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001552/16.09, allocations: 103.6 kB / 4.822 GB, free: 267.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.715e-05/16.09, allocations: 27.3 kB / 4.822 GB, free: 267.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/16.09, allocations: 7.438 kB / 4.822 GB, free: 267.9 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001637/16.09, allocations: 0.5367 MB / 4.823 GB, free: 267.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/16.09, allocations: 5.688 kB / 4.823 GB, free: 267.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/16.09, allocations: 8.812 kB / 4.823 GB, free: 267.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007309/16.09, allocations: 108.3 kB / 4.823 GB, free: 267.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.493e-05/16.09, allocations: 13.81 kB / 4.823 GB, free: 267.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00143/16.09, allocations: 108.3 kB / 4.823 GB, free: 267.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.926e-05/16.09, allocations: 23.47 kB / 4.823 GB, free: 267.8 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 (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.000917/16.09, allocations: 472.1 kB / 4.823 GB, free: 267.7 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002475/16.09, allocations: 97.22 kB / 4.823 GB, free: 267.6 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001454/16.09, allocations: 0.4929 MB / 4.824 GB, free: 267.6 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-06/16.09, allocations: 5.688 kB / 4.824 GB, free: 267.6 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/16.09, allocations: 3.016 kB / 4.824 GB, free: 267.6 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/16.09, allocations: 7.953 kB / 4.824 GB, free: 267.6 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003451/16.1, allocations: 1.385 MB / 4.825 GB, free: 267.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.764e-06/16.1, allocations: 5.297 kB / 4.825 GB, free: 267.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005049/16.1, allocations: 68.17 kB / 4.825 GB, free: 267.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.225e-05/16.1, allocations: 4.891 kB / 4.825 GB, free: 267.1 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.318e-05/16.1, allocations: 4.938 kB / 4.825 GB, free: 267.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.825e-06/16.1, allocations: 3.078 kB / 4.825 GB, free: 267.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/16.1, allocations: 8.938 kB / 4.825 GB, free: 267.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001559/16.1, allocations: 0.6989 MB / 4.826 GB, free: 266.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006055/16.1, allocations: 218.3 kB / 4.826 GB, free: 266.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001799/16.1, allocations: 10.98 kB / 4.826 GB, free: 266.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000887/16.1, allocations: 55.25 kB / 4.826 GB, free: 266.6 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/16.1, allocations: 36.66 kB / 4.826 GB, free: 266.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.732e-05/16.1, allocations: 9.781 kB / 4.826 GB, free: 266.6 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001813/16.1, allocations: 0.784 MB / 4.827 GB, free: 266.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.52e-07/16.1, allocations: 0 / 4.827 GB, free: 266.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002251/16.11, allocations: 485.3 kB / 4.828 GB, free: 266.5 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 (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.003418/16.11, allocations: 2.52 MB / 4.83 GB, free: 265 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002246/16.11, allocations: 0.8062 MB / 4.831 GB, free: 264.9 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/16.11, allocations: 0 / 4.831 GB, free: 264.9 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000621/16.11, allocations: 206.3 kB / 4.831 GB, free: 264.9 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003743/16.12, allocations: 453.1 kB / 4.832 GB, free: 264.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01617/16.13, allocations: 9.558 MB / 4.841 GB, free: 259.6 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008083/16.13, allocations: 1.204 MB / 4.842 GB, free: 258.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002008/16.14, allocations: 425.3 kB / 4.842 GB, free: 258.8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006103/16.14, allocations: 318.9 kB / 4.843 GB, free: 258.8 MB / 0.8855 GB Notification: Performance of SimCode: time 1.242e-06/16.14, allocations: 0 / 4.843 GB, free: 258.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09512/16.23, allocations: 39.24 MB / 4.881 GB, free: 257.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002199/16.23, allocations: 236 kB / 4.881 GB, free: 256.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.961/20.19, allocations: 0 / 4.881 GB, free: 256.8 MB / 0.8855 GB