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.224/2.224, allocations: 248.5 MB / 261 MB, free: 6.082 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001512/0.001512, allocations: 182.7 kB / 320.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.954/1.954, allocations: 205.2 MB / 0.571 GB, free: 11.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.001163/0.001163, allocations: 100.7 kB / 0.6754 GB, free: 0.8828 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.618e-05/4.632e-05, allocations: 4 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.209, allocations: 106.2 MB / 0.8907 GB, free: 7.449 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.959/2.168, allocations: 443.6 MB / 1.324 GB, free: 251.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003313/2.168, allocations: 104.1 kB / 1.324 GB, free: 251.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 13.78/15.95, allocations: 2.541 GB / 3.865 GB, free: 63.28 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.415e-06/15.95, allocations: 5.234 kB / 3.865 GB, free: 63.28 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.001446/15.95, allocations: 165.8 kB / 3.865 GB, free: 63.25 MB / 0.9948 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.02381/15.98, allocations: 5.784 MB / 3.87 GB, free: 60.62 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 6.101e-05/15.98, allocations: 10.81 kB / 3.87 GB, free: 60.62 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002721/15.98, allocations: 0.4888 MB / 3.871 GB, free: 60.56 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01141/15.99, allocations: 1.355 MB / 3.872 GB, free: 60.19 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02752/16.02, allocations: 6.548 MB / 3.879 GB, free: 59.22 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003868/16.02, allocations: 0.6945 MB / 3.879 GB, free: 59.21 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002162/16.03, allocations: 418 kB / 3.88 GB, free: 59.21 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01838/16.04, allocations: 4.454 MB / 3.884 GB, free: 58.64 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002658/16.04, allocations: 8.641 kB / 3.884 GB, free: 58.64 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001671/16.05, allocations: 158.5 kB / 3.884 GB, free: 58.64 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001584/16.05, allocations: 96.72 kB / 3.884 GB, free: 58.64 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0143/16.06, allocations: 3.638 MB / 3.888 GB, free: 58.61 MB / 0.9948 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.06124/16.12, allocations: 22.24 MB / 3.91 GB, free: 49.67 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0061/16.13, allocations: 2.228 MB / 3.912 GB, free: 49.34 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003891/16.13, allocations: 1.223 MB / 3.913 GB, free: 49.32 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002508/16.13, allocations: 1.913 MB / 3.915 GB, free: 47.26 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005126/16.14, allocations: 1.429 MB / 3.916 GB, free: 47.16 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005831/16.15, allocations: 0.4983 MB / 3.917 GB, free: 46.99 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=233): time 1.829e-05/16.15, allocations: 2.906 kB / 3.917 GB, free: 46.99 MB / 0.9948 GB Notification: Performance of matching and sorting (n=233): time 0.01177/16.16, allocations: 2.819 MB / 3.919 GB, free: 46.58 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000231/16.16, allocations: 0.4883 MB / 3.92 GB, free: 46.02 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01463/16.17, allocations: 4.491 MB / 3.924 GB, free: 45.62 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.001167/16.17, allocations: 85.83 kB / 3.924 GB, free: 45.59 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004729/16.18, allocations: 2.641 MB / 3.927 GB, free: 44.93 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001615/16.18, allocations: 0.7916 MB / 3.928 GB, free: 44.42 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005197/16.18, allocations: 66.28 kB / 3.928 GB, free: 44.42 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002864/16.18, allocations: 420.8 kB / 3.928 GB, free: 44.11 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003875/16.18, allocations: 1.168 MB / 3.929 GB, free: 44.1 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005264/16.19, allocations: 2.151 MB / 3.931 GB, free: 43.03 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00481/16.19, allocations: 1.437 MB / 3.933 GB, free: 42.94 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-05/16.19, allocations: 3.094 kB / 3.933 GB, free: 42.94 MB / 0.9948 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.01459/16.21, allocations: 3.85 MB / 3.937 GB, free: 42.49 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002184/16.21, allocations: 9.056 MB / 3.946 GB, free: 33 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001393/16.21, allocations: 21.09 kB / 3.946 GB, free: 33 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.577e-05/16.21, allocations: 41.03 kB / 3.946 GB, free: 33 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01006/16.22, allocations: 0.9486 MB / 3.946 GB, free: 32.97 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0032/16.23, allocations: 5.398 MB / 3.952 GB, free: 27.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01049/16.24, allocations: 0.5236 MB / 3.952 GB, free: 27.63 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001298/16.24, allocations: 160.8 kB / 3.952 GB, free: 27.63 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/16.24, allocations: 3.094 kB / 3.952 GB, free: 27.63 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01254/16.25, allocations: 3.301 MB / 3.956 GB, free: 27.43 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001141/16.25, allocations: 24.81 kB / 3.956 GB, free: 27.43 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.742e-05/16.25, allocations: 40.16 kB / 3.956 GB, free: 27.42 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007857/16.26, allocations: 0.8758 MB / 3.957 GB, free: 27.36 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.917e-05/16.26, allocations: 44.5 kB / 3.957 GB, free: 27.36 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01002/16.27, allocations: 0.5108 MB / 3.957 GB, free: 27.3 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001244/16.27, allocations: 161.1 kB / 3.957 GB, free: 27.3 MB / 0.9948 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 () * 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.002191/16.27, allocations: 337.9 kB / 3.958 GB, free: 27.1 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002589/16.27, allocations: 0.5648 MB / 3.958 GB, free: 26.8 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01469/16.29, allocations: 3.651 MB / 3.962 GB, free: 26.48 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.276e-05/16.29, allocations: 28.77 kB / 3.962 GB, free: 26.48 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.315e-05/16.29, allocations: 5.5 kB / 3.962 GB, free: 26.48 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00899/16.3, allocations: 2.647 MB / 3.964 GB, free: 26.2 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02943/16.33, allocations: 8.389 MB / 3.973 GB, free: 25.52 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-05/16.33, allocations: 3.281 kB / 3.973 GB, free: 25.52 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006998/16.33, allocations: 0.7117 MB / 3.973 GB, free: 25.47 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.619e-05/16.33, allocations: 13.33 kB / 3.973 GB, free: 25.47 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008575/16.34, allocations: 85.09 kB / 3.973 GB, free: 25.47 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003229/16.34, allocations: 5.352 MB / 3.979 GB, free: 36.18 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/16.34, allocations: 0 / 3.979 GB, free: 36.18 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01614/16.35, allocations: 5.322 MB / 3.984 GB, free: 35.08 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00514/16.36, allocations: 1.179 MB / 3.985 GB, free: 34.67 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002546/16.36, allocations: 65.69 kB / 3.985 GB, free: 34.66 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009548/16.37, allocations: 476.4 kB / 3.985 GB, free: 34.61 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009029/16.37, allocations: 179.2 kB / 3.986 GB, free: 34.6 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008223/16.37, allocations: 123.1 kB / 3.986 GB, free: 34.6 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.01073/16.38, allocations: 3.419 MB / 3.989 GB, free: 34.35 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.212e-06/16.38, allocations: 0 / 3.989 GB, free: 34.35 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.01629/16.4, allocations: 2.791 MB / 3.992 GB, free: 34.04 MB / 1.01 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) * 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.02384/16.43, allocations: 8.761 MB / 4 GB, free: 30.96 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.01866/16.44, allocations: 5.382 MB / 4.006 GB, free: 30.34 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.585e-05/16.44, allocations: 3.406 kB / 4.006 GB, free: 30.34 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.005547/16.45, allocations: 1.58 MB / 4.007 GB, free: 30.21 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0257/16.48, allocations: 2.91 MB / 4.01 GB, free: 30.05 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03566/16.51, allocations: 8.895 MB / 4.019 GB, free: 27.56 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005914/16.52, allocations: 2.964 MB / 4.022 GB, free: 26.69 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.01734/16.53, allocations: 1.589 MB / 4.023 GB, free: 26.4 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006398/16.54, allocations: 2.471 MB / 4.025 GB, free: 25.44 MB / 1.01 GB Notification: Performance of SimCode: time 1.573e-06/16.54, allocations: 2.344 kB / 4.026 GB, free: 25.44 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.399/17.94, allocations: 183.8 MB / 4.205 GB, free: 76.24 MB / 1.026 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002324/17.94, allocations: 275.7 kB / 4.205 GB, free: 75.91 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.27/32.21, allocations: 3.938 kB / 4.205 GB, free: 75.91 MB / 1.026 GB