Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.831/4.831, allocations: 0.5623 GB / 0.5769 GB, free: 3.281 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002388/0.002388, allocations: 355.2 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.038/4.038, allocations: 410.7 MB / 1.112 GB, free: 6.031 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001748/0.001748, allocations: 171.8 kB / 1.225 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004885/0.0004887, allocations: 12 kB / 1.348 GB, free: 8.289 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5721/0.5727, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.1838/0.7565, allocations: 146 MB / 1.603 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002992/0.7596, allocations: 1.701 MB / 1.605 GB, free: 136.7 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000319/0.7599, allocations: 11.88 kB / 1.605 GB, free: 136.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0005664/0.7605, allocations: 159 kB / 1.605 GB, free: 136.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001475/0.762, allocations: 0.5247 MB / 1.606 GB, free: 136 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001395/0.7634, allocations: 410 kB / 1.606 GB, free: 135.6 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.002803/0.7662, allocations: 2.975 MB / 1.609 GB, free: 132.6 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009974/0.7673, allocations: 0.6942 MB / 1.61 GB, free: 131.9 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001326/0.7686, allocations: 0.7935 MB / 1.61 GB, free: 131.1 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007858/0.7694, allocations: 0.704 MB / 1.611 GB, free: 130.4 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 9.831e-05/0.7695, allocations: 36 kB / 1.611 GB, free: 130.4 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009943/0.7705, allocations: 391 kB / 1.612 GB, free: 130 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002768/0.7708, allocations: 278.9 kB / 1.612 GB, free: 129.7 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0002582/0.7711, allocations: 233.1 kB / 1.612 GB, free: 129.5 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001016/0.7721, allocations: 0.9704 MB / 1.613 GB, free: 128.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.7722, allocations: 0 / 1.613 GB, free: 128.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.781e-06/0.7722, allocations: 0 / 1.613 GB, free: 128.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.322e-05/0.7722, allocations: 3.938 kB / 1.613 GB, free: 128.5 MB / 0.8542 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.002068/0.7743, allocations: 1.288 MB / 1.614 GB, free: 127.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.7743, allocations: 11.62 kB / 1.614 GB, free: 127.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008777/0.7752, allocations: 190.5 kB / 1.614 GB, free: 127 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001636/0.7769, allocations: 0.8 MB / 1.615 GB, free: 126.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.93e-05/0.7769, allocations: 41 kB / 1.615 GB, free: 126.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/0.777, allocations: 60 kB / 1.615 GB, free: 126 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00125/0.7783, allocations: 0.7927 MB / 1.616 GB, free: 125.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/0.7783, allocations: 7.938 kB / 1.616 GB, free: 125.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.544e-05/0.7784, allocations: 21.03 kB / 1.616 GB, free: 125.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/0.7784, allocations: 16 kB / 1.616 GB, free: 125.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/0.7795, allocations: 0.5461 MB / 1.617 GB, free: 124.6 MB / 0.8542 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.004061/0.7836, allocations: 4.602 MB / 1.621 GB, free: 119.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008507/0.7845, allocations: 426 kB / 1.622 GB, free: 119.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004518/0.7849, allocations: 254.9 kB / 1.622 GB, free: 118.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002787/0.7852, allocations: 201.4 kB / 1.622 GB, free: 118.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005275/0.7858, allocations: 293.4 kB / 1.622 GB, free: 118.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=31): time 3.72e-06/0.7858, allocations: 3.938 kB / 1.622 GB, free: 118.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=31): time 0.001638/0.7874, allocations: 0.6528 MB / 1.623 GB, free: 117.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/0.7875, allocations: 85.06 kB / 1.623 GB, free: 117.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001508/0.789, allocations: 1.11 MB / 1.624 GB, free: 116.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.582e-05/0.7891, allocations: 37.7 kB / 1.624 GB, free: 116.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003944/0.7895, allocations: 496.1 kB / 1.625 GB, free: 116 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 9.951e-05/0.7896, allocations: 106.5 kB / 1.625 GB, free: 115.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.024e-05/0.7897, allocations: 8 kB / 1.625 GB, free: 115.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.343e-05/0.7898, allocations: 330 kB / 1.625 GB, free: 115.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004242/0.7902, allocations: 184.7 kB / 1.625 GB, free: 115.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005796/0.7908, allocations: 0.4979 MB / 1.626 GB, free: 114.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005035/0.7913, allocations: 297.4 kB / 1.626 GB, free: 114.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.799e-06/0.7913, allocations: 0 / 1.626 GB, free: 114.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001397/0.7927, allocations: 0.6805 MB / 1.627 GB, free: 113.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001238/0.7929, allocations: 279.1 kB / 1.627 GB, free: 113.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.7929, allocations: 7.938 kB / 1.627 GB, free: 113.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/0.7929, allocations: 12 kB / 1.627 GB, free: 113.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005294/0.7935, allocations: 115.8 kB / 1.627 GB, free: 113.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.429e-05/0.7935, allocations: 15.94 kB / 1.627 GB, free: 113.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009563/0.7945, allocations: 103.5 kB / 1.627 GB, free: 113.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.446e-05/0.7946, allocations: 24 kB / 1.627 GB, free: 113.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/0.7946, allocations: 7.75 kB / 1.627 GB, free: 113.1 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001047/0.7956, allocations: 0.536 MB / 1.628 GB, free: 112.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.66e-06/0.7957, allocations: 8.594 kB / 1.628 GB, free: 112.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.7957, allocations: 12 kB / 1.628 GB, free: 112.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004576/0.7962, allocations: 103.9 kB / 1.628 GB, free: 112.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/0.7962, allocations: 11.94 kB / 1.628 GB, free: 112.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009808/0.7972, allocations: 99.47 kB / 1.628 GB, free: 112.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.465e-05/0.7973, allocations: 26.95 kB / 1.628 GB, free: 112.3 MB / 0.8542 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.0005978/0.7979, allocations: 468.7 kB / 1.628 GB, free: 111.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/0.798, allocations: 98.78 kB / 1.628 GB, free: 111.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001031/0.7991, allocations: 0.4982 MB / 1.629 GB, free: 111.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.238e-06/0.7991, allocations: 4 kB / 1.629 GB, free: 111.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.546e-06/0.7991, allocations: 4 kB / 1.629 GB, free: 111.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.348e-06/0.7991, allocations: 7.938 kB / 1.629 GB, free: 111.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002327/0.8015, allocations: 1.391 MB / 1.63 GB, free: 109.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.8015, allocations: 3.953 kB / 1.63 GB, free: 109.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003226/0.8018, allocations: 67.89 kB / 1.63 GB, free: 109.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.329e-06/0.8018, allocations: 4.219 kB / 1.63 GB, free: 109.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.92e-05/0.8019, allocations: 12 kB / 1.63 GB, free: 109.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.553e-06/0.8019, allocations: 11.92 kB / 1.63 GB, free: 109.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.351e-06/0.8019, allocations: 0 / 1.63 GB, free: 109.6 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009414/0.8029, allocations: 0.6091 MB / 1.631 GB, free: 109 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003729/0.8033, allocations: 219.7 kB / 1.631 GB, free: 108.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001359/0.8034, allocations: 12 kB / 1.631 GB, free: 108.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006735/0.8041, allocations: 55.88 kB / 1.631 GB, free: 108.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.88e-05/0.8042, allocations: 31.95 kB / 1.631 GB, free: 108.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.147e-05/0.8043, allocations: 12 kB / 1.631 GB, free: 108.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001108/0.8054, allocations: 0.7914 MB / 1.632 GB, free: 107.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.8e-07/0.8054, allocations: 0 / 1.632 GB, free: 107.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001341/0.8067, allocations: 403.4 kB / 1.632 GB, free: 107.5 MB / 0.8542 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.0004047/0.8072, allocations: 184.5 kB / 1.633 GB, free: 107.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001538/0.8087, allocations: 0.7991 MB / 1.633 GB, free: 106.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.044e-06/0.8087, allocations: 4 kB / 1.633 GB, free: 106.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000441/0.8092, allocations: 213 kB / 1.634 GB, free: 106.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002516/0.8117, allocations: 463.6 kB / 1.634 GB, free: 105.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003067/0.8148, allocations: 1.954 MB / 1.636 GB, free: 103.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006711/0.8155, allocations: 1.2 MB / 1.637 GB, free: 102.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.00145/0.817, allocations: 416.1 kB / 1.638 GB, free: 102.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002084/0.8172, allocations: 75.42 kB / 1.638 GB, free: 102.1 MB / 0.8542 GB Notification: Performance of SimCode: time 1.872e-06/0.8172, allocations: 0 / 1.638 GB, free: 102.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.03341/0.8506, allocations: 15.99 MB / 1.653 GB, free: 86.41 MB / 0.8542 GB