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 Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01655/0.01655, allocations: 106.6 kB / 15.05 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001893/0.001894, allocations: 186.4 kB / 15.94 MB, free: 5.895 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.019/2.019, allocations: 194.6 MB / 211.3 MB, free: 11.04 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.264/2.264, allocations: 236.1 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004595/0.0004594, allocations: 11.98 kB / 0.587 GB, free: 2.062 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6918/0.6923, allocations: 98.71 MB / 0.6834 GB, free: 16.85 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.249/1.941, allocations: 433.6 MB / 1.107 GB, free: 16.57 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005877/1.942, allocations: 107.2 kB / 1.107 GB, free: 16.5 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 14.06/16, allocations: 2.519 GB / 3.626 GB, free: 51.05 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.655e-06/16, allocations: 0 / 3.626 GB, free: 51.05 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.001433/16, allocations: 172.2 kB / 3.627 GB, free: 51.02 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.03174/16.04, allocations: 6.945 MB / 3.633 GB, free: 48.13 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.405e-05/16.04, allocations: 9.562 kB / 3.633 GB, free: 48.13 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002732/16.04, allocations: 0.4953 MB / 3.634 GB, free: 48.07 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01125/16.05, allocations: 1.348 MB / 3.635 GB, free: 47.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02629/16.08, allocations: 6.692 MB / 3.642 GB, free: 46.73 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003978/16.08, allocations: 0.6868 MB / 3.642 GB, free: 46.73 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002258/16.08, allocations: 412.6 kB / 3.643 GB, free: 46.72 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02145/16.1, allocations: 4.839 MB / 3.648 GB, free: 46.15 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001948/16.1, allocations: 5.688 kB / 3.648 GB, free: 46.15 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001316/16.11, allocations: 158.7 kB / 3.648 GB, free: 46.15 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001327/16.11, allocations: 96.05 kB / 3.648 GB, free: 46.15 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02062/16.13, allocations: 4.355 MB / 3.652 GB, free: 46.12 MB / 0.948 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.05953/16.19, allocations: 23.55 MB / 3.675 GB, free: 35.61 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01162/16.2, allocations: 3.046 MB / 3.678 GB, free: 35.26 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002499/16.2, allocations: 1.919 MB / 3.68 GB, free: 33.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007941/16.21, allocations: 1.863 MB / 3.682 GB, free: 33.1 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005683/16.21, allocations: 475.9 kB / 3.682 GB, free: 32.96 MB / 0.948 GB Notification: Performance of pre-optimization done (n=250): time 2.045e-05/16.21, allocations: 0 / 3.682 GB, free: 32.96 MB / 0.948 GB Notification: Performance of matching and sorting (n=250): time 0.02804/16.24, allocations: 5.753 MB / 3.688 GB, free: 32.24 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001912/16.24, allocations: 499 kB / 3.688 GB, free: 31.67 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01257/16.25, allocations: 4.241 MB / 3.692 GB, free: 31.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001169/16.26, allocations: 91.53 kB / 3.692 GB, free: 31.27 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004379/16.26, allocations: 2.615 MB / 3.695 GB, free: 30.62 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001661/16.26, allocations: 0.8462 MB / 3.696 GB, free: 30.07 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004922/16.26, allocations: 61.59 kB / 3.696 GB, free: 30.07 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002652/16.26, allocations: 424.5 kB / 3.696 GB, free: 29.76 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006877/16.27, allocations: 1.557 MB / 3.698 GB, free: 29.75 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008311/16.28, allocations: 2.479 MB / 3.7 GB, free: 28.78 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007789/16.29, allocations: 1.81 MB / 3.702 GB, free: 28.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.444e-05/16.29, allocations: 7.719 kB / 3.702 GB, free: 28.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.0205/16.31, allocations: 4.738 MB / 3.707 GB, free: 28.24 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00185/16.31, allocations: 7.68 MB / 3.714 GB, free: 20.41 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001359/16.31, allocations: 22.11 kB / 3.714 GB, free: 20.41 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001261/16.31, allocations: 280.8 kB / 3.714 GB, free: 20.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007121/16.32, allocations: 0.7937 MB / 3.715 GB, free: 20.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00253/16.32, allocations: 1.504 MB / 3.717 GB, free: 19.35 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01019/16.33, allocations: 0.5444 MB / 3.717 GB, free: 19.32 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001253/16.33, allocations: 160.7 kB / 3.717 GB, free: 19.32 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/16.33, allocations: 3.469 kB / 3.717 GB, free: 19.32 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01989/16.35, allocations: 4.111 MB / 3.721 GB, free: 19.17 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001021/16.35, allocations: 21.75 kB / 3.721 GB, free: 19.17 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001211/16.35, allocations: 267.6 kB / 3.722 GB, free: 19.15 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006953/16.36, allocations: 0.7741 MB / 3.722 GB, free: 19.14 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009549/16.37, allocations: 4.43 MB / 3.727 GB, free: 32.43 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009833/16.38, allocations: 0.5192 MB / 3.727 GB, free: 32.37 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00119/16.38, allocations: 154.2 kB / 3.727 GB, free: 32.37 MB / 0.9636 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 () * Number of clocked 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.005564/16.39, allocations: 1.214 MB / 3.729 GB, free: 32.13 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00211/16.39, allocations: 0.5396 MB / 3.729 GB, free: 31.84 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02075/16.41, allocations: 4.665 MB / 3.734 GB, free: 31.45 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.859e-05/16.41, allocations: 35.09 kB / 3.734 GB, free: 31.45 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/16.41, allocations: 0 / 3.734 GB, free: 31.45 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01568/16.42, allocations: 3.682 MB / 3.737 GB, free: 31.08 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03491/16.46, allocations: 9.467 MB / 3.747 GB, free: 30.37 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.757e-05/16.46, allocations: 3.594 kB / 3.747 GB, free: 30.37 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005873/16.47, allocations: 0.6063 MB / 3.747 GB, free: 30.35 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009757/16.47, allocations: 227.2 kB / 3.747 GB, free: 30.33 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008064/16.47, allocations: 85.09 kB / 3.747 GB, free: 30.33 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001786/16.47, allocations: 1.411 MB / 3.749 GB, free: 29.27 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/16.47, allocations: 3.328 kB / 3.749 GB, free: 29.27 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02537/16.49, allocations: 6.492 MB / 3.755 GB, free: 28.42 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004958/16.5, allocations: 1.135 MB / 3.756 GB, free: 28.01 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002278/16.5, allocations: 66.94 kB / 3.756 GB, free: 28.01 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00927/16.51, allocations: 0.5108 MB / 3.757 GB, free: 27.95 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009028/16.51, allocations: 181.3 kB / 3.757 GB, free: 27.95 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005659/16.51, allocations: 114.3 kB / 3.757 GB, free: 27.95 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.01019/16.52, allocations: 3.246 MB / 3.76 GB, free: 27.73 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.204e-06/16.52, allocations: 0 / 3.76 GB, free: 27.73 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01977/16.54, allocations: 2.989 MB / 3.763 GB, free: 27.38 MB / 0.9636 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) * Number of clocked states: 0 () * 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.03197/16.57, allocations: 9.587 MB / 3.773 GB, free: 24.81 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.02635/16.6, allocations: 6.66 MB / 3.779 GB, free: 24.06 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.388e-05/16.6, allocations: 3.969 kB / 3.779 GB, free: 24.06 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.008335/16.61, allocations: 2.013 MB / 3.781 GB, free: 23.94 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02332/16.63, allocations: 2.671 MB / 3.784 GB, free: 23.79 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04671/16.68, allocations: 25.16 MB / 3.808 GB, free: 5.781 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006061/16.69, allocations: 2.949 MB / 3.811 GB, free: 4.918 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.01124/16.7, allocations: 1.212 MB / 3.812 GB, free: 4.707 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007333/16.7, allocations: 2.555 MB / 3.815 GB, free: 4.699 MB / 0.9636 GB Notification: Performance of SimCode: time 2.465e-06/16.7, allocations: 0 / 3.815 GB, free: 4.699 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.281/17.99, allocations: 170.5 MB / 3.981 GB, free: 90.67 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001932/17.99, allocations: 307.1 kB / 3.982 GB, free: 90.32 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.72/29.7, allocations: 0 / 3.982 GB, free: 90.32 MB / 0.9948 GB