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 2.443/2.443, allocations: 287.9 MB / 302.9 MB, free: 8.18 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001395/0.001395, allocations: 177.1 kB / 371.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.206/2.206, allocations: 205.4 MB / 0.6301 GB, free: 10.33 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001014/0.001014, allocations: 93.73 kB / 0.7434 GB, free: 6.332 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004625/0.0004628, allocations: 14.06 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1538, allocations: 115.3 MB / 0.9788 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Validation.TerminalUnitScaling): time 1.098/1.252, allocations: 412.7 MB / 1.382 GB, free: 12.17 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.8607/2.113, allocations: 77.48 MB / 1.457 GB, free: 16.69 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01244/2.126, allocations: 250.4 kB / 1.458 GB, free: 16.69 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.01439/2.14, allocations: 4.001 MB / 1.462 GB, free: 16.68 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.04131/2.181, allocations: 11.68 MB / 1.473 GB, free: 16.54 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.02744/2.209, allocations: 7.444 MB / 1.48 GB, free: 16.29 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.02387/2.233, allocations: 11.22 MB / 1.491 GB, free: 16.25 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01289/2.246, allocations: 5.513 MB / 1.497 GB, free: 15.59 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01955/2.265, allocations: 6.955 MB / 1.503 GB, free: 15.57 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008551/2.274, allocations: 3.732 MB / 1.507 GB, free: 15.54 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.002572/2.276, allocations: 289.2 kB / 1.507 GB, free: 15.54 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0183/2.295, allocations: 5.096 MB / 1.512 GB, free: 15.54 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.003858/2.299, allocations: 1.836 MB / 1.514 GB, free: 15.54 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.004204/2.303, allocations: 1.76 MB / 1.516 GB, free: 15.51 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.01905/2.322, allocations: 12.64 MB / 1.528 GB, free: 10.83 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.84e-06/2.322, allocations: 0 / 1.528 GB, free: 10.83 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.742e-06/2.322, allocations: 2.969 kB / 1.528 GB, free: 10.83 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003407/2.322, allocations: 2.188 kB / 1.528 GB, free: 10.83 MB / 0.948 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.02062/2.343, allocations: 7.721 MB / 1.536 GB, free: 22.32 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/2.343, allocations: 8.938 kB / 1.536 GB, free: 22.32 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01903/2.362, allocations: 2.619 MB / 1.538 GB, free: 21.24 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03181/2.394, allocations: 6.665 MB / 1.545 GB, free: 18.85 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.004596/2.399, allocations: 0.7981 MB / 1.546 GB, free: 18.7 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002854/2.402, allocations: 0.5452 MB / 1.546 GB, free: 18.69 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02811/2.43, allocations: 6.201 MB / 1.552 GB, free: 17.08 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001795/2.43, allocations: 6.281 kB / 1.552 GB, free: 17.08 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001373/2.431, allocations: 217.3 kB / 1.552 GB, free: 17.07 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000223/2.432, allocations: 195.1 kB / 1.553 GB, free: 17.06 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06091/2.493, allocations: 5.707 MB / 1.558 GB, free: 16.17 MB / 0.9636 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.09233/2.585, allocations: 29 MB / 1.586 GB, free: 15.7 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01483/2.6, allocations: 4.283 MB / 1.591 GB, free: 13.82 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001657/2.602, allocations: 1.095 MB / 1.592 GB, free: 12.54 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008301/2.61, allocations: 2.38 MB / 1.594 GB, free: 10.82 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00387/2.614, allocations: 445.8 kB / 1.594 GB, free: 10.44 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=313): time 1.696e-05/2.614, allocations: 7.922 kB / 1.594 GB, free: 10.43 MB / 0.9792 GB Notification: Performance of matching and sorting (n=313): time 0.03346/2.647, allocations: 8.116 MB / 1.602 GB, free: 3.957 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001413/2.647, allocations: 195.3 kB / 1.603 GB, free: 3.73 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01377/2.661, allocations: 5.925 MB / 1.608 GB, free: 15.57 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.001243/2.663, allocations: 113.9 kB / 1.608 GB, free: 15.52 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.005612/2.668, allocations: 3.311 MB / 1.612 GB, free: 13.9 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001902/2.67, allocations: 1.058 MB / 1.613 GB, free: 12.99 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005426/2.671, allocations: 79.44 kB / 1.613 GB, free: 12.98 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0004318/2.671, allocations: 470.2 kB / 1.613 GB, free: 12.58 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007201/2.678, allocations: 1.992 MB / 1.615 GB, free: 11.23 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009233/2.688, allocations: 3.355 MB / 1.618 GB, free: 8.117 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007804/2.695, allocations: 2.308 MB / 1.621 GB, free: 6.672 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.932e-05/2.696, allocations: 8 kB / 1.621 GB, free: 6.664 MB / 0.9948 GB Notification: Performance of matching and sorting (n=520) (initialization): time 0.02201/2.718, allocations: 6.315 MB / 1.627 GB, free: 2.137 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.007958/2.726, allocations: 14.56 MB / 1.641 GB, free: 2.73 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001167/2.726, allocations: 32 kB / 1.641 GB, free: 2.699 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00337/2.729, allocations: 0.685 MB / 1.642 GB, free: 2.121 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006995/2.736, allocations: 1.058 MB / 1.643 GB, free: 1.148 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006205/2.742, allocations: 4.474 MB / 1.647 GB, free: 12.92 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009116/2.752, allocations: 0.6776 MB / 1.648 GB, free: 12.32 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001101/2.753, allocations: 207.5 kB / 1.648 GB, free: 12.15 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/2.753, allocations: 6.625 kB / 1.648 GB, free: 12.14 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01697/2.77, allocations: 5.247 MB / 1.653 GB, free: 8.719 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001075/2.77, allocations: 28 kB / 1.653 GB, free: 8.691 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00262/2.773, allocations: 0.558 MB / 1.654 GB, free: 8.223 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006039/2.779, allocations: 0.978 MB / 1.655 GB, free: 7.328 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003403/2.782, allocations: 2.359 MB / 1.657 GB, free: 5.23 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008429/2.79, allocations: 0.593 MB / 1.658 GB, free: 4.711 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001064/2.792, allocations: 196.3 kB / 1.658 GB, free: 4.555 MB / 1.026 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.005443/2.797, allocations: 1.66 MB / 1.659 GB, free: 3.711 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002123/2.799, allocations: 0.6596 MB / 1.66 GB, free: 3.043 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01874/2.818, allocations: 5.351 MB / 1.665 GB, free: 15.33 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.488e-05/2.818, allocations: 32 kB / 1.665 GB, free: 15.3 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.326e-05/2.818, allocations: 0 / 1.665 GB, free: 15.3 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01438/2.832, allocations: 4.213 MB / 1.669 GB, free: 12.2 MB / 1.042 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.0414/2.874, allocations: 14.85 MB / 1.684 GB, free: 1.535 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.611e-05/2.874, allocations: 8 kB / 1.684 GB, free: 1.527 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005406/2.879, allocations: 0.76 MB / 1.685 GB, free: 0.8164 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003216/2.883, allocations: 0.6585 MB / 1.685 GB, free: 268 kB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007225/2.883, allocations: 101.4 kB / 1.685 GB, free: 212 kB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005935/2.889, allocations: 4.407 MB / 1.69 GB, free: 12.02 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.952e-05/2.889, allocations: 17.81 kB / 1.69 GB, free: 12.01 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0258/2.915, allocations: 9.723 MB / 1.699 GB, free: 4.008 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004598/2.92, allocations: 1.298 MB / 1.7 GB, free: 3.086 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001775/2.922, allocations: 78.36 kB / 1.701 GB, free: 3.055 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007601/2.929, allocations: 0.5353 MB / 1.701 GB, free: 2.562 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008868/2.93, allocations: 247 kB / 1.701 GB, free: 2.355 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005602/2.931, allocations: 136.3 kB / 1.701 GB, free: 2.246 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.01064/2.942, allocations: 3.958 MB / 1.705 GB, free: 15.57 MB / 1.073 GB Notification: Performance of sort global known variables: time 1.521e-06/2.942, allocations: 0 / 1.705 GB, free: 15.57 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.01432/2.956, allocations: 3.282 MB / 1.709 GB, free: 12.5 MB / 1.073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 46 * 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.003019/2.959, allocations: 1.031 MB / 1.71 GB, free: 11.66 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.02618/2.985, allocations: 7.612 MB / 1.717 GB, free: 6.301 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 1.588e-05/2.985, allocations: 7.281 kB / 1.717 GB, free: 6.297 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.009456/2.995, allocations: 2.61 MB / 1.72 GB, free: 4.461 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01811/3.013, allocations: 3.142 MB / 1.723 GB, free: 1.859 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03792/3.051, allocations: 15.44 MB / 1.738 GB, free: 3.855 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007669/3.058, allocations: 3.737 MB / 1.741 GB, free: 316 kB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.01206/3.071, allocations: 1.558 MB / 1.743 GB, free: 14.75 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002666/3.073, allocations: 472.6 kB / 1.743 GB, free: 14.3 MB / 1.104 GB Notification: Performance of SimCode: time 2.083e-06/3.073, allocations: 4 kB / 1.743 GB, free: 14.29 MB / 1.104 GB Notification: Performance of Templates: time 0.3967/3.47, allocations: 126.9 MB / 1.867 GB, free: 0.5352 MB / 1.214 GB