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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.161/4.161, allocations: 432.6 MB / 445.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.036e-05/4.051e-05, allocations: 3.406 kB / 0.5383 GB, free: 10.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2298, allocations: 98.73 MB / 0.6347 GB, free: 1.879 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.275/1.505, allocations: 433.5 MB / 1.058 GB, free: 6.07 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003753/1.505, allocations: 107.8 kB / 1.058 GB, free: 6.012 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 13.96/15.47, allocations: 2.512 GB / 3.57 GB, free: 60.37 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.266e-06/15.47, allocations: 0 / 3.57 GB, free: 60.37 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.001407/15.47, allocations: 172.2 kB / 3.57 GB, free: 60.34 MB / 0.948 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.02325/15.49, allocations: 5.747 MB / 3.576 GB, free: 57.73 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.605e-05/15.49, allocations: 9.781 kB / 3.576 GB, free: 57.73 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002422/15.5, allocations: 499.4 kB / 3.576 GB, free: 57.67 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01102/15.51, allocations: 1.354 MB / 3.577 GB, free: 57.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02663/15.53, allocations: 6.624 MB / 3.584 GB, free: 56.33 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003929/15.54, allocations: 0.6916 MB / 3.585 GB, free: 56.32 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002525/15.54, allocations: 409.5 kB / 3.585 GB, free: 56.32 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01881/15.56, allocations: 4.449 MB / 3.589 GB, free: 55.74 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000237/15.56, allocations: 2.062 kB / 3.589 GB, free: 55.74 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00181/15.56, allocations: 161.4 kB / 3.59 GB, free: 55.74 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001548/15.56, allocations: 97.17 kB / 3.59 GB, free: 55.74 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01393/15.58, allocations: 3.619 MB / 3.593 GB, free: 55.71 MB / 0.948 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.0596/15.64, allocations: 23.54 MB / 3.616 GB, free: 45.19 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006294/15.64, allocations: 2.423 MB / 3.619 GB, free: 44.84 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003896/15.65, allocations: 1.378 MB / 3.62 GB, free: 44.83 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002414/15.65, allocations: 1.91 MB / 3.622 GB, free: 42.77 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004829/15.65, allocations: 1.524 MB / 3.623 GB, free: 42.66 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005417/15.66, allocations: 468.2 kB / 3.624 GB, free: 42.52 MB / 0.948 GB Notification: Performance of pre-optimization done (n=250): time 1.905e-05/15.66, allocations: 2.75 kB / 3.624 GB, free: 42.52 MB / 0.948 GB Notification: Performance of matching and sorting (n=250): time 0.01154/15.67, allocations: 3.136 MB / 3.627 GB, free: 42.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001791/15.67, allocations: 498.9 kB / 3.627 GB, free: 41.53 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01197/15.68, allocations: 4.177 MB / 3.631 GB, free: 41.13 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001118/15.68, allocations: 91.88 kB / 3.631 GB, free: 41.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004368/15.69, allocations: 2.622 MB / 3.634 GB, free: 40.44 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001578/15.69, allocations: 0.8479 MB / 3.635 GB, free: 39.89 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004303/15.69, allocations: 62.09 kB / 3.635 GB, free: 39.89 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000259/15.69, allocations: 423.4 kB / 3.635 GB, free: 39.58 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003702/15.69, allocations: 1.202 MB / 3.636 GB, free: 39.57 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005051/15.7, allocations: 2.118 MB / 3.638 GB, free: 38.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004668/15.7, allocations: 1.474 MB / 3.64 GB, free: 38.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.503e-05/15.7, allocations: 3.469 kB / 3.64 GB, free: 38.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.01427/15.72, allocations: 4.026 MB / 3.644 GB, free: 38.05 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001657/15.72, allocations: 7.673 MB / 3.651 GB, free: 30.23 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001462/15.72, allocations: 22.14 kB / 3.651 GB, free: 30.23 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001223/15.72, allocations: 285.7 kB / 3.652 GB, free: 30.21 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007636/15.73, allocations: 0.7949 MB / 3.652 GB, free: 30.19 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00274/15.73, allocations: 1.506 MB / 3.654 GB, free: 29.14 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0105/15.74, allocations: 0.5441 MB / 3.654 GB, free: 29.07 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001192/15.74, allocations: 157.2 kB / 3.655 GB, free: 29.07 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/15.74, allocations: 6.75 kB / 3.655 GB, free: 29.07 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01183/15.76, allocations: 3.469 MB / 3.658 GB, free: 28.84 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.225e-05/15.76, allocations: 22.05 kB / 3.658 GB, free: 28.84 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001139/15.76, allocations: 259.8 kB / 3.658 GB, free: 28.81 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007267/15.77, allocations: 0.7738 MB / 3.659 GB, free: 28.76 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008735/15.77, allocations: 4.37 MB / 3.663 GB, free: 26.03 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009713/15.78, allocations: 0.5191 MB / 3.664 GB, free: 25.96 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001136/15.78, allocations: 152.6 kB / 3.664 GB, free: 25.96 MB / 0.948 GB 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.001289/15.79, allocations: 323.4 kB / 3.664 GB, free: 25.78 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001969/15.79, allocations: 0.5456 MB / 3.665 GB, free: 25.48 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01278/15.8, allocations: 3.978 MB / 3.669 GB, free: 25.12 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.488e-05/15.8, allocations: 36.77 kB / 3.669 GB, free: 25.12 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/15.8, allocations: 0 / 3.669 GB, free: 25.12 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008403/15.81, allocations: 2.97 MB / 3.672 GB, free: 24.79 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02568/15.84, allocations: 8.767 MB / 3.68 GB, free: 24.11 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.82e-05/15.84, allocations: 3.953 kB / 3.68 GB, free: 24.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00569/15.84, allocations: 0.6088 MB / 3.681 GB, free: 24.06 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008601/15.84, allocations: 222.6 kB / 3.681 GB, free: 24.04 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004151/15.84, allocations: 80.23 kB / 3.681 GB, free: 24.04 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001471/15.84, allocations: 1.406 MB / 3.682 GB, free: 22.98 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/15.84, allocations: 4 kB / 3.682 GB, free: 22.98 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01425/15.86, allocations: 5.448 MB / 3.688 GB, free: 22.19 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004747/15.86, allocations: 1.132 MB / 3.689 GB, free: 21.78 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001948/15.86, allocations: 59.06 kB / 3.689 GB, free: 21.78 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009178/15.87, allocations: 0.5176 MB / 3.689 GB, free: 21.72 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006888/15.87, allocations: 174.1 kB / 3.69 GB, free: 21.72 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000506/15.88, allocations: 121.2 kB / 3.69 GB, free: 21.71 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.008642/15.88, allocations: 3.182 MB / 3.693 GB, free: 21.46 MB / 0.948 GB Notification: Performance of sort global known variables: time 9.92e-07/15.88, allocations: 0 / 3.693 GB, free: 21.46 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01809/15.9, allocations: 2.99 MB / 3.696 GB, free: 21.12 MB / 0.948 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.02062/15.92, allocations: 8.524 MB / 3.704 GB, free: 18.56 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01648/15.94, allocations: 5.84 MB / 3.71 GB, free: 16.85 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-05/15.94, allocations: 4.344 kB / 3.71 GB, free: 16.85 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.004414/15.94, allocations: 1.655 MB / 3.711 GB, free: 16.16 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02341/15.97, allocations: 2.667 MB / 3.714 GB, free: 15.57 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03049/16, allocations: 8.806 MB / 3.723 GB, free: 11.98 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003466/16, allocations: 2.955 MB / 3.725 GB, free: 11.03 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01342/16.01, allocations: 1.529 MB / 3.727 GB, free: 10.75 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005586/16.02, allocations: 2.463 MB / 3.729 GB, free: 8.766 MB / 0.948 GB Notification: Performance of SimCode: time 1.383e-06/16.02, allocations: 0 / 3.729 GB, free: 8.766 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.337/17.36, allocations: 184.1 MB / 3.909 GB, free: 73.09 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003018/17.36, allocations: 278.5 kB / 3.909 GB, free: 72.77 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.3/30.65, allocations: 0 / 3.909 GB, free: 72.77 MB / 0.9792 GB