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.627/1.627, allocations: 285.6 MB / 293.1 MB, free: 10.19 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.001072/0.001072, allocations: 184.9 kB / 361.4 MB, free: 6.844 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.693/1.693, allocations: 205.2 MB / 0.62 GB, free: 11.62 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009036/0.0009036, allocations: 90.52 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.639e-05/1.642e-05, allocations: 4 kB / 0.8518 GB, free: 2.703 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7807/0.7807, allocations: 115.3 MB / 0.9644 GB, free: 78.77 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.228/2.009, allocations: 478.6 MB / 1.432 GB, free: 85.49 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003324/2.009, allocations: 107.4 kB / 1.432 GB, free: 85.43 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.415/7.424, allocations: 1.535 GB / 2.967 GB, free: 98.02 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.916e-06/7.424, allocations: 0 / 2.967 GB, free: 98.02 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0005309/7.425, allocations: 113.4 kB / 2.967 GB, free: 98 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.01119/7.436, allocations: 3.748 MB / 2.971 GB, free: 95.76 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 7.592e-05/7.436, allocations: 6.969 kB / 2.971 GB, free: 95.76 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003348/7.439, allocations: 0.544 MB / 2.972 GB, free: 95.52 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01245/7.452, allocations: 4.72 MB / 2.976 GB, free: 93.29 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/7.452, allocations: 92.77 kB / 2.976 GB, free: 93.29 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004745/7.452, allocations: 172.9 kB / 2.976 GB, free: 93.28 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003379/7.456, allocations: 1.696 MB / 2.978 GB, free: 92.54 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003727/7.459, allocations: 2.255 MB / 2.98 GB, free: 91.41 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.012e-05/7.46, allocations: 7.438 kB / 2.98 GB, free: 91.41 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001829/7.46, allocations: 8.594 kB / 2.98 GB, free: 91.41 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.092e-05/7.46, allocations: 90.42 kB / 2.98 GB, free: 91.4 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.01833/7.478, allocations: 13.73 MB / 2.994 GB, free: 81.41 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001663/7.48, allocations: 1.375 MB / 2.995 GB, free: 80.62 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008121/7.481, allocations: 0.6205 MB / 2.996 GB, free: 80.37 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.00753/7.488, allocations: 4.99 MB / 3.001 GB, free: 76.33 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009595/7.489, allocations: 0.6922 MB / 3.001 GB, free: 76.03 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001589/7.491, allocations: 151.3 kB / 3.001 GB, free: 75.96 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=124): time 3.807e-06/7.491, allocations: 0 / 3.001 GB, free: 75.96 MB / 0.9792 GB Notification: Performance of matching and sorting (n=124): time 0.003642/7.494, allocations: 1.507 MB / 3.003 GB, free: 75.26 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.914e-05/7.495, allocations: 155.9 kB / 3.003 GB, free: 75.09 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003585/7.498, allocations: 2.278 MB / 3.005 GB, free: 73.92 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001932/7.498, allocations: 36.17 kB / 3.005 GB, free: 73.89 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001494/7.5, allocations: 1.716 MB / 3.007 GB, free: 72.38 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003567/7.5, allocations: 411.5 kB / 3.007 GB, free: 72.03 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.775e-05/7.5, allocations: 2.781 kB / 3.007 GB, free: 72.03 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001192/7.5, allocations: 374.7 kB / 3.008 GB, free: 71.68 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008543/7.501, allocations: 0.5398 MB / 3.008 GB, free: 71.42 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001175/7.502, allocations: 1.236 MB / 3.009 GB, free: 70.22 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002463/7.505, allocations: 0.9275 MB / 3.01 GB, free: 69.73 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-05/7.505, allocations: 7.703 kB / 3.01 GB, free: 69.72 MB / 0.9792 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.004711/7.51, allocations: 2.139 MB / 3.013 GB, free: 68.68 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001509/7.511, allocations: 7.254 MB / 3.02 GB, free: 60.81 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.127e-05/7.511, allocations: 25.31 kB / 3.02 GB, free: 60.8 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002183/7.511, allocations: 72.3 kB / 3.02 GB, free: 60.77 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/7.513, allocations: 368.6 kB / 3.02 GB, free: 60.69 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001658/7.514, allocations: 1.562 MB / 3.022 GB, free: 59.16 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003117/7.517, allocations: 263.1 kB / 3.022 GB, free: 59.06 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002096/7.518, allocations: 108.7 kB / 3.022 GB, free: 59.04 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/7.518, allocations: 4.781 kB / 3.022 GB, free: 59.04 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003877/7.522, allocations: 1.771 MB / 3.024 GB, free: 58.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.097e-05/7.522, allocations: 18.41 kB / 3.024 GB, free: 58.2 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001317/7.522, allocations: 72.48 kB / 3.024 GB, free: 58.18 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/7.523, allocations: 360.4 kB / 3.024 GB, free: 58.09 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001579/7.524, allocations: 1.566 MB / 3.026 GB, free: 56.54 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003041/7.528, allocations: 251.5 kB / 3.026 GB, free: 56.3 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001978/7.528, allocations: 104 kB / 3.026 GB, free: 56.2 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.0005051/7.528, allocations: 176.7 kB / 3.026 GB, free: 56.02 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000677/7.529, allocations: 308.1 kB / 3.026 GB, free: 55.71 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004461/7.533, allocations: 1.81 MB / 3.028 GB, free: 53.91 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.844e-05/7.533, allocations: 19.98 kB / 3.028 GB, free: 53.89 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/7.533, allocations: 7.469 kB / 3.028 GB, free: 53.88 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002387/7.536, allocations: 1.355 MB / 3.03 GB, free: 52.48 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.011/7.547, allocations: 4.565 MB / 3.034 GB, free: 47.82 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-05/7.547, allocations: 4 kB / 3.034 GB, free: 47.82 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009566/7.548, allocations: 223.7 kB / 3.034 GB, free: 47.6 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001684/7.548, allocations: 53.22 kB / 3.034 GB, free: 47.54 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.875e-05/7.548, allocations: 23.97 kB / 3.034 GB, free: 47.52 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001774/7.55, allocations: 1.528 MB / 3.036 GB, free: 45.87 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.197e-06/7.55, allocations: 10.62 kB / 3.036 GB, free: 45.86 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004587/7.555, allocations: 2.934 MB / 3.039 GB, free: 42.8 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001489/7.556, allocations: 0.5905 MB / 3.039 GB, free: 42.19 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003305/7.556, allocations: 15.94 kB / 3.039 GB, free: 42.17 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001567/7.558, allocations: 167.7 kB / 3.039 GB, free: 42.01 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001665/7.558, allocations: 93.12 kB / 3.039 GB, free: 41.92 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001135/7.558, allocations: 67.95 kB / 3.04 GB, free: 41.85 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.002713/7.561, allocations: 1.703 MB / 3.041 GB, free: 40.16 MB / 0.9792 GB Notification: Performance of sort global known variables: time 2.8e-07/7.561, allocations: 0 / 3.041 GB, free: 40.16 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.01019/7.571, allocations: 2.101 MB / 3.043 GB, free: 38.05 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.003657/7.575, allocations: 2.134 MB / 3.045 GB, free: 36.07 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.004287/7.579, allocations: 2.892 MB / 3.048 GB, free: 33.12 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/7.579, allocations: 4 kB / 3.048 GB, free: 33.12 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0008882/7.58, allocations: 0.7602 MB / 3.049 GB, free: 32.35 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006939/7.587, allocations: 1.418 MB / 3.05 GB, free: 31.01 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008511/7.596, allocations: 4.714 MB / 3.055 GB, free: 26.28 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001429/7.597, allocations: 2.181 MB / 3.057 GB, free: 24.07 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.004279/7.601, allocations: 0.9551 MB / 3.058 GB, free: 23.18 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000391/7.602, allocations: 187.4 kB / 3.058 GB, free: 23 MB / 0.9792 GB Notification: Performance of SimCode: time 1.062e-06/7.602, allocations: 0 / 3.058 GB, free: 23 MB / 0.9792 GB Notification: Performance of Templates: time 0.8854/8.487, allocations: 67.21 MB / 3.124 GB, free: 101.4 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)