Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.797/4.797, allocations: 0.5623 GB / 0.5776 GB, free: 3.324 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.003079/0.003079, allocations: 357 kB / 0.6447 GB, free: 185.7 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.14/4.14, allocations: 410.7 MB / 1.113 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.001851/0.001851, allocations: 187.8 kB / 1.226 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.001611/0.001612, allocations: 12 kB / 1.349 GB, free: 8.312 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7179/0.7196, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised): time 0.1783/0.8979, allocations: 151.4 MB / 1.609 GB, free: 133 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.004391/0.9024, allocations: 2.195 MB / 1.611 GB, free: 130.9 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003419/0.9028, allocations: 19.88 kB / 1.611 GB, free: 130.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0007891/0.9036, allocations: 210.7 kB / 1.612 GB, free: 130.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.002224/0.9058, allocations: 0.7431 MB / 1.612 GB, free: 129.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001606/0.9074, allocations: 435.8 kB / 1.613 GB, free: 129.5 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.003618/0.9111, allocations: 3.256 MB / 1.616 GB, free: 126.2 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003405/0.9145, allocations: 2.171 MB / 1.618 GB, free: 124 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001864/0.9164, allocations: 0.957 MB / 1.619 GB, free: 123.1 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001307/0.9177, allocations: 0.8404 MB / 1.62 GB, free: 122.2 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001594/0.9179, allocations: 48 kB / 1.62 GB, free: 122.2 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001627/0.9195, allocations: 0.5768 MB / 1.62 GB, free: 121.6 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0003931/0.9199, allocations: 330.8 kB / 1.621 GB, free: 121.3 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0003553/0.9203, allocations: 253.1 kB / 1.621 GB, free: 121 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001619/0.9219, allocations: 1.181 MB / 1.622 GB, free: 119.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.922, allocations: 0 / 1.622 GB, free: 119.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.485e-06/0.922, allocations: 0 / 1.622 GB, free: 119.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.709e-05/0.922, allocations: 0 / 1.622 GB, free: 119.8 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.00368/0.9257, allocations: 1.514 MB / 1.624 GB, free: 118.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.9257, allocations: 23.56 kB / 1.624 GB, free: 118.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001044/0.9268, allocations: 198.4 kB / 1.624 GB, free: 118.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002165/0.929, allocations: 0.864 MB / 1.625 GB, free: 117.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.398e-05/0.9291, allocations: 53.3 kB / 1.625 GB, free: 117.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001525/0.9292, allocations: 68 kB / 1.625 GB, free: 117 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001977/0.9312, allocations: 0.987 MB / 1.626 GB, free: 116 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.656e-05/0.9313, allocations: 7.938 kB / 1.626 GB, free: 116 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.313e-05/0.9314, allocations: 24 kB / 1.626 GB, free: 115.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/0.9314, allocations: 12 kB / 1.626 GB, free: 115.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001975/0.9334, allocations: 0.8038 MB / 1.626 GB, free: 115.1 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.005693/0.9391, allocations: 4.816 MB / 1.631 GB, free: 110 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002412/0.9415, allocations: 4.019 MB / 1.635 GB, free: 105.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007791/0.9423, allocations: 349.2 kB / 1.635 GB, free: 104.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003442/0.9427, allocations: 194.5 kB / 1.636 GB, free: 104.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007137/0.9434, allocations: 329 kB / 1.636 GB, free: 104.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000464/0.9439, allocations: 27.69 kB / 1.636 GB, free: 104.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=35): time 2.435e-06/0.9439, allocations: 0 / 1.636 GB, free: 104.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=35): time 0.007673/0.9516, allocations: 1.625 MB / 1.638 GB, free: 102.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/0.9517, allocations: 81.11 kB / 1.638 GB, free: 102.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001945/0.9536, allocations: 1.169 MB / 1.639 GB, free: 101.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.963e-05/0.9537, allocations: 37.7 kB / 1.639 GB, free: 101.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004836/0.9542, allocations: 0.5198 MB / 1.639 GB, free: 100.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/0.9543, allocations: 126.2 kB / 1.639 GB, free: 100.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-05/0.9544, allocations: 8 kB / 1.639 GB, free: 100.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.734e-05/0.9545, allocations: 337.9 kB / 1.64 GB, free: 100.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000577/0.9551, allocations: 205 kB / 1.64 GB, free: 100 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007881/0.9559, allocations: 0.5399 MB / 1.64 GB, free: 99.33 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000698/0.9566, allocations: 321.4 kB / 1.641 GB, free: 99.01 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.9566, allocations: 0 / 1.641 GB, free: 99.01 MB / 0.8542 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.003336/0.9599, allocations: 1.04 MB / 1.642 GB, free: 97.95 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001366/0.9601, allocations: 271 kB / 1.642 GB, free: 97.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.9601, allocations: 12 kB / 1.642 GB, free: 97.59 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001976/0.9621, allocations: 336.3 kB / 1.642 GB, free: 97.26 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000688/0.9628, allocations: 107.9 kB / 1.643 GB, free: 97.16 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001281/0.9641, allocations: 1.001 MB / 1.643 GB, free: 96.13 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001683/0.9658, allocations: 103.9 kB / 1.644 GB, free: 96.03 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.566e-05/0.9659, allocations: 27.98 kB / 1.644 GB, free: 96 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.9659, allocations: 4 kB / 1.644 GB, free: 96 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002084/0.968, allocations: 0.7863 MB / 1.644 GB, free: 95.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.9681, allocations: 4 kB / 1.644 GB, free: 95.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008752/0.9689, allocations: 233.3 kB / 1.645 GB, free: 94.97 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006562/0.9696, allocations: 103.8 kB / 1.645 GB, free: 94.87 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004635/0.9743, allocations: 2.935 MB / 1.648 GB, free: 91.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001654/0.976, allocations: 99.8 kB / 1.648 GB, free: 91.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.223e-05/0.976, allocations: 24 kB / 1.648 GB, free: 91.68 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 (38): * Single equations (assignments): 36 * 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.0007071/0.9768, allocations: 476.7 kB / 1.648 GB, free: 91.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001751/0.9769, allocations: 106.7 kB / 1.648 GB, free: 91.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002079/0.979, allocations: 0.7951 MB / 1.649 GB, free: 90.29 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.9791, allocations: 3.938 kB / 1.649 GB, free: 90.29 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.267e-06/0.9791, allocations: 0 / 1.649 GB, free: 90.29 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004673/0.9796, allocations: 231.7 kB / 1.649 GB, free: 90.04 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001839/0.9797, allocations: 12 kB / 1.649 GB, free: 90.03 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001203/0.981, allocations: 71.83 kB / 1.649 GB, free: 89.96 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/0.9811, allocations: 47.91 kB / 1.649 GB, free: 89.91 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002445/0.9836, allocations: 0.8849 MB / 1.65 GB, free: 89.02 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001927/0.9855, allocations: 1.01 MB / 1.651 GB, free: 88 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005409/0.9861, allocations: 205.4 kB / 1.651 GB, free: 87.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.00145/0.9876, allocations: 0.8326 MB / 1.652 GB, free: 86.96 MB / 0.8542 GB Notification: Performance of Backend: time 8.22e-07/0.9876, allocations: 0 / 1.652 GB, free: 86.96 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.003838/0.9914, allocations: 1.209 MB / 1.653 GB, free: 85.71 MB / 0.8542 GB Notification: Performance of SimCode: time 0.006401/0.9979, allocations: 3.032 MB / 1.656 GB, free: 82.64 MB / 0.8542 GB Notification: Performance of Templates: time 0.0469/1.045, allocations: 20.36 MB / 1.676 GB, free: 62.66 MB / 0.8542 GB