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 4.891/4.891, allocations: 0.5623 GB / 0.5775 GB, free: 3.316 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.002594/0.002594, allocations: 356.1 kB / 0.6446 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.307/4.307, allocations: 410.7 MB / 1.113 GB, free: 5.938 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.001916/0.001916, allocations: 180.8 kB / 1.226 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005198/0.00052, allocations: 12 kB / 1.349 GB, free: 8.262 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7459/0.7464, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.428/2.174, allocations: 479.2 MB / 1.929 GB, free: 59.78 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003269/2.175, allocations: 112 kB / 1.929 GB, free: 59.72 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 8.109/10.28, allocations: 1.535 GB / 3.464 GB, free: 91.2 MB / 0.9948 GB Notification: Performance of FrontEnd: time 3.056e-06/10.28, allocations: 0 / 3.464 GB, free: 91.2 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0008711/10.29, allocations: 107.2 kB / 3.464 GB, free: 91.17 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: 619 * Number of variables: 619 Notification: Performance of Generate backend data structure: time 0.01938/10.3, allocations: 4.666 MB / 3.469 GB, free: 87.85 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/10.3, allocations: 14.59 kB / 3.469 GB, free: 87.85 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003787/10.31, allocations: 0.5371 MB / 3.469 GB, free: 87.59 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01869/10.33, allocations: 4.54 MB / 3.474 GB, free: 84.29 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004242/10.33, allocations: 204.8 kB / 3.474 GB, free: 84.19 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001214/10.33, allocations: 286 kB / 3.474 GB, free: 84.1 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009859/10.34, allocations: 2.679 MB / 3.477 GB, free: 81.59 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001339/10.34, allocations: 7.938 kB / 3.477 GB, free: 81.59 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006324/10.34, allocations: 108 kB / 3.477 GB, free: 81.48 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001207/10.34, allocations: 96.55 kB / 3.477 GB, free: 81.38 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007981/10.35, allocations: 1.927 MB / 3.479 GB, free: 79.44 MB / 0.9948 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.03112/10.38, allocations: 14.17 MB / 3.493 GB, free: 64.43 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004017/10.38, allocations: 1.476 MB / 3.494 GB, free: 62.9 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002151/10.39, allocations: 0.6755 MB / 3.495 GB, free: 62.23 MB / 0.9948 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.01251/10.4, allocations: 5.061 MB / 3.5 GB, free: 56.61 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002394/10.4, allocations: 0.77 MB / 3.501 GB, free: 55.83 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002578/10.4, allocations: 214.2 kB / 3.501 GB, free: 55.62 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=124): time 9.578e-06/10.4, allocations: 0 / 3.501 GB, free: 55.62 MB / 0.9948 GB Notification: Performance of matching and sorting (n=124): time 0.007959/10.41, allocations: 1.998 MB / 3.503 GB, free: 53.59 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.35e-05/10.41, allocations: 141.5 kB / 3.503 GB, free: 53.43 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008197/10.42, allocations: 3.018 MB / 3.506 GB, free: 50.43 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006085/10.42, allocations: 69.7 kB / 3.506 GB, free: 50.35 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002574/10.42, allocations: 1.709 MB / 3.508 GB, free: 48.63 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007656/10.42, allocations: 426 kB / 3.508 GB, free: 48.21 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002462/10.42, allocations: 36 kB / 3.508 GB, free: 48.17 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001647/10.42, allocations: 381.8 kB / 3.508 GB, free: 47.79 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002109/10.43, allocations: 0.5974 MB / 3.509 GB, free: 47.2 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003013/10.43, allocations: 1.333 MB / 3.51 GB, free: 45.55 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002734/10.43, allocations: 0.8334 MB / 3.511 GB, free: 44.7 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.141e-05/10.43, allocations: 8 kB / 3.511 GB, free: 44.7 MB / 0.9948 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.007877/10.44, allocations: 2.247 MB / 3.513 GB, free: 42.42 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004123/10.44, allocations: 0.648 MB / 3.514 GB, free: 41.54 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.659e-05/10.44, allocations: 16 kB / 3.514 GB, free: 41.52 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003083/10.44, allocations: 68.83 kB / 3.514 GB, free: 41.45 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002795/10.44, allocations: 379.4 kB / 3.514 GB, free: 41.08 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002138/10.45, allocations: 1.617 MB / 3.516 GB, free: 39.32 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006512/10.45, allocations: 327.4 kB / 3.516 GB, free: 39 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006723/10.45, allocations: 111.8 kB / 3.516 GB, free: 38.89 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/10.45, allocations: 4 kB / 3.516 GB, free: 38.89 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006259/10.46, allocations: 1.898 MB / 3.518 GB, free: 36.98 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.485e-05/10.46, allocations: 20.09 kB / 3.518 GB, free: 36.96 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002666/10.46, allocations: 71.14 kB / 3.518 GB, free: 36.89 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002687/10.46, allocations: 363.5 kB / 3.519 GB, free: 36.53 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00203/10.46, allocations: 1.626 MB / 3.52 GB, free: 34.77 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00524/10.47, allocations: 307.6 kB / 3.521 GB, free: 34.46 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006822/10.47, allocations: 99.97 kB / 3.521 GB, free: 34.37 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.disFlo.conVal.cha.y,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition5,disFlo.conVal.swi.u2,$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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (216): * Single equations (assignments): 212 * Array equations: 1 * Algorithm blocks: 2 * Record equations: 0 * 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: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003289/10.47, allocations: 0.8819 MB / 3.522 GB, free: 33.48 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001141/10.47, allocations: 339.8 kB / 3.522 GB, free: 33.14 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00683/10.48, allocations: 1.904 MB / 3.524 GB, free: 31.23 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.06e-05/10.48, allocations: 20 kB / 3.524 GB, free: 31.21 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/10.48, allocations: 4 kB / 3.524 GB, free: 31.21 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003844/10.49, allocations: 1.396 MB / 3.525 GB, free: 29.76 MB / 0.9948 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.01446/10.5, allocations: 4.888 MB / 3.53 GB, free: 24.74 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.56e-05/10.5, allocations: 7.938 kB / 3.53 GB, free: 24.73 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001933/10.5, allocations: 227.6 kB / 3.53 GB, free: 24.51 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002279/10.5, allocations: 48.83 kB / 3.53 GB, free: 24.46 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002205/10.5, allocations: 40.17 kB / 3.53 GB, free: 24.42 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001961/10.5, allocations: 1.598 MB / 3.532 GB, free: 22.68 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/10.5, allocations: 7.938 kB / 3.532 GB, free: 22.68 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007601/10.51, allocations: 2.779 MB / 3.534 GB, free: 19.84 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002478/10.51, allocations: 0.5982 MB / 3.535 GB, free: 19.22 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001216/10.52, allocations: 32 kB / 3.535 GB, free: 19.19 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004122/10.52, allocations: 191.5 kB / 3.535 GB, free: 19 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004524/10.52, allocations: 105.1 kB / 3.535 GB, free: 18.9 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002683/10.52, allocations: 63.95 kB / 3.535 GB, free: 18.84 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.006025/10.53, allocations: 2.011 MB / 3.537 GB, free: 16.85 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.223e-06/10.53, allocations: 0 / 3.537 GB, free: 16.85 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.01412/10.54, allocations: 2.027 MB / 3.539 GB, free: 14.82 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 8 (disFlo.heaCoo.vol.dynBal.U,disFlo.senTSup.T,disFlo.val.vol.dynBal.U,disFlo.spl.vol.dynBal.U,disFlo.conVal.resConTSup.I.y,senTSecSup.T,senTSecRet.T,senTPriSup.T) * Number of discrete variables: 12 (disFlo.conVal.cha.y,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,disFlo.conVal.swi.u2,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 (137): * Single equations (assignments): 121 * 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: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005248/10.55, allocations: 2.137 MB / 3.541 GB, free: 12.74 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.007934/10.55, allocations: 3.047 MB / 3.544 GB, free: 9.625 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.207e-05/10.55, allocations: 0 / 3.544 GB, free: 9.625 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.002114/10.56, allocations: 0.8347 MB / 3.545 GB, free: 8.777 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01505/10.57, allocations: 1.655 MB / 3.547 GB, free: 7.227 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01876/10.59, allocations: 7.255 MB / 3.554 GB, free: 15.96 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004442/10.6, allocations: 2.168 MB / 3.556 GB, free: 13.78 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.006353/10.6, allocations: 0.733 MB / 3.557 GB, free: 13.09 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001402/10.6, allocations: 247.3 kB / 3.557 GB, free: 12.85 MB / 1.01 GB Notification: Performance of SimCode: time 2.134e-06/10.6, allocations: 0 / 3.557 GB, free: 12.85 MB / 1.01 GB Notification: Performance of Templates: time 1.069/11.67, allocations: 74.13 MB / 3.629 GB, free: 110.4 MB / 1.01 GB