Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl") translateModel(Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.541/2.541, allocations: 284.8 MB / 297.3 MB, free: 6.285 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.001446/0.001445, allocations: 176.7 kB / 365.7 MB, free: 2.555 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 1.874/1.874, allocations: 205.2 MB / 0.6241 GB, free: 8.141 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001135/0.001134, allocations: 96.59 kB / 0.7372 GB, free: 40.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.804e-05/3.817e-05, allocations: 8 kB / 0.8574 GB, free: 13.67 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8061/0.8062, allocations: 115.2 MB / 0.97 GB, free: 78.2 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.407/2.214, allocations: 479.1 MB / 1.438 GB, free: 78.59 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003515/2.214, allocations: 103.2 kB / 1.438 GB, free: 78.53 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 8.253/10.47, allocations: 1.543 GB / 2.981 GB, free: 84.13 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.014e-06/10.47, allocations: 0 / 2.981 GB, free: 84.13 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.000824/10.47, allocations: 106.9 kB / 2.981 GB, free: 84.11 MB / 0.9792 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.01252/10.48, allocations: 3.757 MB / 2.985 GB, free: 81.41 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/10.48, allocations: 9.969 kB / 2.985 GB, free: 81.41 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003646/10.48, allocations: 0.5337 MB / 2.985 GB, free: 81.15 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01759/10.5, allocations: 4.737 MB / 2.99 GB, free: 77.82 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003074/10.5, allocations: 208.5 kB / 2.99 GB, free: 77.72 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001012/10.5, allocations: 280.9 kB / 2.99 GB, free: 77.63 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007546/10.51, allocations: 2.603 MB / 2.993 GB, free: 75.99 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000121/10.51, allocations: 3.938 kB / 2.993 GB, free: 75.99 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003993/10.51, allocations: 110 kB / 2.993 GB, free: 75.91 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001065/10.51, allocations: 93.36 kB / 2.993 GB, free: 75.89 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005934/10.52, allocations: 1.835 MB / 2.995 GB, free: 75.05 MB / 0.9792 GB Warning: The model contains alias variables with conflicting start and/or 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.02847/10.55, allocations: 14.23 MB / 3.009 GB, free: 62.61 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003093/10.55, allocations: 1.398 MB / 3.01 GB, free: 61.75 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001641/10.55, allocations: 0.6367 MB / 3.011 GB, free: 61.45 MB / 0.9792 GB Warning: The model contains alias variables with conflicting start and/or 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.01223/10.56, allocations: 5.11 MB / 3.016 GB, free: 56.59 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001756/10.56, allocations: 0.7433 MB / 3.017 GB, free: 55.93 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002515/10.57, allocations: 210.3 kB / 3.017 GB, free: 55.72 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=124): time 8.475e-06/10.57, allocations: 0 / 3.017 GB, free: 55.72 MB / 0.9792 GB Notification: Performance of matching and sorting (n=124): time 0.004734/10.57, allocations: 1.377 MB / 3.018 GB, free: 54.33 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.893e-05/10.57, allocations: 141.5 kB / 3.018 GB, free: 54.16 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007395/10.58, allocations: 2.688 MB / 3.021 GB, free: 51.49 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0005972/10.58, allocations: 69.7 kB / 3.021 GB, free: 51.42 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.002578/10.58, allocations: 1.716 MB / 3.023 GB, free: 49.69 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007512/10.58, allocations: 422 kB / 3.023 GB, free: 49.27 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002073/10.58, allocations: 43.94 kB / 3.023 GB, free: 49.23 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001554/10.58, allocations: 377.8 kB / 3.023 GB, free: 48.85 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001646/10.59, allocations: 0.5663 MB / 3.024 GB, free: 48.29 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002322/10.59, allocations: 1.279 MB / 3.025 GB, free: 46.69 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002208/10.59, allocations: 0.8109 MB / 3.026 GB, free: 45.87 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-05/10.59, allocations: 4 kB / 3.026 GB, free: 45.86 MB / 0.9792 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.006824/10.6, allocations: 2.169 MB / 3.028 GB, free: 43.67 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.00165/10.6, allocations: 7.361 MB / 3.035 GB, free: 35.75 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.828e-05/10.6, allocations: 16 kB / 3.035 GB, free: 35.73 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003819/10.6, allocations: 72.8 kB / 3.035 GB, free: 35.66 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002814/10.6, allocations: 371.4 kB / 3.036 GB, free: 35.3 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002021/10.6, allocations: 1.611 MB / 3.037 GB, free: 33.55 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005459/10.61, allocations: 323.5 kB / 3.038 GB, free: 33.23 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006438/10.61, allocations: 99.97 kB / 3.038 GB, free: 33.13 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/10.61, allocations: 9.406 kB / 3.038 GB, free: 33.12 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005294/10.62, allocations: 1.859 MB / 3.04 GB, free: 31.25 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.198e-05/10.62, allocations: 19.89 kB / 3.04 GB, free: 31.23 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002182/10.62, allocations: 68.78 kB / 3.04 GB, free: 31.16 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002609/10.62, allocations: 355.5 kB / 3.04 GB, free: 30.82 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001953/10.62, allocations: 1.626 MB / 3.042 GB, free: 29.04 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005273/10.63, allocations: 307.5 kB / 3.042 GB, free: 28.74 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006775/10.63, allocations: 104 kB / 3.042 GB, free: 28.64 MB / 0.9792 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 () * 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.0006888/10.63, allocations: 236.7 kB / 3.042 GB, free: 28.4 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001144/10.63, allocations: 335.8 kB / 3.043 GB, free: 28.07 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005673/10.63, allocations: 1.837 MB / 3.044 GB, free: 26.23 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.755e-05/10.63, allocations: 27.98 kB / 3.044 GB, free: 26.21 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/10.63, allocations: 4 kB / 3.044 GB, free: 26.2 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002954/10.64, allocations: 1.322 MB / 3.046 GB, free: 24.83 MB / 0.9792 GB Warning: The model contains alias variables with conflicting start and/or 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.01363/10.65, allocations: 4.869 MB / 3.05 GB, free: 19.83 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-05/10.65, allocations: 0 / 3.05 GB, free: 19.83 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001889/10.65, allocations: 231.7 kB / 3.051 GB, free: 19.6 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002183/10.65, allocations: 44.84 kB / 3.051 GB, free: 19.55 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001702/10.65, allocations: 43.58 kB / 3.051 GB, free: 19.52 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001902/10.66, allocations: 1.606 MB / 3.052 GB, free: 17.77 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/10.66, allocations: 7.938 kB / 3.052 GB, free: 17.76 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00653/10.66, allocations: 2.976 MB / 3.055 GB, free: 14.68 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002715/10.66, allocations: 0.6137 MB / 3.056 GB, free: 14.04 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001276/10.67, allocations: 35.98 kB / 3.056 GB, free: 14 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004234/10.67, allocations: 187.7 kB / 3.056 GB, free: 13.82 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004809/10.67, allocations: 101.1 kB / 3.056 GB, free: 13.72 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002494/10.67, allocations: 67.95 kB / 3.056 GB, free: 13.66 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.005646/10.68, allocations: 2.054 MB / 3.058 GB, free: 11.62 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6.51e-07/10.68, allocations: 0 / 3.058 GB, free: 11.62 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0137/10.69, allocations: 2.07 MB / 3.06 GB, free: 9.547 MB / 0.9792 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) * 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.005091/10.7, allocations: 2.217 MB / 3.062 GB, free: 7.391 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.007623/10.7, allocations: 3.063 MB / 3.065 GB, free: 4.258 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-05/10.7, allocations: 0 / 3.065 GB, free: 4.258 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001861/10.71, allocations: 0.7967 MB / 3.066 GB, free: 3.449 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01328/10.72, allocations: 1.636 MB / 3.068 GB, free: 1.906 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01596/10.73, allocations: 4.83 MB / 3.072 GB, free: 13.06 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003673/10.74, allocations: 2.171 MB / 3.075 GB, free: 10.86 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.00877/10.75, allocations: 1.03 MB / 3.076 GB, free: 9.898 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009125/10.75, allocations: 203.3 kB / 3.076 GB, free: 9.699 MB / 0.9948 GB Notification: Performance of SimCode: time 1.343e-06/10.75, allocations: 0 / 3.076 GB, free: 9.699 MB / 0.9948 GB Notification: Performance of Templates: time 1.041/11.79, allocations: 84.56 MB / 3.158 GB, free: 116.7 MB / 1.01 GB make -j1 -f Buildings_8.0.0_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl.makefile (rm -f Buildings_8.0.0_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl.pipe ; mkfifo Buildings_8.0.0_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl.pipe >> ../files/Buildings_8.0.0_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl.sim & ./Buildings_8.0.0_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl.pipe 2>&1)