Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl.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.Controls.Validation.MixingValveControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.557/2.557, allocations: 287.9 MB / 302.9 MB, free: 8.203 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.001438/0.001438, allocations: 186.7 kB / 371.4 MB, free: 10.68 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.033/2.033, allocations: 205.4 MB / 0.6301 GB, free: 10.42 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.00105/0.00105, allocations: 97.06 kB / 0.7434 GB, free: 6.438 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005067/0.0005069, allocations: 11.52 kB / 0.8662 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.157, allocations: 115.3 MB / 0.9788 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl): time 0.7404/0.8974, allocations: 148.7 MB / 1.124 GB, free: 15.78 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.06649/0.964, allocations: 36.6 MB / 1.16 GB, free: 6.434 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008812/0.9728, allocations: 172.8 kB / 1.16 GB, free: 6.355 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.009894/0.9828, allocations: 2.363 MB / 1.162 GB, free: 4.988 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.02565/1.008, allocations: 6.081 MB / 1.168 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.02678/1.035, allocations: 6.567 MB / 1.175 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.01502/1.05, allocations: 6.307 MB / 1.181 GB, free: 7.293 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006838/1.057, allocations: 2.862 MB / 1.183 GB, free: 5.59 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009318/1.067, allocations: 3.175 MB / 1.187 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005035/1.072, allocations: 1.915 MB / 1.188 GB, free: 2.43 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.001159/1.073, allocations: 141.2 kB / 1.189 GB, free: 2.43 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008165/1.081, allocations: 2.159 MB / 1.191 GB, free: 1.465 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.00179/1.083, allocations: 0.7538 MB / 1.191 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.002182/1.085, allocations: 0.9125 MB / 1.192 GB, free: 408 kB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.01142/1.097, allocations: 6.069 MB / 1.198 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.829e-06/1.097, allocations: 0 / 1.198 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.235e-06/1.097, allocations: 0 / 1.198 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001605/1.097, allocations: 0 / 1.198 GB, free: 11.11 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.01029/1.107, allocations: 4.113 MB / 1.202 GB, free: 6.902 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/1.107, allocations: 12.03 kB / 1.202 GB, free: 6.891 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002498/1.11, allocations: 0.5685 MB / 1.203 GB, free: 6.316 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009897/1.12, allocations: 3.627 MB / 1.206 GB, free: 2.629 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006744/1.12, allocations: 277.4 kB / 1.207 GB, free: 2.355 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008452/1.121, allocations: 287.9 kB / 1.207 GB, free: 2.074 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008088/1.129, allocations: 2.842 MB / 1.21 GB, free: 15.06 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.673e-05/1.129, allocations: 7.922 kB / 1.21 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003643/1.13, allocations: 108 kB / 1.21 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001287/1.13, allocations: 96.61 kB / 1.21 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006639/1.137, allocations: 2.064 MB / 1.212 GB, free: 12.77 MB / 0.7448 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.0283/1.165, allocations: 15 MB / 1.227 GB, free: 12.82 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003766/1.169, allocations: 1.542 MB / 1.228 GB, free: 11.21 MB / 0.7605 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 evalFunc (simulation): time 0.01141/1.18, allocations: 5.412 MB / 1.233 GB, free: 5.223 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002197/1.182, allocations: 0.822 MB / 1.234 GB, free: 4.383 MB / 0.7605 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001609/1.184, allocations: 210.1 kB / 1.234 GB, free: 4.176 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=127): time 6.492e-06/1.184, allocations: 4 kB / 1.234 GB, free: 4.172 MB / 0.7605 GB Notification: Performance of matching and sorting (n=127): time 0.006978/1.191, allocations: 2.197 MB / 1.236 GB, free: 1.945 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001817/1.191, allocations: 278 kB / 1.237 GB, free: 1.613 MB / 0.7605 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/Fluid/Actuators/BaseClasses/ValveParameters.mo:29:3-35:74:writable] Warning: Parameter disFlo.val.res3.dpValve_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/Fluid/Interfaces/PartialTwoPortInterface.mo:8:3-10:52:writable] Warning: Parameter disFlo.val.res3.m_flow_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/Fluid/Actuators/BaseClasses/ValveParameters.mo:29:3-35:74:writable] Warning: Parameter disFlo.val.res1.dpValve_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/Fluid/Interfaces/PartialTwoPortInterface.mo:8:3-10:52:writable] Warning: Parameter disFlo.val.res1.m_flow_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007231/1.199, allocations: 3.197 MB / 1.24 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0003966/1.199, allocations: 65.7 kB / 1.24 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.002522/1.202, allocations: 1.778 MB / 1.242 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007419/1.202, allocations: 433.7 kB / 1.242 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001959/1.203, allocations: 47.98 kB / 1.242 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002691/1.203, allocations: 385.8 kB / 1.243 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002212/1.205, allocations: 0.7067 MB / 1.243 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00303/1.208, allocations: 1.423 MB / 1.245 GB, free: 9.234 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002691/1.211, allocations: 0.9586 MB / 1.246 GB, free: 8.266 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.176e-05/1.211, allocations: 4 kB / 1.246 GB, free: 8.262 MB / 0.7761 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.007725/1.219, allocations: 2.567 MB / 1.248 GB, free: 5.668 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.004242/1.223, allocations: 7.973 MB / 1.256 GB, free: 13.12 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.413e-05/1.223, allocations: 20 kB / 1.256 GB, free: 13.11 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005977/1.224, allocations: 96.8 kB / 1.256 GB, free: 13.01 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002213/1.226, allocations: 423.3 kB / 1.256 GB, free: 12.59 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007198/1.227, allocations: 0.6341 MB / 1.257 GB, free: 11.93 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003908/1.231, allocations: 313.9 kB / 1.257 GB, free: 11.63 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004672/1.231, allocations: 108 kB / 1.257 GB, free: 11.52 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/1.231, allocations: 4 kB / 1.257 GB, free: 11.52 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006135/1.237, allocations: 2.214 MB / 1.26 GB, free: 9.289 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.866e-05/1.237, allocations: 19.98 kB / 1.26 GB, free: 9.27 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003323/1.238, allocations: 80.83 kB / 1.26 GB, free: 9.188 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00207/1.24, allocations: 423.8 kB / 1.26 GB, free: 8.773 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002343/1.242, allocations: 1.685 MB / 1.262 GB, free: 6.945 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003754/1.246, allocations: 300.2 kB / 1.262 GB, free: 6.652 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004902/1.247, allocations: 108 kB / 1.262 GB, free: 6.547 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 80 * Number of states: 0 () * Number of discrete variables: 17 ($PRE.disFlo.conVal.cha.y,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition5,disFlo.conVal.toBoo.y,$PRE.disFlo.conVal.cha.u,disFlo.conVal.cha.u,disFlo.conVal.cha.y,disFlo.conVal.cha.up,disFlo.conVal.cha.down,$PRE.mSec_flow.booPul.y,mSec_flow.booPul.y,$PRE.modCha.y,modCha.y,disFlo.conVal.resConTSup.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (237): * Single equations (assignments): 229 * Array equations: 3 * Algorithm blocks: 2 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.00291/1.249, allocations: 0.93 MB / 1.263 GB, free: 5.605 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009342/1.25, allocations: 355.5 kB / 1.263 GB, free: 5.254 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00613/1.257, allocations: 2.046 MB / 1.265 GB, free: 3.195 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.312e-05/1.257, allocations: 23.98 kB / 1.265 GB, free: 3.172 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/1.257, allocations: 0 / 1.265 GB, free: 3.172 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003802/1.26, allocations: 1.509 MB / 1.267 GB, free: 1.609 MB / 0.7917 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.01283/1.273, allocations: 5.064 MB / 1.272 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-05/1.273, allocations: 4 kB / 1.272 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001435/1.275, allocations: 244 kB / 1.272 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002263/1.275, allocations: 52.83 kB / 1.272 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001618/1.275, allocations: 47.97 kB / 1.272 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005947/1.276, allocations: 0.5952 MB / 1.273 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.33e-06/1.276, allocations: 8 kB / 1.273 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007324/1.283, allocations: 3.249 MB / 1.276 GB, free: 8.062 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002132/1.285, allocations: 0.6759 MB / 1.277 GB, free: 7.363 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007325/1.286, allocations: 36 kB / 1.277 GB, free: 7.328 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002805/1.289, allocations: 187.7 kB / 1.277 GB, free: 7.145 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002962/1.289, allocations: 101.2 kB / 1.277 GB, free: 7.043 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002336/1.29, allocations: 71.89 kB / 1.277 GB, free: 6.973 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.005271/1.295, allocations: 2.135 MB / 1.279 GB, free: 4.824 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.238e-06/1.295, allocations: 0 / 1.279 GB, free: 4.824 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.00853/1.303, allocations: 1.909 MB / 1.281 GB, free: 2.91 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 12 (disFlo.val.res1.filter.x[1],disFlo.val.res1.filter.x[2],disFlo.val.res3.filter.x[1],disFlo.val.res3.filter.x[2],disFlo.val.vol.dynBal.U,disFlo.heaCoo.vol.dynBal.U,disFlo.spl.vol.dynBal.U,disFlo.conVal.resConTSup.I.y,disFlo.senTSup.T,senTSecSup.T,senTSecRet.T,senTPriSup.T) * Number of discrete variables: 12 (disFlo.conVal.cha.y,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,disFlo.conVal.toBoo.y,disFlo.conVal.cha.u,disFlo.conVal.cha.up,disFlo.conVal.cha.down,mSec_flow.booPul.y,modCha.y) * Number of discrete states: 1 (disFlo.conVal.cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.002545/1.306, allocations: 0.9439 MB / 1.282 GB, free: 1.965 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.008521/1.315, allocations: 3.374 MB / 1.285 GB, free: 14.51 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.217e-05/1.315, allocations: 4.938 kB / 1.285 GB, free: 14.51 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.002128/1.317, allocations: 0.7707 MB / 1.286 GB, free: 13.74 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009506/1.326, allocations: 1.689 MB / 1.287 GB, free: 12.07 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01698/1.343, allocations: 7.596 MB / 1.295 GB, free: 4.406 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003675/1.347, allocations: 2.249 MB / 1.297 GB, free: 2.137 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.005409/1.353, allocations: 0.8085 MB / 1.298 GB, free: 1.332 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001191/1.354, allocations: 259.4 kB / 1.298 GB, free: 1.078 MB / 0.823 GB Notification: Performance of SimCode: time 2.298e-06/1.354, allocations: 4 kB / 1.298 GB, free: 1.074 MB / 0.823 GB Notification: Performance of Templates: time 0.1674/1.521, allocations: 69.19 MB / 1.366 GB, free: 12.32 MB / 0.9011 GB