Running: ./testmodel.py --libraries=/var/lib/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 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.48/2.48, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00156/0.00156, allocations: 188.6 kB / 325.6 MB, free: 2.824 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.484/2.484, allocations: 205.4 MB / 0.5766 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001164/0.001164, allocations: 103.3 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004626/0.0004628, allocations: 9 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.2099, allocations: 106.3 MB / 0.8989 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.213/0.4229, allocations: 135.8 MB / 1.032 GB, free: 9.281 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.004673/0.4277, allocations: 1.714 MB / 1.033 GB, free: 7.566 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00044/0.4282, allocations: 11.88 kB / 1.033 GB, free: 7.555 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0009336/0.4291, allocations: 179.2 kB / 1.033 GB, free: 7.379 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002272/0.4314, allocations: 0.5024 MB / 1.034 GB, free: 6.875 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002195/0.4337, allocations: 450 kB / 1.034 GB, free: 6.441 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.003335/0.437, allocations: 1.49 MB / 1.036 GB, free: 4.949 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001754/0.4388, allocations: 0.707 MB / 1.036 GB, free: 4.23 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002171/0.441, allocations: 0.6929 MB / 1.037 GB, free: 3.535 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001335/0.4424, allocations: 493.9 kB / 1.038 GB, free: 3.051 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.000213/0.4427, allocations: 32 kB / 1.038 GB, free: 3.02 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001743/0.4444, allocations: 415.4 kB / 1.038 GB, free: 2.613 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0005522/0.445, allocations: 259.1 kB / 1.038 GB, free: 2.359 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000562/0.4456, allocations: 233.1 kB / 1.038 GB, free: 2.125 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002518/0.4481, allocations: 0.9629 MB / 1.039 GB, free: 1.16 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.4482, allocations: 0 / 1.039 GB, free: 1.16 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.936e-06/0.4482, allocations: 0 / 1.039 GB, free: 1.16 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.811e-05/0.4483, allocations: 4 kB / 1.039 GB, free: 1.156 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.004574/0.4529, allocations: 1.288 MB / 1.041 GB, free: 15.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.559e-05/0.4529, allocations: 8.031 kB / 1.041 GB, free: 15.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001782/0.4547, allocations: 186.5 kB / 1.041 GB, free: 15.61 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0038/0.4586, allocations: 0.7884 MB / 1.042 GB, free: 14.77 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001113/0.4587, allocations: 52.98 kB / 1.042 GB, free: 14.72 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002675/0.459, allocations: 56 kB / 1.042 GB, free: 14.66 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003161/0.4622, allocations: 0.7964 MB / 1.043 GB, free: 13.79 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.518e-05/0.4623, allocations: 0 / 1.043 GB, free: 13.79 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001301/0.4624, allocations: 24 kB / 1.043 GB, free: 13.77 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.046e-05/0.4625, allocations: 12 kB / 1.043 GB, free: 13.75 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002476/0.465, allocations: 0.5462 MB / 1.043 GB, free: 13.21 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.009188/0.4742, allocations: 4.614 MB / 1.048 GB, free: 8.211 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001915/0.4761, allocations: 434.2 kB / 1.048 GB, free: 7.777 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001089/0.4763, allocations: 15.98 kB / 1.048 GB, free: 7.762 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001189/0.4775, allocations: 298.1 kB / 1.048 GB, free: 7.449 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 4.408e-06/0.4775, allocations: 4 kB / 1.048 GB, free: 7.445 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.00332/0.4809, allocations: 0.6423 MB / 1.049 GB, free: 6.797 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/0.481, allocations: 118.8 kB / 1.049 GB, free: 6.656 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003486/0.4845, allocations: 1.106 MB / 1.05 GB, free: 5.531 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001609/0.4848, allocations: 37.7 kB / 1.05 GB, free: 5.488 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009339/0.4857, allocations: 496.1 kB / 1.051 GB, free: 4.996 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002717/0.486, allocations: 106.5 kB / 1.051 GB, free: 4.891 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.418e-05/0.4861, allocations: 8 kB / 1.051 GB, free: 4.883 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002141/0.4863, allocations: 326 kB / 1.051 GB, free: 4.559 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009791/0.4873, allocations: 188.7 kB / 1.051 GB, free: 4.371 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001447/0.4888, allocations: 0.494 MB / 1.052 GB, free: 3.746 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00115/0.49, allocations: 290.4 kB / 1.052 GB, free: 3.457 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/0.49, allocations: 4 kB / 1.052 GB, free: 3.453 MB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002917/0.493, allocations: 0.6788 MB / 1.053 GB, free: 2.762 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001338/0.4943, allocations: 2.133 MB / 1.055 GB, free: 472 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.444e-05/0.4944, allocations: 4.219 kB / 1.055 GB, free: 468 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.668e-05/0.4945, allocations: 8 kB / 1.055 GB, free: 460 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/0.4957, allocations: 115.8 kB / 1.055 GB, free: 344 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.092e-05/0.4957, allocations: 19.92 kB / 1.055 GB, free: 324 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001938/0.4977, allocations: 103.4 kB / 1.055 GB, free: 220 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/0.4978, allocations: 27.98 kB / 1.055 GB, free: 192 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.4979, allocations: 4 kB / 1.055 GB, free: 188 kB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6386/1.136, allocations: 0.536 MB / 1.056 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.692e-05/1.137, allocations: 9.281 kB / 1.056 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/1.137, allocations: 9.328 kB / 1.056 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007935/1.137, allocations: 106.7 kB / 1.056 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.122e-05/1.137, allocations: 14.8 kB / 1.056 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001383/1.139, allocations: 97.95 kB / 1.056 GB, free: 156.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.539e-05/1.139, allocations: 24.02 kB / 1.056 GB, free: 156.3 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.0008922/1.14, allocations: 471.9 kB / 1.056 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002839/1.14, allocations: 106.3 kB / 1.056 GB, free: 156.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001406/1.142, allocations: 479.6 kB / 1.057 GB, free: 156.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/1.142, allocations: 5.688 kB / 1.057 GB, free: 156.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.858e-06/1.142, allocations: 5.359 kB / 1.057 GB, free: 156.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/1.142, allocations: 0 / 1.057 GB, free: 156.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002332/1.144, allocations: 1.098 MB / 1.058 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/1.144, allocations: 1.344 kB / 1.058 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005414/1.145, allocations: 68.92 kB / 1.058 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-05/1.145, allocations: 3.562 kB / 1.058 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.777e-05/1.145, allocations: 14.44 kB / 1.058 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.044e-05/1.145, allocations: 9.734 kB / 1.058 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/1.145, allocations: 1.375 kB / 1.058 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001425/1.146, allocations: 0.6234 MB / 1.059 GB, free: 155.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005338/1.147, allocations: 219.9 kB / 1.059 GB, free: 155.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001856/1.147, allocations: 9.781 kB / 1.059 GB, free: 155.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008878/1.148, allocations: 55.03 kB / 1.059 GB, free: 155.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/1.148, allocations: 37.64 kB / 1.059 GB, free: 155.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.491e-05/1.148, allocations: 8.75 kB / 1.059 GB, free: 155.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001706/1.15, allocations: 0.7836 MB / 1.06 GB, free: 155.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 9.41e-07/1.15, allocations: 3 kB / 1.06 GB, free: 155.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001784/1.152, allocations: 413.2 kB / 1.06 GB, free: 155.1 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.000574/1.152, allocations: 170.8 kB / 1.06 GB, free: 155.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002367/1.155, allocations: 0.8098 MB / 1.061 GB, free: 154.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/1.155, allocations: 0 / 1.061 GB, free: 154.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006858/1.155, allocations: 207.4 kB / 1.061 GB, free: 154.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003763/1.159, allocations: 453.8 kB / 1.062 GB, free: 154.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004829/1.164, allocations: 1.951 MB / 1.064 GB, free: 154 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001196/1.165, allocations: 1.201 MB / 1.065 GB, free: 153.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002399/1.168, allocations: 428.7 kB / 1.065 GB, free: 153.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004035/1.168, allocations: 72.05 kB / 1.065 GB, free: 153.3 MB / 0.698 GB Notification: Performance of SimCode: time 1.633e-06/1.168, allocations: 0.6562 kB / 1.065 GB, free: 153.3 MB / 0.698 GB Notification: Performance of Templates: time 0.04968/1.218, allocations: 16 MB / 1.081 GB, free: 147.3 MB / 0.698 GB