Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController,fileNamePrefix="Buildings_6_0_0_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger_ResetController",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.051/4.051, allocations: 433.2 MB / 440.7 MB, free: 4.582 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.386e-05/3.414e-05, allocations: 3.562 kB / 0.5325 GB, free: 12.79 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.2282, allocations: 98.74 MB / 0.6289 GB, free: 9.141 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.287/1.516, allocations: 432.9 MB / 1.052 GB, free: 1.77 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000389/1.516, allocations: 101.2 kB / 1.052 GB, free: 1.715 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 13.79/15.31, allocations: 2.499 GB / 3.551 GB, free: 53.6 MB / 0.9324 GB Notification: Performance of FrontEnd: time 6.863e-06/15.31, allocations: 1.875 kB / 3.551 GB, free: 53.6 MB / 0.9324 GB Notification: Performance of Transformations before backend: time 0.00218/15.31, allocations: 169.4 kB / 3.551 GB, free: 53.57 MB / 0.9324 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.03157/15.34, allocations: 5.745 MB / 3.557 GB, free: 50.94 MB / 0.9324 GB Notification: Performance of prepare preOptimizeDAE: time 8.239e-05/15.34, allocations: 12.56 kB / 3.557 GB, free: 50.94 MB / 0.9324 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01476/15.35, allocations: 1.346 MB / 3.558 GB, free: 50.57 MB / 0.9324 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03177/15.39, allocations: 6.628 MB / 3.564 GB, free: 49.6 MB / 0.9324 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003688/15.39, allocations: 0.546 MB / 3.565 GB, free: 49.59 MB / 0.9324 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002081/15.39, allocations: 244.7 kB / 3.565 GB, free: 49.59 MB / 0.9324 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01348/15.41, allocations: 3.442 MB / 3.569 GB, free: 49.57 MB / 0.9324 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0163/15.42, allocations: 3.875 MB / 3.572 GB, free: 49.02 MB / 0.9324 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001356/15.42, allocations: 5.062 kB / 3.572 GB, free: 49.02 MB / 0.9324 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007064/15.42, allocations: 8.406 kB / 3.572 GB, free: 49.02 MB / 0.9324 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001282/15.42, allocations: 101.8 kB / 3.572 GB, free: 49.02 MB / 0.9324 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.05393/15.48, allocations: 22.78 MB / 3.595 GB, free: 38.66 MB / 0.9324 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005472/15.48, allocations: 2.359 MB / 3.597 GB, free: 38.33 MB / 0.9324 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003248/15.49, allocations: 1.322 MB / 3.598 GB, free: 38.32 MB / 0.9324 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002296/15.49, allocations: 1.915 MB / 3.6 GB, free: 36.25 MB / 0.9324 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004099/15.49, allocations: 1.443 MB / 3.602 GB, free: 36.14 MB / 0.9324 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004857/15.5, allocations: 371.3 kB / 3.602 GB, free: 36.04 MB / 0.9324 GB Notification: Performance of pre-optimization done (n=250): time 2.178e-05/15.5, allocations: 0 / 3.602 GB, free: 36.04 MB / 0.9324 GB Notification: Performance of matching and sorting (n=250): time 0.01335/15.51, allocations: 3.25 MB / 3.605 GB, free: 35.66 MB / 0.9324 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001671/15.51, allocations: 498.2 kB / 3.606 GB, free: 35.1 MB / 0.9324 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009603/15.52, allocations: 3.574 MB / 3.609 GB, free: 34.78 MB / 0.9324 GB Notification: Performance of collectPreVariables (initialization): time 0.001103/15.52, allocations: 31.48 kB / 3.609 GB, free: 34.75 MB / 0.9324 GB Notification: Performance of collectInitialEqns (initialization): time 0.00395/15.53, allocations: 2.629 MB / 3.612 GB, free: 33.99 MB / 0.9324 GB Notification: Performance of collectInitialBindings (initialization): time 0.001476/15.53, allocations: 0.8179 MB / 3.612 GB, free: 33.44 MB / 0.9324 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003751/15.53, allocations: 0 / 3.612 GB, free: 33.44 MB / 0.9324 GB Notification: Performance of setup shared object (initialization): time 0.0002257/15.53, allocations: 418.8 kB / 3.613 GB, free: 33.13 MB / 0.9324 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00304/15.53, allocations: 1.167 MB / 3.614 GB, free: 33.12 MB / 0.9324 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004144/15.54, allocations: 2.049 MB / 3.616 GB, free: 32.16 MB / 0.9324 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00671/15.54, allocations: 1.632 MB / 3.618 GB, free: 32.11 MB / 0.9324 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.715e-05/15.54, allocations: 2.719 kB / 3.618 GB, free: 32.11 MB / 0.9324 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.01612/15.56, allocations: 4.033 MB / 3.622 GB, free: 31.7 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 0.001672/15.56, allocations: 7.516 MB / 3.629 GB, free: 23.83 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001401/15.56, allocations: 23.42 kB / 3.629 GB, free: 23.83 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009603/15.56, allocations: 251.5 kB / 3.629 GB, free: 23.8 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007114/15.57, allocations: 0.7895 MB / 3.63 GB, free: 23.79 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002576/15.57, allocations: 1.579 MB / 3.631 GB, free: 22.73 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009439/15.58, allocations: 470.9 kB / 3.632 GB, free: 22.67 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00123/15.58, allocations: 156.4 kB / 3.632 GB, free: 22.67 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/15.58, allocations: 3.594 kB / 3.632 GB, free: 22.67 MB / 0.9324 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01262/15.59, allocations: 3.354 MB / 3.635 GB, free: 22.51 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.05e-05/15.59, allocations: 22.88 kB / 3.635 GB, free: 22.51 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001078/15.6, allocations: 239.9 kB / 3.636 GB, free: 22.49 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006826/15.6, allocations: 0.7752 MB / 3.636 GB, free: 22.43 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007542/15.61, allocations: 4.208 MB / 3.64 GB, free: 19.8 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008993/15.62, allocations: 447.8 kB / 3.641 GB, free: 19.75 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001146/15.62, allocations: 152.7 kB / 3.641 GB, free: 19.75 MB / 0.9324 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.001319/15.62, allocations: 228.1 kB / 3.641 GB, free: 19.55 MB / 0.9324 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01215/15.63, allocations: 3.154 MB / 3.644 GB, free: 19.16 MB / 0.9324 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002248/15.64, allocations: 0.5047 MB / 3.645 GB, free: 18.89 MB / 0.9324 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01478/15.65, allocations: 3.873 MB / 3.649 GB, free: 18.57 MB / 0.9324 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.344e-05/15.65, allocations: 30.38 kB / 3.649 GB, free: 18.57 MB / 0.9324 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/15.65, allocations: 0 / 3.649 GB, free: 18.57 MB / 0.9324 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01031/15.66, allocations: 2.977 MB / 3.652 GB, free: 18.26 MB / 0.9324 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02758/15.69, allocations: 8.267 MB / 3.66 GB, free: 17.68 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.767e-05/15.69, allocations: 4.047 kB / 3.66 GB, free: 17.68 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005892/15.69, allocations: 0.6088 MB / 3.66 GB, free: 17.64 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006864/15.7, allocations: 184 kB / 3.66 GB, free: 17.62 MB / 0.9324 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006665/15.7, allocations: 58.69 kB / 3.66 GB, free: 17.62 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001537/15.7, allocations: 1.421 MB / 3.662 GB, free: 16.56 MB / 0.9324 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/15.7, allocations: 6.594 kB / 3.662 GB, free: 16.56 MB / 0.9324 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01656/15.71, allocations: 5.354 MB / 3.667 GB, free: 15.82 MB / 0.9324 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00458/15.72, allocations: 1.081 MB / 3.668 GB, free: 15.44 MB / 0.9324 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002061/15.72, allocations: 19.69 kB / 3.668 GB, free: 15.44 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009165/15.73, allocations: 482.3 kB / 3.669 GB, free: 15.38 MB / 0.9324 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008701/15.73, allocations: 175.5 kB / 3.669 GB, free: 15.37 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000522/15.73, allocations: 122.8 kB / 3.669 GB, free: 15.37 MB / 0.9324 GB Notification: Performance of sorting global known variables: time 0.007451/15.74, allocations: 2.646 MB / 3.671 GB, free: 15.19 MB / 0.9324 GB Notification: Performance of sort global known variables: time 1.112e-06/15.74, allocations: 0 / 3.671 GB, free: 15.19 MB / 0.9324 GB Notification: Performance of remove unused functions: time 0.02014/15.76, allocations: 2.893 MB / 3.674 GB, free: 14.77 MB / 0.9324 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.02246/15.78, allocations: 8.434 MB / 3.683 GB, free: 12.29 MB / 0.9324 GB Notification: Performance of simCode: created initialization part: time 0.01562/15.8, allocations: 5.571 MB / 3.688 GB, free: 11.51 MB / 0.9324 GB Notification: Performance of simCode: created event and clocks part: time 1.244e-05/15.8, allocations: 6.688 kB / 3.688 GB, free: 11.51 MB / 0.9324 GB Notification: Performance of simCode: created simulation system equations: time 0.004283/15.8, allocations: 1.591 MB / 3.69 GB, free: 11.38 MB / 0.9324 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02017/15.82, allocations: 2.316 MB / 3.692 GB, free: 11.23 MB / 0.9324 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03063/15.85, allocations: 8.491 MB / 3.7 GB, free: 7.82 MB / 0.9324 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004271/15.86, allocations: 2.954 MB / 3.703 GB, free: 6.875 MB / 0.9324 GB Notification: Performance of simCode: alias equations: time 0.01435/15.87, allocations: 1.443 MB / 3.704 GB, free: 6.602 MB / 0.9324 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005768/15.88, allocations: 2.467 MB / 3.707 GB, free: 4.602 MB / 0.9324 GB Notification: Performance of SimCode: time 1.443e-06/15.88, allocations: 0 / 3.707 GB, free: 4.602 MB / 0.9324 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.517/17.39, allocations: 154 MB / 3.857 GB, free: 74.98 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002069/17.4, allocations: 233.2 kB / 3.857 GB, free: 74.7 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/29.59, allocations: 0 / 3.857 GB, free: 74.7 MB / 0.9636 GB