Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController") Notification: Performance of loadModel(Buildings): time 3.848/3.848, allocations: 433.4 MB / 440.9 MB, free: 10.38 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.988e-05/1.996e-05, allocations: 4 kB / 0.5325 GB, free: 1.832 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4899/0.4899, allocations: 98.7 MB / 0.6289 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9581/1.448, allocations: 432.9 MB / 1.052 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00029/1.448, allocations: 103.2 kB / 1.052 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 11.54/12.99, allocations: 2.499 GB / 3.551 GB, free: 55.11 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.347e-06/12.99, allocations: 0 / 3.551 GB, free: 55.11 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0009948/12.99, allocations: 169.5 kB / 3.551 GB, free: 55.08 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 950 * Number of variables: 950 Notification: Performance of Generate backend data structure: time 0.01582/13, allocations: 5.736 MB / 3.557 GB, free: 52.39 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/13, allocations: 10.19 kB / 3.557 GB, free: 52.39 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007765/13.01, allocations: 1.35 MB / 3.558 GB, free: 52.02 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02109/13.03, allocations: 6.637 MB / 3.564 GB, free: 51.06 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002503/13.03, allocations: 0.5406 MB / 3.565 GB, free: 51.05 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001559/13.04, allocations: 246.5 kB / 3.565 GB, free: 51.05 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0106/13.05, allocations: 3.443 MB / 3.569 GB, free: 51.03 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01165/13.06, allocations: 3.877 MB / 3.572 GB, free: 50.48 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000107/13.06, allocations: 6.25 kB / 3.572 GB, free: 50.48 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005623/13.06, allocations: 4.5 kB / 3.572 GB, free: 50.48 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.96e-05/13.06, allocations: 94.91 kB / 3.572 GB, free: 50.48 MB / 0.9323 GB Warning: The model contains alias variables with conflicting start and/or 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.04057/13.1, allocations: 22.79 MB / 3.595 GB, free: 40.11 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0046/13.1, allocations: 2.362 MB / 3.597 GB, free: 39.78 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002749/13.11, allocations: 1.319 MB / 3.598 GB, free: 39.77 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00169/13.11, allocations: 1.921 MB / 3.6 GB, free: 37.7 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003136/13.11, allocations: 1.442 MB / 3.602 GB, free: 37.59 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003797/13.12, allocations: 372.7 kB / 3.602 GB, free: 37.49 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=250): time 8.196e-06/13.12, allocations: 0 / 3.602 GB, free: 37.49 MB / 0.9323 GB Notification: Performance of matching and sorting (n=250): time 0.01053/13.13, allocations: 3.246 MB / 3.605 GB, free: 37.11 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001238/13.13, allocations: 0.4892 MB / 3.606 GB, free: 36.55 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008722/13.14, allocations: 3.568 MB / 3.609 GB, free: 36.23 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0008655/13.14, allocations: 36.17 kB / 3.609 GB, free: 36.2 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.003768/13.14, allocations: 2.621 MB / 3.612 GB, free: 35.45 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.001188/13.14, allocations: 0.8208 MB / 3.612 GB, free: 34.89 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003002/13.14, allocations: 1.719 kB / 3.612 GB, free: 34.89 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0002058/13.14, allocations: 420.2 kB / 3.613 GB, free: 34.59 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002561/13.14, allocations: 1.163 MB / 3.614 GB, free: 34.58 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003441/13.15, allocations: 2.057 MB / 3.616 GB, free: 33.61 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005812/13.15, allocations: 1.626 MB / 3.618 GB, free: 33.56 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.772e-05/13.15, allocations: 6.891 kB / 3.618 GB, free: 33.56 MB / 0.9323 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.01325/13.17, allocations: 4.023 MB / 3.622 GB, free: 33.14 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.00143/13.17, allocations: 7.519 MB / 3.629 GB, free: 25.27 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.777e-05/13.17, allocations: 22.09 kB / 3.629 GB, free: 25.27 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007284/13.17, allocations: 251.1 kB / 3.629 GB, free: 25.24 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004994/13.17, allocations: 0.7998 MB / 3.63 GB, free: 25.23 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002169/13.18, allocations: 1.58 MB / 3.631 GB, free: 24.16 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006716/13.18, allocations: 471.4 kB / 3.632 GB, free: 24.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008112/13.18, allocations: 155.3 kB / 3.632 GB, free: 24.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/13.18, allocations: 5.688 kB / 3.632 GB, free: 24.1 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0108/13.2, allocations: 3.351 MB / 3.635 GB, free: 23.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.205e-05/13.2, allocations: 18.94 kB / 3.635 GB, free: 23.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009428/13.2, allocations: 247 kB / 3.636 GB, free: 23.88 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00492/13.2, allocations: 0.7705 MB / 3.636 GB, free: 23.83 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006686/13.21, allocations: 4.202 MB / 3.64 GB, free: 21.21 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007067/13.22, allocations: 448 kB / 3.641 GB, free: 21.15 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000888/13.22, allocations: 159.1 kB / 3.641 GB, free: 21.14 MB / 0.9323 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: hex3.m2_flow:VARIABLE(min = -100000.0 max = 100000.0 unit = "kg/s" ) "Mass flow rate from port_a2 to port_b2 (m2_flow > 0 is design flow direction)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$whenCondition3,hex1.trigger,$PRE.tri.pulsStart,tri.pulsStart,$whenCondition1,TCon_in.a,TCon_in.b,TCon_in.last,$PRE.TCon_in.nextEvent,TCon_in.nextEvent,TCon_in.nextEventScaled,hex3.con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (356): * Single equations (assignments): 347 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {6 13,3 4} Notification: Performance of prepare postOptimizeDAE: time 0.001129/13.22, allocations: 220.6 kB / 3.641 GB, free: 20.96 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001553/13.22, allocations: 0.5042 MB / 3.642 GB, free: 20.69 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01255/13.23, allocations: 3.877 MB / 3.646 GB, free: 20.36 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.535e-05/13.23, allocations: 34.16 kB / 3.646 GB, free: 20.36 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.966e-06/13.23, allocations: 1.375 kB / 3.646 GB, free: 20.36 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00929/13.24, allocations: 2.964 MB / 3.648 GB, free: 20.07 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02289/13.26, allocations: 8.279 MB / 3.657 GB, free: 19.49 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.528e-05/13.26, allocations: 0 / 3.657 GB, free: 19.49 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003713/13.27, allocations: 0.6061 MB / 3.657 GB, free: 19.45 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005245/13.27, allocations: 185 kB / 3.657 GB, free: 19.43 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003915/13.27, allocations: 53.28 kB / 3.657 GB, free: 19.43 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001281/13.27, allocations: 1.433 MB / 3.659 GB, free: 18.36 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.062e-06/13.27, allocations: 0 / 3.659 GB, free: 18.36 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01407/13.28, allocations: 5.348 MB / 3.664 GB, free: 17.63 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003745/13.29, allocations: 1.085 MB / 3.665 GB, free: 17.25 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001549/13.29, allocations: 17.48 kB / 3.665 GB, free: 17.25 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006193/13.3, allocations: 482.6 kB / 3.666 GB, free: 17.18 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006498/13.3, allocations: 177.9 kB / 3.666 GB, free: 17.18 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004636/13.3, allocations: 117.5 kB / 3.666 GB, free: 17.18 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.006369/13.3, allocations: 2.645 MB / 3.668 GB, free: 17 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.931e-06/13.3, allocations: 0 / 3.668 GB, free: 17 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0156/13.32, allocations: 2.903 MB / 3.671 GB, free: 16.58 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 15 (hex1.thrWayVal.vol.dynBal.U,hex1.thrWayVal.filter.x[1],hex1.thrWayVal.filter.x[2],hex1.con.I.y,TSen1.T,TSen2.T,hex2.thrWayVal.vol.dynBal.U,hex2.thrWayVal.filter.x[1],hex2.thrWayVal.filter.x[2],hex2.con.I.y,hex3.thrWayVal.vol.dynBal.U,hex3.thrWayVal.filter.x[1],hex3.thrWayVal.filter.x[2],hex3.con.I.y,TSen3.T) * Number of discrete variables: 10 (hex1.trigger,$whenCondition3,$whenCondition2,$whenCondition1,TCon_in.a,TCon_in.b,TCon_in.last,TCon_in.nextEvent,TCon_in.nextEventScaled,tri.pulsStart) * Number of discrete states: 6 (TCon_in.nextEvent,TCon_in.last,TCon_in.nextEventScaled,TCon_in.b,TCon_in.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (269): * Single equations (assignments): 252 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 13 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {6 10,3 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.005232/13.32, allocations: 2.644 MB / 3.674 GB, free: 15.29 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01333/13.34, allocations: 5.569 MB / 3.679 GB, free: 14.52 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.26e-05/13.34, allocations: 4.344 kB / 3.679 GB, free: 14.51 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.003585/13.34, allocations: 1.598 MB / 3.681 GB, free: 14.38 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01429/13.36, allocations: 2.31 MB / 3.683 GB, free: 14.26 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01925/13.37, allocations: 7.479 MB / 3.69 GB, free: 11.58 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003833/13.38, allocations: 2.955 MB / 3.693 GB, free: 10.63 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.01187/13.39, allocations: 1.432 MB / 3.695 GB, free: 10.36 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001546/13.39, allocations: 335.5 kB / 3.695 GB, free: 10.34 MB / 0.9323 GB Notification: Performance of SimCode: time 1.977e-06/13.39, allocations: 0 / 3.695 GB, free: 10.34 MB / 0.9323 GB Notification: Performance of Templates: time 0.9083/14.3, allocations: 105.9 MB / 3.798 GB, free: 84.39 MB / 0.9636 GB