Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.79/1.79, allocations: 292.6 MB / 307.5 MB, free: 5.23 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.001059/0.001059, allocations: 184.2 kB / 377.1 MB, free: 1.527 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.697/1.697, allocations: 205.4 MB / 0.6367 GB, free: 9.574 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.0008724/0.0008726, allocations: 94.33 kB / 0.751 GB, free: 62.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003656/0.0003658, allocations: 12 kB / 0.8748 GB, free: 11.35 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2883, allocations: 116.3 MB / 0.9884 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.667/1.955, allocations: 480.3 MB / 1.457 GB, free: 262.7 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003194/1.956, allocations: 109 kB / 1.458 GB, free: 262.7 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 6.325/8.281, allocations: 1.548 GB / 3.005 GB, free: 84.35 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.234e-06/8.281, allocations: 2.094 kB / 3.005 GB, free: 84.35 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0008102/8.282, allocations: 110.1 kB / 3.005 GB, free: 84.33 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.01597/8.298, allocations: 4.663 MB / 3.01 GB, free: 82.17 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/8.298, allocations: 10.34 kB / 3.01 GB, free: 82.17 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003132/8.301, allocations: 0.5424 MB / 3.011 GB, free: 81.94 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01374/8.315, allocations: 4.778 MB / 3.015 GB, free: 81.25 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001919/8.315, allocations: 203 kB / 3.015 GB, free: 81.25 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005433/8.316, allocations: 285.7 kB / 3.016 GB, free: 81.24 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004819/8.321, allocations: 2.668 MB / 3.018 GB, free: 80.81 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.935e-05/8.321, allocations: 5.875 kB / 3.018 GB, free: 80.81 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002295/8.321, allocations: 105.8 kB / 3.018 GB, free: 80.81 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.902e-05/8.321, allocations: 89.45 kB / 3.018 GB, free: 80.8 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003465/8.325, allocations: 1.931 MB / 3.02 GB, free: 80.77 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.01946/8.344, allocations: 14.22 MB / 3.034 GB, free: 73.72 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002252/8.346, allocations: 1.463 MB / 3.036 GB, free: 73.4 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.008496/8.355, allocations: 5.127 MB / 3.041 GB, free: 70.35 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001231/8.356, allocations: 0.7768 MB / 3.041 GB, free: 70.26 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00193/8.358, allocations: 215.6 kB / 3.042 GB, free: 70.17 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=125): time 3.797e-06/8.358, allocations: 1.812 kB / 3.042 GB, free: 70.17 MB / 0.9948 GB Notification: Performance of matching and sorting (n=125): time 0.004073/8.362, allocations: 2.015 MB / 3.044 GB, free: 69.83 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.1e-05/8.362, allocations: 152.3 kB / 3.044 GB, free: 69.67 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004741/8.367, allocations: 2.728 MB / 3.046 GB, free: 69.43 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004896/8.368, allocations: 70.39 kB / 3.047 GB, free: 69.4 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002682/8.37, allocations: 1.708 MB / 3.048 GB, free: 68.89 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007731/8.371, allocations: 423.2 kB / 3.049 GB, free: 68.62 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/8.371, allocations: 40.34 kB / 3.049 GB, free: 68.62 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001981/8.371, allocations: 374.7 kB / 3.049 GB, free: 68.32 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001481/8.373, allocations: 0.6053 MB / 3.05 GB, free: 68.32 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001643/8.375, allocations: 1.325 MB / 3.051 GB, free: 67.48 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001506/8.376, allocations: 0.8469 MB / 3.052 GB, free: 67.38 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.318e-05/8.376, allocations: 3.188 kB / 3.052 GB, free: 67.38 MB / 0.9948 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005294/8.381, allocations: 2.269 MB / 3.054 GB, free: 66.97 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002156/8.384, allocations: 7.355 MB / 3.061 GB, free: 59.29 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.053e-05/8.384, allocations: 21.73 kB / 3.061 GB, free: 59.29 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002709/8.384, allocations: 69.31 kB / 3.061 GB, free: 59.28 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001374/8.385, allocations: 373 kB / 3.062 GB, free: 59.26 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001446/8.387, allocations: 1.632 MB / 3.063 GB, free: 57.85 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003756/8.391, allocations: 320.8 kB / 3.063 GB, free: 57.83 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002672/8.391, allocations: 109.2 kB / 3.064 GB, free: 57.83 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/8.391, allocations: 3.438 kB / 3.064 GB, free: 57.83 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003625/8.394, allocations: 1.905 MB / 3.065 GB, free: 57.62 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.696e-05/8.395, allocations: 19.22 kB / 3.065 GB, free: 57.62 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001541/8.395, allocations: 76.69 kB / 3.065 GB, free: 57.61 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001219/8.396, allocations: 361.9 kB / 3.066 GB, free: 57.59 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0014/8.397, allocations: 1.63 MB / 3.067 GB, free: 56.18 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003566/8.401, allocations: 308.7 kB / 3.068 GB, free: 56.16 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002667/8.401, allocations: 103.4 kB / 3.068 GB, free: 56.16 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.002617/8.404, allocations: 0.8896 MB / 3.069 GB, free: 55.93 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001241/8.405, allocations: 334 kB / 3.069 GB, free: 55.76 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004662/8.41, allocations: 1.924 MB / 3.071 GB, free: 55.61 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.904e-05/8.41, allocations: 19.38 kB / 3.071 GB, free: 55.61 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/8.41, allocations: 3.953 kB / 3.071 GB, free: 55.6 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002108/8.412, allocations: 1.406 MB / 3.072 GB, free: 55.31 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.01125/8.423, allocations: 4.949 MB / 3.077 GB, free: 54.43 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.157e-05/8.423, allocations: 7.219 kB / 3.077 GB, free: 54.43 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009545/8.424, allocations: 227.6 kB / 3.077 GB, free: 54.42 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001745/8.424, allocations: 48.8 kB / 3.077 GB, free: 54.41 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001252/8.425, allocations: 40.23 kB / 3.077 GB, free: 54.41 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001443/8.426, allocations: 1.604 MB / 3.079 GB, free: 53 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/8.426, allocations: 3.375 kB / 3.079 GB, free: 53 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005207/8.431, allocations: 3.102 MB / 3.082 GB, free: 52.03 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002382/8.434, allocations: 0.6219 MB / 3.083 GB, free: 51.75 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001138/8.435, allocations: 29.31 kB / 3.083 GB, free: 51.75 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002765/8.438, allocations: 192.2 kB / 3.083 GB, free: 51.73 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000198/8.438, allocations: 108.1 kB / 3.083 GB, free: 51.72 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001676/8.438, allocations: 62.17 kB / 3.083 GB, free: 51.72 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.003818/8.442, allocations: 2.098 MB / 3.085 GB, free: 51.57 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.7e-07/8.442, allocations: 0 / 3.085 GB, free: 51.57 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.009846/8.452, allocations: 2.046 MB / 3.087 GB, free: 51.29 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.004515/8.456, allocations: 2.201 MB / 3.089 GB, free: 50.45 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.006297/8.462, allocations: 3.053 MB / 3.092 GB, free: 49.82 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-05/8.463, allocations: 3.781 kB / 3.092 GB, free: 49.82 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001493/8.464, allocations: 0.847 MB / 3.093 GB, free: 49.66 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009175/8.473, allocations: 1.643 MB / 3.095 GB, free: 49.57 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01586/8.489, allocations: 7.241 MB / 3.102 GB, free: 46.05 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003147/8.492, allocations: 2.177 MB / 3.104 GB, free: 45.25 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.00489/8.497, allocations: 0.7542 MB / 3.105 GB, free: 45.13 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009332/8.498, allocations: 251.1 kB / 3.105 GB, free: 45.12 MB / 0.9948 GB Notification: Performance of SimCode: time 1.142e-06/8.498, allocations: 0 / 3.105 GB, free: 45.12 MB / 0.9948 GB Notification: Performance of Templates: time 0.133/8.631, allocations: 75.59 MB / 3.179 GB, free: 16.5 MB / 0.9948 GB make -j1 -f Buildings_8_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl.makefile (rm -f Buildings_8_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl.pipe ; mkfifo Buildings_8_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl.pipe ; head -c 1048576 < Buildings_8_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl.pipe >> ../files/Buildings_8_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl.sim & ./Buildings_8_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl.pipe 2>&1)