Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.783/1.783, allocations: 288.3 MB / 303.2 MB, free: 8.219 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001462/0.001462, allocations: 179.5 kB / 371.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.75/1.75, allocations: 205.4 MB / 0.6306 GB, free: 9.977 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008969/0.000897, allocations: 109.7 kB / 0.7439 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003835/0.0003835, allocations: 10.34 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.2504, allocations: 115.3 MB / 0.9794 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.607/1.858, allocations: 479.3 MB / 1.448 GB, free: 336.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003612/1.858, allocations: 108.9 kB / 1.448 GB, free: 336.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.055/7.913, allocations: 1.548 GB / 2.995 GB, free: 82.9 MB / 0.9948 GB Notification: Performance of FrontEnd: time 3.928e-06/7.913, allocations: 0 / 2.995 GB, free: 82.9 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0009684/7.914, allocations: 111.4 kB / 2.996 GB, free: 82.88 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.01754/7.932, allocations: 4.67 MB / 3 GB, free: 81.08 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/7.932, allocations: 7.812 kB / 3 GB, free: 81.08 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003567/7.936, allocations: 0.5398 MB / 3.001 GB, free: 80.85 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.014/7.95, allocations: 4.778 MB / 3.005 GB, free: 80.16 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003075/7.95, allocations: 212 kB / 3.006 GB, free: 80.15 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001128/7.951, allocations: 271.6 kB / 3.006 GB, free: 80.15 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00546/7.957, allocations: 2.671 MB / 3.008 GB, free: 79.73 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.707e-05/7.957, allocations: 2.625 kB / 3.008 GB, free: 79.73 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000236/7.957, allocations: 106.2 kB / 3.008 GB, free: 79.73 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.948e-05/7.957, allocations: 87.7 kB / 3.009 GB, free: 79.72 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003513/7.961, allocations: 1.933 MB / 3.01 GB, free: 79.69 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.01902/7.98, allocations: 14.23 MB / 3.024 GB, free: 72.7 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002061/7.982, allocations: 1.469 MB / 3.026 GB, free: 72.39 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.007633/7.989, allocations: 5.11 MB / 3.031 GB, free: 69.37 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001183/7.991, allocations: 0.7792 MB / 3.032 GB, free: 69.27 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001699/7.992, allocations: 213.7 kB / 3.032 GB, free: 69.19 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=125): time 3.827e-06/7.992, allocations: 1.031 kB / 3.032 GB, free: 69.19 MB / 0.9948 GB Notification: Performance of matching and sorting (n=125): time 0.003696/7.996, allocations: 2.016 MB / 3.034 GB, free: 68.86 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.155e-05/7.996, allocations: 149.4 kB / 3.034 GB, free: 68.7 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004603/8.001, allocations: 2.725 MB / 3.037 GB, free: 68.46 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003189/8.001, allocations: 70.19 kB / 3.037 GB, free: 68.43 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001626/8.003, allocations: 1.711 MB / 3.038 GB, free: 67.91 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000439/8.003, allocations: 431.9 kB / 3.039 GB, free: 67.65 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.79e-05/8.003, allocations: 39.67 kB / 3.039 GB, free: 67.65 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.000133/8.003, allocations: 379.2 kB / 3.039 GB, free: 67.34 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00119/8.005, allocations: 0.6044 MB / 3.04 GB, free: 67.34 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001561/8.006, allocations: 1.33 MB / 3.041 GB, free: 66.51 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001356/8.007, allocations: 0.8495 MB / 3.042 GB, free: 66.43 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.089e-05/8.007, allocations: 3.375 kB / 3.042 GB, free: 66.43 MB / 0.9948 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.00473/8.012, allocations: 2.258 MB / 3.044 GB, free: 66.12 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001733/8.014, allocations: 7.362 MB / 3.051 GB, free: 58.45 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.794e-05/8.014, allocations: 17.97 kB / 3.051 GB, free: 58.45 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002599/8.014, allocations: 64.91 kB / 3.051 GB, free: 58.45 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/8.016, allocations: 381.3 kB / 3.052 GB, free: 58.44 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001433/8.017, allocations: 1.62 MB / 3.053 GB, free: 57.05 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004872/8.022, allocations: 320.5 kB / 3.054 GB, free: 57.03 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004919/8.022, allocations: 105.8 kB / 3.054 GB, free: 57.03 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/8.022, allocations: 5.469 kB / 3.054 GB, free: 57.03 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003736/8.026, allocations: 1.92 MB / 3.055 GB, free: 56.93 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.549e-05/8.026, allocations: 16.34 kB / 3.056 GB, free: 56.93 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001592/8.026, allocations: 70.89 kB / 3.056 GB, free: 56.92 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/8.028, allocations: 365.3 kB / 3.056 GB, free: 56.92 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001338/8.029, allocations: 1.626 MB / 3.058 GB, free: 55.53 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003782/8.033, allocations: 300.4 kB / 3.058 GB, free: 55.52 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002921/8.033, allocations: 112 kB / 3.058 GB, free: 55.51 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 (217): * Single equations (assignments): 213 * 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.002743/8.036, allocations: 0.8796 MB / 3.059 GB, free: 55.31 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001059/8.037, allocations: 345.1 kB / 3.059 GB, free: 55.14 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00423/8.041, allocations: 1.912 MB / 3.061 GB, free: 55 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.585e-05/8.041, allocations: 21.88 kB / 3.061 GB, free: 55 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/8.041, allocations: 0 / 3.061 GB, free: 55 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002057/8.043, allocations: 1.404 MB / 3.062 GB, free: 54.71 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.01111/8.054, allocations: 4.967 MB / 3.067 GB, free: 53.85 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.36e-05/8.054, allocations: 3.438 kB / 3.067 GB, free: 53.85 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009992/8.055, allocations: 229.6 kB / 3.067 GB, free: 53.85 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002282/8.056, allocations: 46.06 kB / 3.067 GB, free: 53.84 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001082/8.056, allocations: 44.42 kB / 3.068 GB, free: 53.84 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001497/8.057, allocations: 1.601 MB / 3.069 GB, free: 52.45 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/8.057, allocations: 4.719 kB / 3.069 GB, free: 52.45 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004754/8.062, allocations: 3.098 MB / 3.072 GB, free: 51.49 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002254/8.064, allocations: 0.6175 MB / 3.073 GB, free: 51.22 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000613/8.065, allocations: 33.25 kB / 3.073 GB, free: 51.22 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001933/8.067, allocations: 190.8 kB / 3.073 GB, free: 51.21 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001974/8.067, allocations: 109.9 kB / 3.073 GB, free: 51.2 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001332/8.067, allocations: 61.34 kB / 3.073 GB, free: 51.2 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.003634/8.071, allocations: 2.095 MB / 3.075 GB, free: 51.06 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.543e-06/8.071, allocations: 0 / 3.075 GB, free: 51.06 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.009644/8.081, allocations: 2.044 MB / 3.077 GB, free: 50.78 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 (138): * Single equations (assignments): 122 * 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.004365/8.085, allocations: 2.219 MB / 3.079 GB, free: 50.15 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.005664/8.091, allocations: 3.06 MB / 3.082 GB, free: 49.64 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.157e-05/8.091, allocations: 2.438 kB / 3.082 GB, free: 49.64 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001329/8.092, allocations: 0.8448 MB / 3.083 GB, free: 49.52 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008664/8.101, allocations: 1.633 MB / 3.085 GB, free: 49.51 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01555/8.116, allocations: 7.243 MB / 3.092 GB, free: 46.34 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001907/8.118, allocations: 2.172 MB / 3.094 GB, free: 45.6 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.004034/8.122, allocations: 0.7502 MB / 3.095 GB, free: 45.5 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006727/8.123, allocations: 246.6 kB / 3.095 GB, free: 45.49 MB / 0.9948 GB Notification: Performance of SimCode: time 1.683e-06/8.123, allocations: 0 / 3.095 GB, free: 45.49 MB / 0.9948 GB Notification: Performance of Templates: time 0.1303/8.253, allocations: 75.6 MB / 3.169 GB, free: 39.85 MB / 0.9948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl.makefile (rm -f Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl.sim & ./Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl.pipe 2>&1)