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.645/1.645, allocations: 289.7 MB / 302.2 MB, free: 2.195 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.0009902/0.0009902, allocations: 181.4 kB / 371.6 MB, free: 3.387 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.595/1.595, allocations: 205.2 MB / 0.6309 GB, free: 11.77 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.001111/0.001111, allocations: 89.25 kB / 0.745 GB, free: 54.45 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.316e-05/3.318e-05, allocations: 4 kB / 0.8662 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2848, allocations: 116.3 MB / 0.9798 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.842/2.127, allocations: 480.2 MB / 1.449 GB, free: 291 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003423/2.128, allocations: 106.4 kB / 1.449 GB, free: 291 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.952/8.079, allocations: 1.543 GB / 2.992 GB, free: 73.6 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.944e-06/8.079, allocations: 0.75 kB / 2.992 GB, free: 73.6 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0008412/8.08, allocations: 109.8 kB / 2.992 GB, free: 73.58 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.01348/8.094, allocations: 3.751 MB / 2.996 GB, free: 72.02 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/8.094, allocations: 14.53 kB / 2.996 GB, free: 72.02 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003409/8.097, allocations: 0.5373 MB / 2.996 GB, free: 71.79 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01285/8.11, allocations: 4.733 MB / 3.001 GB, free: 71.1 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004027/8.111, allocations: 208.2 kB / 3.001 GB, free: 71.09 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001006/8.112, allocations: 274.5 kB / 3.001 GB, free: 71.09 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005452/8.117, allocations: 2.606 MB / 3.004 GB, free: 70.66 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.923e-05/8.117, allocations: 7.406 kB / 3.004 GB, free: 70.66 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002368/8.117, allocations: 100.7 kB / 3.004 GB, free: 70.66 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.377e-05/8.118, allocations: 97.45 kB / 3.004 GB, free: 70.66 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003302/8.121, allocations: 1.833 MB / 3.006 GB, free: 70.62 MB / 0.9948 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.02004/8.141, allocations: 14.23 MB / 3.02 GB, free: 63.65 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001919/8.143, allocations: 1.404 MB / 3.021 GB, free: 63.33 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009928/8.144, allocations: 0.6361 MB / 3.022 GB, free: 63.31 MB / 0.9948 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.008356/8.152, allocations: 5.114 MB / 3.027 GB, free: 60.28 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001296/8.154, allocations: 0.7419 MB / 3.027 GB, free: 60.19 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002497/8.156, allocations: 210.3 kB / 3.028 GB, free: 60.11 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=124): time 8.777e-06/8.156, allocations: 0 / 3.028 GB, free: 60.11 MB / 0.9948 GB Notification: Performance of matching and sorting (n=124): time 0.002627/8.159, allocations: 1.379 MB / 3.029 GB, free: 59.86 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.733e-05/8.159, allocations: 145.1 kB / 3.029 GB, free: 59.71 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004406/8.163, allocations: 2.679 MB / 3.032 GB, free: 59.45 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.000256/8.164, allocations: 69.95 kB / 3.032 GB, free: 59.42 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00189/8.165, allocations: 1.709 MB / 3.034 GB, free: 58.91 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000396/8.166, allocations: 432 kB / 3.034 GB, free: 58.65 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/8.166, allocations: 39.53 kB / 3.034 GB, free: 58.65 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001229/8.166, allocations: 378.7 kB / 3.034 GB, free: 58.34 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001038/8.167, allocations: 0.5583 MB / 3.035 GB, free: 58.34 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001362/8.168, allocations: 1.287 MB / 3.036 GB, free: 57.51 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001149/8.17, allocations: 0.8082 MB / 3.037 GB, free: 57.42 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.01e-05/8.17, allocations: 3.625 kB / 3.037 GB, free: 57.42 MB / 0.9948 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.004059/8.174, allocations: 2.174 MB / 3.039 GB, free: 57.12 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00151/8.175, allocations: 7.355 MB / 3.046 GB, free: 49.45 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.619e-05/8.175, allocations: 15.12 kB / 3.046 GB, free: 49.45 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002437/8.176, allocations: 81.7 kB / 3.046 GB, free: 49.44 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001281/8.177, allocations: 367.5 kB / 3.047 GB, free: 49.44 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001477/8.178, allocations: 1.622 MB / 3.048 GB, free: 48.05 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003888/8.182, allocations: 318.2 kB / 3.049 GB, free: 48.04 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000238/8.182, allocations: 104.8 kB / 3.049 GB, free: 48.04 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/8.182, allocations: 5.406 kB / 3.049 GB, free: 48.04 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003107/8.186, allocations: 1.852 MB / 3.05 GB, free: 47.93 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.813e-05/8.186, allocations: 20.41 kB / 3.051 GB, free: 47.93 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001423/8.186, allocations: 68.31 kB / 3.051 GB, free: 47.92 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/8.187, allocations: 366.6 kB / 3.051 GB, free: 47.92 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001311/8.188, allocations: 1.62 MB / 3.053 GB, free: 46.53 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00397/8.192, allocations: 302.1 kB / 3.053 GB, free: 46.52 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002693/8.193, allocations: 112.9 kB / 3.053 GB, free: 46.52 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 () * 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.000741/8.193, allocations: 232.7 kB / 3.053 GB, free: 46.4 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001061/8.194, allocations: 336.1 kB / 3.053 GB, free: 46.22 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00437/8.199, allocations: 1.837 MB / 3.055 GB, free: 46.09 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.672e-05/8.199, allocations: 16.25 kB / 3.055 GB, free: 46.09 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.197e-05/8.199, allocations: 10.41 kB / 3.055 GB, free: 46.09 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001888/8.201, allocations: 1.326 MB / 3.057 GB, free: 45.8 MB / 0.9948 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.01105/8.212, allocations: 4.866 MB / 3.061 GB, free: 44.93 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/8.212, allocations: 3.719 kB / 3.061 GB, free: 44.93 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009067/8.213, allocations: 230 kB / 3.062 GB, free: 44.93 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001422/8.213, allocations: 47.31 kB / 3.062 GB, free: 44.93 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.894e-05/8.213, allocations: 43.77 kB / 3.062 GB, free: 44.93 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001311/8.214, allocations: 1.603 MB / 3.063 GB, free: 43.53 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/8.214, allocations: 3.781 kB / 3.063 GB, free: 43.53 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00425/8.219, allocations: 2.971 MB / 3.066 GB, free: 42.58 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002144/8.221, allocations: 0.6224 MB / 3.067 GB, free: 42.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00048/8.221, allocations: 36.61 kB / 3.067 GB, free: 42.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001735/8.223, allocations: 185.2 kB / 3.067 GB, free: 42.29 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001842/8.223, allocations: 107.5 kB / 3.067 GB, free: 42.29 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001208/8.223, allocations: 60.73 kB / 3.067 GB, free: 42.29 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.003536/8.227, allocations: 2.052 MB / 3.069 GB, free: 42.12 MB / 0.9948 GB Notification: Performance of sort global known variables: time 2.5e-07/8.227, allocations: 1.969 kB / 3.069 GB, free: 42.12 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.01069/8.238, allocations: 2.077 MB / 3.071 GB, free: 41.84 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) * 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.004532/8.242, allocations: 2.191 MB / 3.073 GB, free: 41.21 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.005488/8.248, allocations: 3.063 MB / 3.076 GB, free: 40.68 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-05/8.248, allocations: 8.75 kB / 3.076 GB, free: 40.68 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001219/8.249, allocations: 0.8045 MB / 3.077 GB, free: 40.56 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009198/8.258, allocations: 1.647 MB / 3.079 GB, free: 40.52 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01359/8.272, allocations: 4.819 MB / 3.083 GB, free: 39.22 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003138/8.275, allocations: 2.177 MB / 3.085 GB, free: 38.43 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.005506/8.281, allocations: 1.02 MB / 3.086 GB, free: 38.28 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005192/8.281, allocations: 197.9 kB / 3.087 GB, free: 38.27 MB / 0.9948 GB Notification: Performance of SimCode: time 1.483e-06/8.281, allocations: 1.594 kB / 3.087 GB, free: 38.27 MB / 0.9948 GB Notification: Performance of Templates: time 0.135/8.416, allocations: 84.58 MB / 3.169 GB, free: 32.51 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)