Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.624/1.624, allocations: 288.4 MB / 304.3 MB, free: 8.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009266/0.0009267, allocations: 182.6 kB / 373 MB, free: 10.16 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.424/1.424, allocations: 205.4 MB / 0.6317 GB, free: 9.898 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008267/0.0008267, allocations: 96.69 kB / 0.745 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004498/0.0004498, allocations: 15.72 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.2332, allocations: 115.3 MB / 0.9807 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9579/1.191, allocations: 451.9 MB / 1.422 GB, free: 9.57 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003625/1.192, allocations: 112.2 kB / 1.422 GB, free: 9.504 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.679/9.87, allocations: 2.607 GB / 4.029 GB, free: 56.58 MB / 1.057 GB Notification: Performance of FrontEnd: time 1.864e-06/9.87, allocations: 4 kB / 4.029 GB, free: 56.58 MB / 1.057 GB Notification: Performance of Transformations before backend: time 0.00108/9.871, allocations: 171.4 kB / 4.029 GB, free: 56.53 MB / 1.057 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.02245/9.894, allocations: 6.93 MB / 4.036 GB, free: 53.04 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/9.894, allocations: 7.562 kB / 4.036 GB, free: 53.04 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00717/9.901, allocations: 1.364 MB / 4.037 GB, free: 52.62 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01707/9.918, allocations: 6.646 MB / 4.044 GB, free: 48.78 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002079/9.92, allocations: 0.6878 MB / 4.044 GB, free: 48.51 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002293/9.922, allocations: 418.5 kB / 4.045 GB, free: 48.37 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01076/9.933, allocations: 4.89 MB / 4.05 GB, free: 45.33 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-05/9.933, allocations: 11.92 kB / 4.05 GB, free: 45.32 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004734/9.934, allocations: 163.2 kB / 4.05 GB, free: 45.2 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.925e-05/9.934, allocations: 93.16 kB / 4.05 GB, free: 45.2 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009234/9.943, allocations: 4.384 MB / 4.054 GB, free: 43.01 MB / 1.057 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.0333/9.976, allocations: 22.16 MB / 4.076 GB, free: 20.18 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005455/9.982, allocations: 2.888 MB / 4.078 GB, free: 17.23 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002978/9.985, allocations: 1.565 MB / 4.08 GB, free: 15.67 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001362/9.986, allocations: 1.92 MB / 4.082 GB, free: 13.34 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003483/9.99, allocations: 1.802 MB / 4.084 GB, free: 11.52 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003652/9.994, allocations: 492.8 kB / 4.084 GB, free: 11.04 MB / 1.057 GB Notification: Performance of pre-optimization done (n=233): time 9.528e-06/9.994, allocations: 0 / 4.084 GB, free: 11.04 MB / 1.057 GB Notification: Performance of matching and sorting (n=233): time 0.01248/10.01, allocations: 4.832 MB / 4.089 GB, free: 6.188 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002035/10.01, allocations: 496.6 kB / 4.089 GB, free: 5.594 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009575/10.02, allocations: 5.133 MB / 4.094 GB, free: 480 kB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.001173/10.02, allocations: 89.7 kB / 4.094 GB, free: 384 kB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.003054/10.02, allocations: 2.654 MB / 4.097 GB, free: 13.71 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.001401/10.02, allocations: 0.7855 MB / 4.098 GB, free: 12.91 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002117/10.02, allocations: 63.94 kB / 4.098 GB, free: 12.85 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0002232/10.02, allocations: 424.3 kB / 4.098 GB, free: 12.43 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003707/10.03, allocations: 1.525 MB / 4.1 GB, free: 10.9 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004765/10.03, allocations: 2.527 MB / 4.102 GB, free: 7.965 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008274/10.04, allocations: 3.725 MB / 4.106 GB, free: 3.949 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.077e-05/10.04, allocations: 11.94 kB / 4.106 GB, free: 3.938 MB / 1.073 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.8916/10.93, allocations: 4.563 MB / 4.11 GB, free: 74.48 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004529/10.93, allocations: 0.678 MB / 4.111 GB, free: 73.69 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.597e-05/10.93, allocations: 27.53 kB / 4.111 GB, free: 73.69 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.207e-05/10.93, allocations: 32.56 kB / 4.111 GB, free: 73.69 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006455/10.94, allocations: 1.023 MB / 4.112 GB, free: 73.69 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002475/10.94, allocations: 5.412 MB / 4.117 GB, free: 68.45 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007854/10.95, allocations: 0.5149 MB / 4.118 GB, free: 68.45 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001189/10.95, allocations: 164.8 kB / 4.118 GB, free: 68.45 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/10.95, allocations: 7.156 kB / 4.118 GB, free: 68.45 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01147/10.96, allocations: 4.028 MB / 4.122 GB, free: 68.32 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001167/10.96, allocations: 25.09 kB / 4.122 GB, free: 68.32 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.924e-05/10.96, allocations: 32.03 kB / 4.122 GB, free: 68.32 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004772/10.97, allocations: 0.8822 MB / 4.123 GB, free: 68.32 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.945e-05/10.97, allocations: 44.81 kB / 4.123 GB, free: 68.32 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007375/10.97, allocations: 0.5068 MB / 4.123 GB, free: 68.32 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001192/10.97, allocations: 163.8 kB / 4.124 GB, free: 68.32 MB / 1.073 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.004781/10.98, allocations: 1.231 MB / 4.125 GB, free: 68.1 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002117/10.98, allocations: 0.5697 MB / 4.125 GB, free: 68.1 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01165/10.99, allocations: 4.344 MB / 4.13 GB, free: 67.88 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-05/10.99, allocations: 33.48 kB / 4.13 GB, free: 67.88 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.22e-05/10.99, allocations: 0 / 4.13 GB, free: 67.88 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007464/11, allocations: 3.369 MB / 4.133 GB, free: 67.59 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02074/11.02, allocations: 9.032 MB / 4.142 GB, free: 66.98 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/11.02, allocations: 0 / 4.142 GB, free: 66.98 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003194/11.02, allocations: 0.7108 MB / 4.142 GB, free: 66.98 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.406e-05/11.02, allocations: 14.12 kB / 4.142 GB, free: 66.98 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002375/11.02, allocations: 82.48 kB / 4.142 GB, free: 66.98 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001785/11.03, allocations: 5.358 MB / 4.148 GB, free: 61.73 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/11.03, allocations: 2.875 kB / 4.148 GB, free: 61.73 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01467/11.04, allocations: 6.079 MB / 4.154 GB, free: 61.31 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004613/11.05, allocations: 1.149 MB / 4.155 GB, free: 61.02 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002226/11.05, allocations: 65.19 kB / 4.155 GB, free: 61.02 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006968/11.06, allocations: 478.9 kB / 4.155 GB, free: 61 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000585/11.06, allocations: 177.6 kB / 4.155 GB, free: 61 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005723/11.06, allocations: 124.2 kB / 4.156 GB, free: 61 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.01042/11.07, allocations: 3.408 MB / 4.159 GB, free: 60.79 MB / 1.073 GB Notification: Performance of sort global known variables: time 1.904e-06/11.07, allocations: 0.9375 kB / 4.159 GB, free: 60.79 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.01712/11.08, allocations: 2.759 MB / 4.162 GB, free: 60.69 MB / 1.073 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.007525/11.09, allocations: 2.596 MB / 4.164 GB, free: 59.89 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.0189/11.11, allocations: 6.348 MB / 4.17 GB, free: 59.49 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 2.08e-05/11.11, allocations: 3 kB / 4.17 GB, free: 59.49 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.004789/11.12, allocations: 1.945 MB / 4.172 GB, free: 59.41 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02304/11.14, allocations: 2.929 MB / 4.175 GB, free: 59.37 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02367/11.16, allocations: 11.96 MB / 4.187 GB, free: 54.42 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002523/11.16, allocations: 2.848 MB / 4.19 GB, free: 53.62 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.008222/11.17, allocations: 1.271 MB / 4.191 GB, free: 53.56 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001923/11.18, allocations: 452.6 kB / 4.191 GB, free: 53.55 MB / 1.073 GB Notification: Performance of SimCode: time 6.81e-07/11.18, allocations: 2.375 kB / 4.191 GB, free: 53.55 MB / 1.073 GB Notification: Performance of Templates: time 0.2023/11.38, allocations: 122.6 MB / 4.311 GB, free: 45.17 MB / 1.073 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.makefile (rm -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.sim & ./Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.pipe 2>&1)