Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.795/4.795, allocations: 0.5623 GB / 0.5769 GB, free: 3.336 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002411/0.002411, allocations: 360.4 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.033/4.033, allocations: 410.7 MB / 1.112 GB, free: 6.059 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001788/0.001788, allocations: 174.4 kB / 1.225 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004998/0.0005001, allocations: 12 kB / 1.348 GB, free: 8.285 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6687/0.6692, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController): time 0.2106/0.8798, allocations: 214.6 MB / 1.67 GB, free: 69.66 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.07866/0.9585, allocations: 42.21 MB / 1.712 GB, free: 27.4 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01364/0.9722, allocations: 246.2 kB / 1.712 GB, free: 27.16 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.01487/0.9871, allocations: 2.605 MB / 1.714 GB, free: 24.54 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.04325/1.03, allocations: 7.656 MB / 1.722 GB, free: 16.85 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.02751/1.058, allocations: 6.999 MB / 1.729 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.6452/1.703, allocations: 17.77 MB / 1.746 GB, free: 52.09 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009907/1.713, allocations: 4.393 MB / 1.75 GB, free: 51.69 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01401/1.727, allocations: 5.258 MB / 1.755 GB, free: 51.69 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008291/1.736, allocations: 4.179 MB / 1.759 GB, free: 51.68 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.001939/1.738, allocations: 234 kB / 1.76 GB, free: 51.68 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009087/1.747, allocations: 2.26 MB / 1.762 GB, free: 51.68 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.003416/1.75, allocations: 1.056 MB / 1.763 GB, free: 51.68 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.003495/1.754, allocations: 1.372 MB / 1.764 GB, free: 51.65 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.01337/1.767, allocations: 8.946 MB / 1.773 GB, free: 51.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 7.014e-06/1.767, allocations: 0 / 1.773 GB, free: 51.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.821e-06/1.767, allocations: 2.375 kB / 1.773 GB, free: 51.1 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0002311/1.767, allocations: 0 / 1.773 GB, free: 51.1 MB / 0.8542 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.01545/1.783, allocations: 6.112 MB / 1.779 GB, free: 48.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/1.783, allocations: 13.69 kB / 1.779 GB, free: 48.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007357/1.79, allocations: 1.448 MB / 1.78 GB, free: 47.78 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0144/1.805, allocations: 5.368 MB / 1.786 GB, free: 46.94 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002288/1.807, allocations: 0.6929 MB / 1.786 GB, free: 46.89 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001433/1.808, allocations: 407.6 kB / 1.787 GB, free: 46.89 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01598/1.824, allocations: 4.77 MB / 1.791 GB, free: 46.37 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001161/1.825, allocations: 3.188 kB / 1.791 GB, free: 46.37 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007178/1.825, allocations: 162.3 kB / 1.792 GB, free: 46.37 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001399/1.826, allocations: 93.98 kB / 1.792 GB, free: 46.37 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01717/1.843, allocations: 4.31 MB / 1.796 GB, free: 46.28 MB / 0.8542 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.04807/1.891, allocations: 22.16 MB / 1.817 GB, free: 37.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009059/1.9, allocations: 2.677 MB / 1.82 GB, free: 36.54 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00468/1.905, allocations: 1.55 MB / 1.822 GB, free: 36.31 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002032/1.907, allocations: 2.175 MB / 1.824 GB, free: 33.89 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005644/1.912, allocations: 1.737 MB / 1.825 GB, free: 33.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003794/1.916, allocations: 484.8 kB / 1.826 GB, free: 33.17 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=232): time 1.244e-05/1.916, allocations: 3.562 kB / 1.826 GB, free: 33.17 MB / 0.8542 GB Notification: Performance of matching and sorting (n=232): time 0.01706/1.933, allocations: 4.708 MB / 1.83 GB, free: 32.15 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/1.934, allocations: 339.5 kB / 1.831 GB, free: 31.77 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01105/1.945, allocations: 5.095 MB / 1.836 GB, free: 30.57 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0007576/1.945, allocations: 84.73 kB / 1.836 GB, free: 30.54 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.003451/1.949, allocations: 2.669 MB / 1.838 GB, free: 29.62 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001349/1.95, allocations: 0.7831 MB / 1.839 GB, free: 29.05 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001003/1.951, allocations: 66.59 kB / 1.839 GB, free: 29.05 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003647/1.952, allocations: 427.7 kB / 1.84 GB, free: 28.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005396/1.957, allocations: 1.491 MB / 1.841 GB, free: 28.46 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006133/1.963, allocations: 2.385 MB / 1.843 GB, free: 27.23 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005835/1.969, allocations: 1.756 MB / 1.845 GB, free: 26.96 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.529e-05/1.969, allocations: 3.906 kB / 1.845 GB, free: 26.96 MB / 0.8542 GB Notification: Performance of matching and sorting (n=397) (initialization): time 0.01594/1.985, allocations: 4.526 MB / 1.85 GB, free: 26.01 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003705/1.986, allocations: 0.7212 MB / 1.85 GB, free: 25.13 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.924e-05/1.986, allocations: 28.61 kB / 1.85 GB, free: 25.13 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.816e-05/1.986, allocations: 41.28 kB / 1.85 GB, free: 25.12 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007296/1.993, allocations: 1.006 MB / 1.851 GB, free: 24.91 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002902/1.996, allocations: 5.407 MB / 1.857 GB, free: 19.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007101/2.003, allocations: 485.6 kB / 1.857 GB, free: 19.43 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001104/2.004, allocations: 160.2 kB / 1.857 GB, free: 19.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/2.004, allocations: 3.875 kB / 1.857 GB, free: 19.4 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01393/2.018, allocations: 4.002 MB / 1.861 GB, free: 18.78 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.044e-05/2.019, allocations: 27.34 kB / 1.861 GB, free: 18.77 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.34e-05/2.019, allocations: 43.72 kB / 1.861 GB, free: 18.77 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005297/2.024, allocations: 0.877 MB / 1.862 GB, free: 18.04 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.86e-05/2.024, allocations: 46.92 kB / 1.862 GB, free: 18 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006724/2.031, allocations: 486.7 kB / 1.863 GB, free: 17.57 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008787/2.032, allocations: 153.5 kB / 1.863 GB, free: 17.45 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 88 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$whenCondition3,tri.y,$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 (386): * Single equations (assignments): 370 * 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.003997/2.036, allocations: 1.221 MB / 1.864 GB, free: 16.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001522/2.037, allocations: 0.5671 MB / 1.864 GB, free: 16.22 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0147/2.052, allocations: 4.295 MB / 1.869 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.357e-05/2.052, allocations: 32 kB / 1.869 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-05/2.052, allocations: 0 / 1.869 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01014/2.062, allocations: 3.263 MB / 1.872 GB, free: 10.81 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02495/2.087, allocations: 8.902 MB / 1.881 GB, free: 4.93 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.991e-05/2.087, allocations: 7.953 kB / 1.881 GB, free: 4.922 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004884/2.092, allocations: 0.6904 MB / 1.881 GB, free: 4.277 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.102e-05/2.092, allocations: 12 kB / 1.881 GB, free: 4.266 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004867/2.093, allocations: 78.02 kB / 1.881 GB, free: 4.227 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002495/2.095, allocations: 5.352 MB / 1.887 GB, free: 14.77 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.893e-06/2.095, allocations: 6.719 kB / 1.887 GB, free: 14.77 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01834/2.114, allocations: 5.92 MB / 1.892 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003995/2.118, allocations: 1.157 MB / 1.894 GB, free: 9.645 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001626/2.119, allocations: 62.36 kB / 1.894 GB, free: 9.625 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006181/2.126, allocations: 436.5 kB / 1.894 GB, free: 9.238 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007003/2.126, allocations: 181.8 kB / 1.894 GB, free: 9.082 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004841/2.127, allocations: 120.2 kB / 1.894 GB, free: 8.984 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.009058/2.136, allocations: 3.387 MB / 1.898 GB, free: 6.664 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.259e-06/2.136, allocations: 4 kB / 1.898 GB, free: 6.66 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01208/2.148, allocations: 2.574 MB / 1.9 GB, free: 4.27 MB / 0.8698 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 (tri.y,$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 (276): * 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): 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.003079/2.151, allocations: 1.05 MB / 1.901 GB, free: 3.418 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.02178/2.173, allocations: 6.267 MB / 1.907 GB, free: 14.87 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.426e-05/2.173, allocations: 4.438 kB / 1.907 GB, free: 14.87 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.006612/2.18, allocations: 1.935 MB / 1.909 GB, free: 13.49 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01919/2.199, allocations: 2.968 MB / 1.912 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02953/2.228, allocations: 11.94 MB / 1.924 GB, free: 292 kB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004875/2.233, allocations: 2.961 MB / 1.927 GB, free: 13.37 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.009793/2.243, allocations: 1.308 MB / 1.928 GB, free: 12.16 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002338/2.246, allocations: 462 kB / 1.928 GB, free: 11.74 MB / 0.9011 GB Notification: Performance of SimCode: time 1.817e-06/2.246, allocations: 0 / 1.928 GB, free: 11.74 MB / 0.9011 GB Notification: Performance of Templates: time 0.3825/2.628, allocations: 108.3 MB / 2.034 GB, free: 1.586 MB / 0.9948 GB