Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Experimental.DHC.Loads.Validation.TerminalUnitScaling.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.Experimental.DHC.Loads.Validation.TerminalUnitScaling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Experimental.DHC.Loads.Validation.TerminalUnitScaling") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.775/4.775, allocations: 0.5623 GB / 0.5769 GB, free: 3.391 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.002405/0.002405, allocations: 355.7 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.11/4.11, allocations: 410.7 MB / 1.112 GB, free: 5.945 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.001778/0.001778, allocations: 181.1 kB / 1.225 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004934/0.0004937, allocations: 12 kB / 1.348 GB, free: 8.25 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5899/0.5904, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Validation.TerminalUnitScaling): time 1.118/1.709, allocations: 453.8 MB / 1.904 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1344/1.843, allocations: 83.29 MB / 1.985 GB, free: 1.668 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01348/1.857, allocations: 266.2 kB / 1.986 GB, free: 1.406 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.01505/1.872, allocations: 3.544 MB / 1.989 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.04639/1.918, allocations: 12.48 MB / 2.001 GB, free: 1.301 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.02851/1.947, allocations: 7.498 MB / 2.008 GB, free: 9.957 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.03535/1.982, allocations: 22.04 MB / 2.03 GB, free: 3.852 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01331/1.995, allocations: 5.433 MB / 2.035 GB, free: 14.35 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02035/2.016, allocations: 7.256 MB / 2.042 GB, free: 7.066 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01138/2.027, allocations: 5.208 MB / 2.047 GB, free: 1.836 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.002384/2.03, allocations: 296 kB / 2.048 GB, free: 1.547 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01682/2.046, allocations: 4.65 MB / 2.052 GB, free: 12.89 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.004086/2.051, allocations: 1.985 MB / 2.054 GB, free: 10.9 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.004225/2.055, allocations: 1.755 MB / 2.056 GB, free: 9.133 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.02177/2.077, allocations: 12.74 MB / 2.068 GB, free: 12.36 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/2.077, allocations: 3.938 kB / 2.068 GB, free: 12.36 MB / 0.9948 GB Notification: Performance of FrontEnd: time 3.1e-06/2.077, allocations: 0 / 2.068 GB, free: 12.36 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0002952/2.077, allocations: 0 / 2.068 GB, free: 12.36 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: 1284 * Number of variables: 1284 Notification: Performance of Generate backend data structure: time 0.02201/2.099, allocations: 7.739 MB / 2.076 GB, free: 4.523 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/2.099, allocations: 11.62 kB / 2.076 GB, free: 4.516 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01926/2.118, allocations: 2.62 MB / 2.079 GB, free: 1.883 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02025/2.139, allocations: 6.761 MB / 2.085 GB, free: 11.04 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002718/2.141, allocations: 0.8043 MB / 2.086 GB, free: 10.23 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001804/2.143, allocations: 0.5468 MB / 2.086 GB, free: 9.688 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02018/2.163, allocations: 6.238 MB / 2.093 GB, free: 3.305 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001389/2.164, allocations: 11.94 kB / 2.093 GB, free: 3.293 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009447/2.165, allocations: 212 kB / 2.093 GB, free: 3.086 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002496/2.165, allocations: 189.6 kB / 2.093 GB, free: 2.898 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02159/2.186, allocations: 5.714 MB / 2.099 GB, free: 13.17 MB / 1.026 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.0658/2.252, allocations: 28.9 MB / 2.127 GB, free: 14.61 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01545/2.268, allocations: 4.296 MB / 2.131 GB, free: 10.26 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007404/2.275, allocations: 2.192 MB / 2.133 GB, free: 8.059 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002302/2.278, allocations: 1.619 MB / 2.135 GB, free: 6.105 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008162/2.286, allocations: 2.378 MB / 2.137 GB, free: 3.684 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003267/2.289, allocations: 448.1 kB / 2.137 GB, free: 3.242 MB / 1.057 GB Notification: Performance of pre-optimization done (n=313): time 1.846e-05/2.289, allocations: 4 kB / 2.137 GB, free: 3.238 MB / 1.057 GB Notification: Performance of matching and sorting (n=313): time 1.197/3.486, allocations: 8.148 MB / 2.145 GB, free: 451.7 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.138e-05/3.487, allocations: 187.1 kB / 2.146 GB, free: 451.5 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01384/3.5, allocations: 5.909 MB / 2.151 GB, free: 449.4 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.0008222/3.501, allocations: 115.8 kB / 2.151 GB, free: 449.4 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.003836/3.505, allocations: 3.319 MB / 2.155 GB, free: 447.2 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.001476/3.507, allocations: 1.056 MB / 2.156 GB, free: 446.4 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000395/3.507, allocations: 84.75 kB / 2.156 GB, free: 446.4 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.00028/3.507, allocations: 457.7 kB / 2.156 GB, free: 446 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00779/3.515, allocations: 1.991 MB / 2.158 GB, free: 445.3 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008473/3.524, allocations: 3.376 MB / 2.161 GB, free: 443 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00773/3.531, allocations: 2.312 MB / 2.164 GB, free: 442.1 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.109e-05/3.531, allocations: 15.45 kB / 2.164 GB, free: 442.1 MB / 1.057 GB Notification: Performance of matching and sorting (n=520) (initialization): time 0.02095/3.552, allocations: 6.318 MB / 2.17 GB, free: 439.8 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005673/3.553, allocations: 0.9559 MB / 2.171 GB, free: 438.5 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-05/3.553, allocations: 32.33 kB / 2.171 GB, free: 438.5 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003441/3.557, allocations: 0.6896 MB / 2.172 GB, free: 438.4 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007528/3.564, allocations: 1.064 MB / 2.173 GB, free: 438.3 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004766/3.569, allocations: 4.463 MB / 2.177 GB, free: 434.6 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009298/3.578, allocations: 0.6816 MB / 2.178 GB, free: 434.5 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001053/3.579, allocations: 209 kB / 2.178 GB, free: 434.4 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/3.579, allocations: 3.219 kB / 2.178 GB, free: 434.4 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01687/3.596, allocations: 5.244 MB / 2.183 GB, free: 432.5 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001157/3.596, allocations: 32.92 kB / 2.183 GB, free: 432.5 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002772/3.599, allocations: 0.5672 MB / 2.184 GB, free: 432.2 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005866/3.605, allocations: 0.978 MB / 2.184 GB, free: 432 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002723/3.608, allocations: 2.357 MB / 2.187 GB, free: 430 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008533/3.617, allocations: 0.5907 MB / 2.187 GB, free: 429.8 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009522/3.618, allocations: 200 kB / 2.188 GB, free: 429.8 MB / 1.057 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 128 * Number of states: 0 () * Number of discrete variables: 18 (terUniMulZonMul.con1.y,terUniMul.con1.y,ter.con1.y,$whenCondition3,$whenCondition2,$whenCondition1,ter.hex.flowRegime,$PRE.ter.greThr.greHys.y,ter.greThr.greHys.y,terUniMul.hex.flowRegime,$PRE.terUniMul.greThr.greHys.y,terUniMul.greThr.greHys.y,terUniMulZonMul.hex.flowRegime,$PRE.terUniMulZonMul.greThr.greHys.y,terUniMulZonMul.greThr.greHys.y,ter.hex.flowRegime_nominal,terUniMul.hex.flowRegime_nominal,terUniMulZonMul.hex.flowRegime_nominal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (465): * Single equations (assignments): 456 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 16,1 18,1 18} Notification: Performance of prepare postOptimizeDAE: time 0.004805/3.622, allocations: 1.65 MB / 2.189 GB, free: 428.7 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001632/3.624, allocations: 0.6596 MB / 2.19 GB, free: 428.3 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01691/3.641, allocations: 5.351 MB / 2.195 GB, free: 423.5 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.935e-05/3.641, allocations: 36 kB / 2.195 GB, free: 423.5 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.32e-05/3.641, allocations: 0 / 2.195 GB, free: 423.5 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01306/3.654, allocations: 4.22 MB / 2.199 GB, free: 419.2 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 postOpt removeSimpleEquations (simulation): time 0.03524/3.689, allocations: 14.56 MB / 2.213 GB, free: 404.3 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.054e-05/3.689, allocations: 8 kB / 2.213 GB, free: 404.3 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005061/3.695, allocations: 0.7637 MB / 2.214 GB, free: 403.5 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002883/3.697, allocations: 0.6623 MB / 2.215 GB, free: 402.9 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006373/3.698, allocations: 99.94 kB / 2.215 GB, free: 402.8 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00432/3.703, allocations: 4.41 MB / 2.219 GB, free: 398.3 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.288e-05/3.703, allocations: 15.89 kB / 2.219 GB, free: 398.3 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02141/3.724, allocations: 7.803 MB / 2.227 GB, free: 390.3 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004124/3.728, allocations: 1.273 MB / 2.228 GB, free: 389 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001695/3.73, allocations: 76 kB / 2.228 GB, free: 388.9 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007088/3.737, allocations: 0.5395 MB / 2.229 GB, free: 388.4 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007585/3.738, allocations: 233.7 kB / 2.229 GB, free: 388.1 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005371/3.738, allocations: 143.9 kB / 2.229 GB, free: 388 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.008983/3.747, allocations: 3.937 MB / 2.233 GB, free: 384.1 MB / 1.057 GB Notification: Performance of sort global known variables: time 1.683e-06/3.747, allocations: 0 / 2.233 GB, free: 384.1 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.01226/3.76, allocations: 3.266 MB / 2.236 GB, free: 380.9 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 15 (ter.fan.vol.dynBal.U,ter.fan.vol.dynBal.m,ter.fan.vol.dynBal.mXi[1],ter.con.I.y,ter.TLoaODE.TAir,terUniMul.fan.vol.dynBal.U,terUniMul.fan.vol.dynBal.m,terUniMul.fan.vol.dynBal.mXi[1],terUniMul.con.I.y,terUniMul.TLoaODE.TAir,terUniMulZonMul.fan.vol.dynBal.U,terUniMulZonMul.fan.vol.dynBal.m,terUniMulZonMul.fan.vol.dynBal.mXi[1],terUniMulZonMul.con.I.y,terUniMulZonMul.TLoaODE.TAir) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,ter.hex.flowRegime,ter.greThr.greHys.y,terUniMul.hex.flowRegime,terUniMul.greThr.greHys.y,terUniMulZonMul.hex.flowRegime,terUniMulZonMul.greThr.greHys.y) * Number of discrete states: 3 (terUniMulZonMul.greThr.greHys.y,terUniMul.greThr.greHys.y,ter.greThr.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (274): * Single equations (assignments): 264 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 15,2 17,2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.002628/3.762, allocations: 1.018 MB / 2.237 GB, free: 380 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.02325/3.786, allocations: 7.613 MB / 2.245 GB, free: 372.4 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 1.635e-05/3.786, allocations: 5.031 kB / 2.245 GB, free: 372.4 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.008412/3.794, allocations: 2.603 MB / 2.247 GB, free: 369.8 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.019/3.813, allocations: 3.186 MB / 2.25 GB, free: 366.8 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03325/3.846, allocations: 15.59 MB / 2.265 GB, free: 351.1 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006025/3.853, allocations: 3.734 MB / 2.269 GB, free: 347.3 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.01287/3.865, allocations: 1.558 MB / 2.271 GB, free: 345.8 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002514/3.868, allocations: 479.3 kB / 2.271 GB, free: 345.4 MB / 1.057 GB Notification: Performance of SimCode: time 1.875e-06/3.868, allocations: 0 / 2.271 GB, free: 345.4 MB / 1.057 GB Notification: Performance of Templates: time 0.264/4.132, allocations: 126.6 MB / 2.395 GB, free: 220.3 MB / 1.057 GB