Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger,fileNamePrefix="Buildings_7_0_0_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.18/2.18, allocations: 251 MB / 265.9 MB, free: 11.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001606/0.001606, allocations: 182.6 kB / 325.5 MB, free: 2.902 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.4/2.4, allocations: 205.4 MB / 0.5764 GB, free: 20.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001181/0.00118, allocations: 85.78 kB / 0.6809 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004999/0.0005, allocations: 12.12 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.212, allocations: 106.3 MB / 0.8988 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.334/1.546, allocations: 441.3 MB / 1.33 GB, free: 10.49 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003838/1.546, allocations: 109.2 kB / 1.33 GB, free: 10.43 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 8.202/9.748, allocations: 1.452 GB / 2.782 GB, free: 80.6 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.485e-06/9.748, allocations: 3.812 kB / 2.782 GB, free: 80.6 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0006783/9.749, allocations: 82.14 kB / 2.782 GB, free: 80.6 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: 494 * Number of variables: 494 Notification: Performance of Generate backend data structure: time 0.01639/9.765, allocations: 3.885 MB / 2.785 GB, free: 79.34 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/9.765, allocations: 10.75 kB / 2.785 GB, free: 79.34 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001406/9.767, allocations: 273.3 kB / 2.786 GB, free: 79.29 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006817/9.774, allocations: 0.7967 MB / 2.786 GB, free: 79.09 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01429/9.788, allocations: 3.414 MB / 2.79 GB, free: 78.63 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002729/9.791, allocations: 424.2 kB / 2.79 GB, free: 78.63 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001294/9.792, allocations: 207.2 kB / 2.79 GB, free: 78.63 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01071/9.803, allocations: 2.56 MB / 2.793 GB, free: 78.33 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-05/9.803, allocations: 6.844 kB / 2.793 GB, free: 78.33 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004577/9.803, allocations: 80.66 kB / 2.793 GB, free: 78.33 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.83e-05/9.803, allocations: 52.03 kB / 2.793 GB, free: 78.33 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01141/9.815, allocations: 2.373 MB / 2.795 GB, free: 78.31 MB / 0.9323 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.03112/9.846, allocations: 12.69 MB / 2.808 GB, free: 72.34 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006479/9.853, allocations: 1.693 MB / 2.809 GB, free: 72.11 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001952/9.855, allocations: 1.647 MB / 2.811 GB, free: 70.33 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004143/9.859, allocations: 0.9812 MB / 2.812 GB, free: 70.25 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002532/9.861, allocations: 199.1 kB / 2.812 GB, free: 70.17 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=127): time 8.336e-06/9.861, allocations: 0 / 2.812 GB, free: 70.17 MB / 0.9323 GB Notification: Performance of matching and sorting (n=127): time 0.01383/9.875, allocations: 3.061 MB / 2.815 GB, free: 69.62 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.6e-05/9.875, allocations: 226.4 kB / 2.815 GB, free: 69.38 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007314/9.883, allocations: 2.38 MB / 2.818 GB, free: 69.14 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0005967/9.883, allocations: 59.59 kB / 2.818 GB, free: 69.11 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001959/9.885, allocations: 1.334 MB / 2.819 GB, free: 68.75 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008045/9.886, allocations: 445.8 kB / 2.819 GB, free: 68.46 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002406/9.886, allocations: 28.03 kB / 2.819 GB, free: 68.46 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001484/9.887, allocations: 365.1 kB / 2.82 GB, free: 68.16 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003646/9.89, allocations: 0.8271 MB / 2.821 GB, free: 68.16 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004256/9.895, allocations: 1.289 MB / 2.822 GB, free: 67.68 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004146/9.899, allocations: 0.9617 MB / 2.823 GB, free: 67.62 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.739e-05/9.899, allocations: 6 kB / 2.823 GB, free: 67.62 MB / 0.9323 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.0109/9.91, allocations: 2.533 MB / 2.825 GB, free: 67.36 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008793/9.911, allocations: 3.524 MB / 2.829 GB, free: 63.64 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-05/9.911, allocations: 14.8 kB / 2.829 GB, free: 63.64 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005864/9.911, allocations: 104.9 kB / 2.829 GB, free: 63.62 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003724/9.915, allocations: 434.1 kB / 2.829 GB, free: 63.62 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001075/9.916, allocations: 1.207 MB / 2.83 GB, free: 62.58 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005462/9.922, allocations: 324 kB / 2.831 GB, free: 62.56 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006183/9.922, allocations: 87.58 kB / 2.831 GB, free: 62.56 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/9.922, allocations: 7.375 kB / 2.831 GB, free: 62.56 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009092/9.932, allocations: 2.251 MB / 2.833 GB, free: 62.48 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.695e-05/9.932, allocations: 8.75 kB / 2.833 GB, free: 62.48 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000487/9.932, allocations: 114.7 kB / 2.833 GB, free: 62.46 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003657/9.936, allocations: 434.6 kB / 2.834 GB, free: 62.46 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003908/9.94, allocations: 3.298 MB / 2.837 GB, free: 59.67 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005244/9.945, allocations: 306.2 kB / 2.837 GB, free: 59.66 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006135/9.946, allocations: 91.44 kB / 2.837 GB, free: 59.65 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,TCon_in.a,TCon_in.b,TCon_in.last,$PRE.TCon_in.nextEvent,TCon_in.nextEvent,TCon_in.nextEventScaled,hex1.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 174 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.002591/9.948, allocations: 0.7146 MB / 2.838 GB, free: 59.43 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001107/9.949, allocations: 305.2 kB / 2.838 GB, free: 59.27 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01033/9.96, allocations: 2.612 MB / 2.841 GB, free: 59.07 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.612e-05/9.96, allocations: 14.88 kB / 2.841 GB, free: 59.07 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/9.96, allocations: 0 / 2.841 GB, free: 59.07 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007967/9.968, allocations: 2.154 MB / 2.843 GB, free: 58.73 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01732/9.985, allocations: 5.26 MB / 2.848 GB, free: 58.11 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-05/9.985, allocations: 8.203 kB / 2.848 GB, free: 58.11 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002897/9.988, allocations: 326.1 kB / 2.848 GB, free: 58.11 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004134/9.989, allocations: 101.4 kB / 2.848 GB, free: 58.09 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002476/9.989, allocations: 48.23 kB / 2.848 GB, free: 58.09 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008234/9.99, allocations: 1.184 MB / 2.85 GB, free: 57.05 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/9.99, allocations: 3.953 kB / 2.85 GB, free: 57.05 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01446/10, allocations: 3.777 MB / 2.853 GB, free: 56.38 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002756/10.01, allocations: 0.6739 MB / 2.854 GB, free: 56.11 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001188/10.01, allocations: 36.66 kB / 2.854 GB, free: 56.11 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004888/10.01, allocations: 267.6 kB / 2.854 GB, free: 56.1 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004145/10.01, allocations: 104.9 kB / 2.854 GB, free: 56.09 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000339/10.01, allocations: 69.64 kB / 2.854 GB, free: 56.09 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.005202/10.02, allocations: 1.842 MB / 2.856 GB, free: 55.95 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5.81e-07/10.02, allocations: 0 / 2.856 GB, free: 55.95 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.009571/10.03, allocations: 1.594 MB / 2.858 GB, free: 55.75 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (hex1.thrWayVal.vol.dynBal.U,hex1.thrWayVal.filter.x[1],hex1.thrWayVal.filter.x[2],hex1.con.I.y,TSen1.T,TSen2.T) * Number of discrete variables: 6 ($whenCondition1,TCon_in.a,TCon_in.b,TCon_in.last,TCon_in.nextEvent,TCon_in.nextEventScaled) * 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 (144): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 11 * 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 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.01667/10.05, allocations: 6.148 MB / 2.864 GB, free: 53.83 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.01347/10.06, allocations: 3.644 MB / 2.867 GB, free: 53.39 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.076e-05/10.06, allocations: 0 / 2.867 GB, free: 53.39 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.00402/10.06, allocations: 1.11 MB / 2.868 GB, free: 53.32 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01289/10.08, allocations: 1.423 MB / 2.87 GB, free: 53.3 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02475/10.1, allocations: 13.44 MB / 2.883 GB, free: 44 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002417/10.1, allocations: 1.861 MB / 2.885 GB, free: 43.25 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.005834/10.11, allocations: 0.6737 MB / 2.885 GB, free: 43.2 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003501/10.11, allocations: 1.266 MB / 2.887 GB, free: 43.2 MB / 0.9323 GB Notification: Performance of SimCode: time 1.052e-06/10.11, allocations: 3.812 kB / 2.887 GB, free: 43.2 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2193/10.33, allocations: 93.9 MB / 2.978 GB, free: 37.58 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002197/10.33, allocations: 287.4 kB / 2.979 GB, free: 37.23 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.002/17.33, allocations: 4 kB / 2.979 GB, free: 37.23 MB / 0.9323 GB