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_ResetController.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_ResetController,fileNamePrefix="Buildings_7_0_0_Buildings_Applications_DataCenters_ChillerCooled_Equipment_Validation_HeatExchanger_ResetController",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.143/2.143, allocations: 251 MB / 265.9 MB, free: 11.69 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.001549/0.001548, allocations: 169.6 kB / 325.5 MB, free: 2.895 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.344/2.344, allocations: 205.4 MB / 0.5764 GB, free: 20.8 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.001102/0.001101, allocations: 96.11 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005162/0.0005161, allocations: 11.31 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2228, allocations: 106.3 MB / 0.8988 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.304/1.527, allocations: 443.7 MB / 1.332 GB, free: 8.184 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004147/1.528, allocations: 108.5 kB / 1.332 GB, free: 8.121 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 13.34/14.87, allocations: 2.548 GB / 3.881 GB, free: 10.73 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.825e-06/14.87, allocations: 4 kB / 3.881 GB, free: 10.72 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.001347/14.87, allocations: 175.8 kB / 3.881 GB, free: 10.55 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 957 * Number of variables: 957 Notification: Performance of Generate backend data structure: time 0.0314/14.9, allocations: 6.982 MB / 3.888 GB, free: 3.48 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/14.9, allocations: 8.031 kB / 3.888 GB, free: 3.473 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002693/14.9, allocations: 0.4985 MB / 3.888 GB, free: 2.965 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0162/14.92, allocations: 1.355 MB / 3.889 GB, free: 1.602 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.9483/15.87, allocations: 6.586 MB / 3.896 GB, free: 54.68 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.004099/15.87, allocations: 0.6944 MB / 3.897 GB, free: 54.68 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002174/15.87, allocations: 411.9 kB / 3.897 GB, free: 54.68 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02116/15.89, allocations: 4.862 MB / 3.902 GB, free: 54.11 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001636/15.89, allocations: 5.719 kB / 3.902 GB, free: 54.11 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009629/15.9, allocations: 163.6 kB / 3.902 GB, free: 54.11 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001938/15.9, allocations: 97.06 kB / 3.902 GB, free: 54.11 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02164/15.92, allocations: 4.371 MB / 3.906 GB, free: 54.07 MB / 1.01 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.05836/15.98, allocations: 22.23 MB / 3.928 GB, free: 45.43 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01165/15.99, allocations: 2.884 MB / 3.931 GB, free: 45.11 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00238/15.99, allocations: 1.918 MB / 3.933 GB, free: 43.04 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007591/16, allocations: 1.785 MB / 3.934 GB, free: 42.93 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005398/16, allocations: 0.4946 MB / 3.935 GB, free: 42.85 MB / 1.01 GB Notification: Performance of pre-optimization done (n=233): time 1.777e-05/16, allocations: 0.625 kB / 3.935 GB, free: 42.85 MB / 1.01 GB Notification: Performance of matching and sorting (n=233): time 0.02311/16.03, allocations: 4.896 MB / 3.94 GB, free: 42.34 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001973/16.03, allocations: 495.1 kB / 3.94 GB, free: 41.77 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01368/16.04, allocations: 4.564 MB / 3.945 GB, free: 41.42 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.001205/16.04, allocations: 88.02 kB / 3.945 GB, free: 41.39 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.00434/16.05, allocations: 2.631 MB / 3.947 GB, free: 40.89 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.001561/16.05, allocations: 0.7976 MB / 3.948 GB, free: 40.49 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004695/16.05, allocations: 57.69 kB / 3.948 GB, free: 40.49 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002542/16.05, allocations: 421.6 kB / 3.948 GB, free: 40.18 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006594/16.05, allocations: 1.521 MB / 3.95 GB, free: 40.18 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008044/16.06, allocations: 2.505 MB / 3.952 GB, free: 39.11 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007618/16.07, allocations: 1.782 MB / 3.954 GB, free: 39.03 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.002e-05/16.07, allocations: 7.844 kB / 3.954 GB, free: 39.03 MB / 1.01 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.02045/16.09, allocations: 4.547 MB / 3.959 GB, free: 38.58 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.00214/16.09, allocations: 9.06 MB / 3.967 GB, free: 29.11 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001413/16.09, allocations: 25.34 kB / 3.967 GB, free: 29.11 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.93e-05/16.09, allocations: 33.47 kB / 3.968 GB, free: 29.11 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009603/16.1, allocations: 0.9511 MB / 3.968 GB, free: 29.11 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003214/16.11, allocations: 5.401 MB / 3.974 GB, free: 23.85 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0114/16.12, allocations: 0.5208 MB / 3.974 GB, free: 23.83 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001469/16.12, allocations: 163.6 kB / 3.974 GB, free: 23.83 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/16.12, allocations: 6.828 kB / 3.974 GB, free: 23.83 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01805/16.14, allocations: 4.001 MB / 3.978 GB, free: 23.71 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001275/16.14, allocations: 23.19 kB / 3.978 GB, free: 23.71 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.915e-05/16.14, allocations: 35.56 kB / 3.978 GB, free: 23.71 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007651/16.15, allocations: 0.8753 MB / 3.979 GB, free: 23.71 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.64e-05/16.15, allocations: 44.94 kB / 3.979 GB, free: 23.71 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01001/16.16, allocations: 0.5134 MB / 3.98 GB, free: 23.7 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001279/16.16, allocations: 165 kB / 3.98 GB, free: 23.7 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$whenCondition3,hex1.trigger,$PRE.tri.pulseStart,tri.pulseStart,$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 (381): * Single equations (assignments): 365 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005289/16.16, allocations: 1.22 MB / 3.981 GB, free: 23.48 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00221/16.16, allocations: 0.5691 MB / 3.982 GB, free: 23.17 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01866/16.18, allocations: 4.351 MB / 3.986 GB, free: 22.91 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.739e-05/16.18, allocations: 38.09 kB / 3.986 GB, free: 22.91 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.334e-05/16.18, allocations: 3.281 kB / 3.986 GB, free: 22.91 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01356/16.2, allocations: 3.349 MB / 3.989 GB, free: 22.64 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03371/16.23, allocations: 9.072 MB / 3.998 GB, free: 38 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-05/16.23, allocations: 3.688 kB / 3.998 GB, free: 38 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006735/16.24, allocations: 0.7087 MB / 3.999 GB, free: 38 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-05/16.24, allocations: 11.97 kB / 3.999 GB, free: 38 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005292/16.24, allocations: 91.2 kB / 3.999 GB, free: 38 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003376/16.24, allocations: 5.347 MB / 4.004 GB, free: 32.73 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.112e-06/16.24, allocations: 5 kB / 4.004 GB, free: 32.73 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02388/16.27, allocations: 6.365 MB / 4.01 GB, free: 31.65 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005189/16.27, allocations: 1.177 MB / 4.011 GB, free: 31.24 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002338/16.27, allocations: 64.22 kB / 4.012 GB, free: 31.24 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009198/16.28, allocations: 480.8 kB / 4.012 GB, free: 31.23 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00086/16.28, allocations: 175.1 kB / 4.012 GB, free: 31.23 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005415/16.28, allocations: 120.4 kB / 4.012 GB, free: 31.23 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.01008/16.29, allocations: 3.488 MB / 4.016 GB, free: 31.01 MB / 1.026 GB Notification: Performance of sort global known variables: time 9.62e-07/16.29, allocations: 0 / 4.016 GB, free: 31.01 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0155/16.31, allocations: 2.789 MB / 4.018 GB, free: 30.87 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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.pulseStart) * 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 (277): * Single equations (assignments): 253 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 13 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03151/16.34, allocations: 9.806 MB / 4.028 GB, free: 28.2 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.02698/16.37, allocations: 6.224 MB / 4.034 GB, free: 27.79 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.731e-05/16.37, allocations: 6.188 kB / 4.034 GB, free: 27.79 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.008241/16.38, allocations: 1.924 MB / 4.036 GB, free: 27.71 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02613/16.4, allocations: 2.913 MB / 4.039 GB, free: 27.64 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04869/16.45, allocations: 27.5 MB / 4.066 GB, free: 23.26 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005472/16.46, allocations: 2.95 MB / 4.069 GB, free: 22.39 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.01183/16.47, allocations: 1.269 MB / 4.07 GB, free: 22.2 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007322/16.48, allocations: 2.567 MB / 4.072 GB, free: 22.19 MB / 1.042 GB Notification: Performance of SimCode: time 1.422e-06/16.48, allocations: 0 / 4.072 GB, free: 22.19 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4066/16.88, allocations: 175.9 MB / 4.244 GB, free: 11.9 MB / 1.057 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000311/16.88, allocations: 303.9 kB / 4.244 GB, free: 11.54 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.42/29.3, allocations: 3.938 kB / 4.244 GB, free: 11.54 MB / 1.057 GB