Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.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.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.935/4.935, allocations: 0.5623 GB / 0.5769 GB, free: 3.316 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.002475/0.002475, allocations: 360.9 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.296/4.296, allocations: 410.7 MB / 1.112 GB, free: 5.906 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.001768/0.001768, allocations: 191.8 kB / 1.225 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005538/0.0005541, allocations: 11.98 kB / 1.348 GB, free: 8.176 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6228/0.6234, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised): time 0.1456/0.769, allocations: 151.4 MB / 1.609 GB, free: 132.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.005434/0.7745, allocations: 3.821 MB / 1.612 GB, free: 129.1 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000454/0.775, allocations: 11.88 kB / 1.612 GB, free: 129.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0006651/0.7757, allocations: 206.7 kB / 1.612 GB, free: 128.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.002163/0.7778, allocations: 0.7511 MB / 1.613 GB, free: 128.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001622/0.7795, allocations: 478.3 kB / 1.614 GB, free: 127.7 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.003103/0.7826, allocations: 3.26 MB / 1.617 GB, free: 124.4 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002803/0.7854, allocations: 2.172 MB / 1.619 GB, free: 122.3 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00226/0.7877, allocations: 0.9609 MB / 1.62 GB, free: 121.3 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001228/0.789, allocations: 0.8521 MB / 1.621 GB, free: 120.5 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001403/0.7892, allocations: 48 kB / 1.621 GB, free: 120.4 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001138/0.7903, allocations: 419 kB / 1.621 GB, free: 120 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0003254/0.7907, allocations: 334.8 kB / 1.622 GB, free: 119.7 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0002919/0.791, allocations: 257.1 kB / 1.622 GB, free: 119.4 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001206/0.7922, allocations: 1.134 MB / 1.623 GB, free: 118.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.153e-06/0.7922, allocations: 0 / 1.623 GB, free: 118.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.318e-06/0.7922, allocations: 0 / 1.623 GB, free: 118.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.52e-05/0.7923, allocations: 0 / 1.623 GB, free: 118.3 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.002671/0.7949, allocations: 1.499 MB / 1.624 GB, free: 116.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.795, allocations: 11.62 kB / 1.624 GB, free: 116.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/0.796, allocations: 206.2 kB / 1.625 GB, free: 116.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001874/0.7979, allocations: 0.8796 MB / 1.625 GB, free: 115.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.218e-05/0.798, allocations: 45.31 kB / 1.625 GB, free: 115.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/0.7981, allocations: 68 kB / 1.626 GB, free: 115.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001645/0.7998, allocations: 0.9909 MB / 1.626 GB, free: 114.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.426e-05/0.7998, allocations: 7.938 kB / 1.626 GB, free: 114.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-05/0.7999, allocations: 24 kB / 1.627 GB, free: 114.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/0.7999, allocations: 16 kB / 1.627 GB, free: 114.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001555/0.8015, allocations: 0.8038 MB / 1.627 GB, free: 113.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.004942/0.8065, allocations: 4.801 MB / 1.632 GB, free: 108.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001746/0.8082, allocations: 4.017 MB / 1.636 GB, free: 103.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006359/0.8089, allocations: 345.2 kB / 1.636 GB, free: 103.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002903/0.8092, allocations: 206.4 kB / 1.636 GB, free: 103 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005992/0.8098, allocations: 332.9 kB / 1.637 GB, free: 102.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003766/0.8102, allocations: 39.59 kB / 1.637 GB, free: 102.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=35): time 3.478e-06/0.8103, allocations: 3.938 kB / 1.637 GB, free: 102.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=35): time 0.006308/0.8166, allocations: 1.76 MB / 1.639 GB, free: 100.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.8167, allocations: 81.11 kB / 1.639 GB, free: 100.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001632/0.8183, allocations: 1.181 MB / 1.64 GB, free: 99.53 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.669e-05/0.8184, allocations: 37.7 kB / 1.64 GB, free: 99.49 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004347/0.8188, allocations: 0.5083 MB / 1.64 GB, free: 98.98 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.819, allocations: 126.2 kB / 1.64 GB, free: 98.85 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/0.819, allocations: 12 kB / 1.64 GB, free: 98.84 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.189e-05/0.8191, allocations: 326 kB / 1.641 GB, free: 98.52 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004472/0.8195, allocations: 209 kB / 1.641 GB, free: 98.31 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006329/0.8202, allocations: 0.5399 MB / 1.641 GB, free: 97.64 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005782/0.8208, allocations: 317.4 kB / 1.642 GB, free: 97.32 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.241e-06/0.8208, allocations: 7.953 kB / 1.642 GB, free: 97.31 MB / 0.8542 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002742/0.8236, allocations: 1.075 MB / 1.643 GB, free: 96.22 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001274/0.8237, allocations: 283 kB / 1.643 GB, free: 95.86 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.8237, allocations: 4 kB / 1.643 GB, free: 95.86 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00163/0.8254, allocations: 372.4 kB / 1.643 GB, free: 95.49 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003773/0.8258, allocations: 75.89 kB / 1.644 GB, free: 95.42 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001238/0.827, allocations: 1.051 MB / 1.645 GB, free: 94.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001219/0.8283, allocations: 95.86 kB / 1.645 GB, free: 94.25 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.152e-05/0.8284, allocations: 31.98 kB / 1.645 GB, free: 94.21 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.8284, allocations: 4 kB / 1.645 GB, free: 94.21 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00175/0.8301, allocations: 0.818 MB / 1.645 GB, free: 93.38 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.836e-06/0.8302, allocations: 4 kB / 1.645 GB, free: 93.38 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007945/0.831, allocations: 264 kB / 1.646 GB, free: 93.12 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003599/0.8314, allocations: 71.89 kB / 1.646 GB, free: 93.05 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004211/0.8356, allocations: 3.134 MB / 1.649 GB, free: 89.78 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/0.8368, allocations: 99.8 kB / 1.649 GB, free: 89.68 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.42e-05/0.8369, allocations: 24 kB / 1.649 GB, free: 89.66 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_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.0006291/0.8376, allocations: 484.2 kB / 1.649 GB, free: 89.18 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001765/0.8378, allocations: 110.6 kB / 1.65 GB, free: 89.07 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001696/0.8395, allocations: 0.8145 MB / 1.65 GB, free: 88.24 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.179e-06/0.8395, allocations: 4 kB / 1.65 GB, free: 88.24 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.115e-06/0.8395, allocations: 4 kB / 1.65 GB, free: 88.23 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.8395, allocations: 0 / 1.65 GB, free: 88.23 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 postOpt removeSimpleEquations (simulation): time 0.003597/0.8431, allocations: 2.174 MB / 1.652 GB, free: 85.92 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.019e-06/0.8432, allocations: 3.984 kB / 1.652 GB, free: 85.92 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002972/0.8435, allocations: 48.19 kB / 1.653 GB, free: 85.87 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006634/0.8442, allocations: 212.6 kB / 1.653 GB, free: 85.66 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.474e-05/0.8442, allocations: 8 kB / 1.653 GB, free: 85.65 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008309/0.845, allocations: 0.8801 MB / 1.654 GB, free: 84.75 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.611e-06/0.8451, allocations: 3.938 kB / 1.654 GB, free: 84.74 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001579/0.8467, allocations: 0.8906 MB / 1.654 GB, free: 83.81 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004763/0.8472, allocations: 235.7 kB / 1.655 GB, free: 83.56 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001583/0.8473, allocations: 11.98 kB / 1.655 GB, free: 83.55 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009002/0.8482, allocations: 75.86 kB / 1.655 GB, free: 83.48 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.8484, allocations: 35.94 kB / 1.655 GB, free: 83.44 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.818e-05/0.8484, allocations: 19.98 kB / 1.655 GB, free: 83.42 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001223/0.8496, allocations: 0.825 MB / 1.656 GB, free: 82.59 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.5e-07/0.8497, allocations: 0 / 1.656 GB, free: 82.59 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001664/0.8513, allocations: 0.511 MB / 1.656 GB, free: 82.08 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_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 19 * 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 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004261/0.8518, allocations: 174.1 kB / 1.656 GB, free: 81.91 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002286/0.8541, allocations: 1.152 MB / 1.657 GB, free: 80.71 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.432e-06/0.8541, allocations: 0 / 1.657 GB, free: 80.71 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0005977/0.8547, allocations: 263.9 kB / 1.658 GB, free: 80.46 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003826/0.8586, allocations: 0.6614 MB / 1.658 GB, free: 79.81 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003257/0.8618, allocations: 2.102 MB / 1.66 GB, free: 77.66 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000721/0.8626, allocations: 1.236 MB / 1.662 GB, free: 76.39 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.00137/0.864, allocations: 328.6 kB / 1.662 GB, free: 76.07 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001828/0.8642, allocations: 67.42 kB / 1.662 GB, free: 76 MB / 0.8542 GB Notification: Performance of SimCode: time 2.441e-06/0.8642, allocations: 0 / 1.662 GB, free: 76 MB / 0.8542 GB Notification: Performance of Templates: time 0.05901/0.9232, allocations: 21.13 MB / 1.683 GB, free: 55.3 MB / 0.8542 GB