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.511/2.511, allocations: 285 MB / 292.5 MB, free: 10.54 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.001491/0.001491, allocations: 176.8 kB / 360.7 MB, free: 7.254 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.905/1.905, allocations: 205.3 MB / 0.6193 GB, free: 12.1 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.001083/0.001083, allocations: 89.67 kB / 0.7322 GB, free: 44.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.472e-05/2.487e-05, allocations: 4 kB / 0.8509 GB, free: 3.34 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8202/0.8202, allocations: 115.3 MB / 0.9634 GB, free: 78.73 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.42/2.24, allocations: 478.4 MB / 1.431 GB, free: 86.75 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003195/2.24, allocations: 104.5 kB / 1.431 GB, free: 86.69 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 8.206/10.45, allocations: 1.535 GB / 2.966 GB, free: 99.39 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.284e-06/10.45, allocations: 0 / 2.966 GB, free: 99.39 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0008356/10.45, allocations: 110.8 kB / 2.966 GB, free: 99.37 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.01284/10.46, allocations: 3.752 MB / 2.97 GB, free: 97.12 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/10.46, allocations: 14.5 kB / 2.97 GB, free: 97.12 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003742/10.46, allocations: 0.5388 MB / 2.97 GB, free: 96.89 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01801/10.48, allocations: 4.745 MB / 2.975 GB, free: 94.64 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001922/10.48, allocations: 81.94 kB / 2.975 GB, free: 94.64 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00103/10.48, allocations: 161.8 kB / 2.975 GB, free: 94.64 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006168/10.49, allocations: 1.698 MB / 2.977 GB, free: 93.9 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007788/10.5, allocations: 2.257 MB / 2.979 GB, free: 92.78 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.694e-05/10.5, allocations: 10.94 kB / 2.979 GB, free: 92.77 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004443/10.5, allocations: 3.562 kB / 2.979 GB, free: 92.77 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001631/10.5, allocations: 92.77 kB / 2.979 GB, free: 92.76 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.03593/10.53, allocations: 13.72 MB / 2.993 GB, free: 82.77 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003001/10.54, allocations: 1.374 MB / 2.994 GB, free: 81.98 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001532/10.54, allocations: 0.6151 MB / 2.995 GB, free: 81.73 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.01196/10.55, allocations: 4.984 MB / 3 GB, free: 77.7 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001663/10.55, allocations: 0.696 MB / 3 GB, free: 77.39 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002182/10.55, allocations: 158.1 kB / 3 GB, free: 77.32 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=124): time 6.071e-06/10.55, allocations: 3.938 kB / 3 GB, free: 77.31 MB / 0.9792 GB Notification: Performance of matching and sorting (n=124): time 0.006548/10.56, allocations: 1.505 MB / 3.002 GB, free: 76.73 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.484e-05/10.56, allocations: 147.2 kB / 3.002 GB, free: 76.57 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005741/10.57, allocations: 2.287 MB / 3.004 GB, free: 75.51 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0005605/10.57, allocations: 33.52 kB / 3.004 GB, free: 75.48 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.00244/10.57, allocations: 1.718 MB / 3.006 GB, free: 73.97 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007317/10.57, allocations: 408.8 kB / 3.006 GB, free: 73.62 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002094/10.57, allocations: 3.219 kB / 3.006 GB, free: 73.62 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001616/10.57, allocations: 378.9 kB / 3.007 GB, free: 73.26 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001566/10.57, allocations: 0.5424 MB / 3.007 GB, free: 73 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002151/10.57, allocations: 1.238 MB / 3.008 GB, free: 71.81 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004414/10.58, allocations: 0.9253 MB / 3.009 GB, free: 71.31 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.57e-05/10.58, allocations: 3.969 kB / 3.009 GB, free: 71.31 MB / 0.9792 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.00808/10.59, allocations: 2.136 MB / 3.011 GB, free: 70.28 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001543/10.59, allocations: 7.26 MB / 3.018 GB, free: 62.39 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.324e-05/10.59, allocations: 22.41 kB / 3.019 GB, free: 62.39 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003567/10.59, allocations: 61.78 kB / 3.019 GB, free: 62.37 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0027/10.59, allocations: 369.4 kB / 3.019 GB, free: 62.29 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002354/10.59, allocations: 1.575 MB / 3.02 GB, free: 60.75 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00484/10.6, allocations: 259.1 kB / 3.021 GB, free: 60.65 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005284/10.6, allocations: 113.8 kB / 3.021 GB, free: 60.62 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/10.6, allocations: 7.688 kB / 3.021 GB, free: 60.61 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006735/10.61, allocations: 1.777 MB / 3.023 GB, free: 59.78 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-05/10.61, allocations: 18.66 kB / 3.023 GB, free: 59.77 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002113/10.61, allocations: 62.53 kB / 3.023 GB, free: 59.75 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002313/10.61, allocations: 371.6 kB / 3.023 GB, free: 59.66 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002284/10.61, allocations: 1.552 MB / 3.025 GB, free: 58.14 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004537/10.62, allocations: 258.5 kB / 3.025 GB, free: 58.04 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004261/10.62, allocations: 100.7 kB / 3.025 GB, free: 58.02 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.0006072/10.62, allocations: 176.7 kB / 3.025 GB, free: 57.86 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008051/10.62, allocations: 305.7 kB / 3.025 GB, free: 57.7 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00619/10.62, allocations: 1.805 MB / 3.027 GB, free: 56.66 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.259e-05/10.62, allocations: 27.64 kB / 3.027 GB, free: 56.63 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.886e-06/10.62, allocations: 7.953 kB / 3.027 GB, free: 56.62 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00375/10.63, allocations: 1.351 MB / 3.028 GB, free: 55.22 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.01269/10.64, allocations: 4.561 MB / 3.033 GB, free: 50.57 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.355e-05/10.64, allocations: 4 kB / 3.033 GB, free: 50.56 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001815/10.64, allocations: 232 kB / 3.033 GB, free: 50.34 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002172/10.64, allocations: 48.84 kB / 3.033 GB, free: 50.29 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001694/10.64, allocations: 19.98 kB / 3.033 GB, free: 50.27 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002282/10.65, allocations: 1.533 MB / 3.035 GB, free: 48.61 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-05/10.65, allocations: 7.953 kB / 3.035 GB, free: 48.61 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008551/10.65, allocations: 2.933 MB / 3.038 GB, free: 45.55 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002493/10.66, allocations: 0.5983 MB / 3.038 GB, free: 44.93 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001063/10.66, allocations: 4 kB / 3.038 GB, free: 44.92 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003934/10.66, allocations: 171.7 kB / 3.038 GB, free: 44.75 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004317/10.66, allocations: 100.2 kB / 3.038 GB, free: 44.66 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002501/10.66, allocations: 71.89 kB / 3.038 GB, free: 44.59 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.004951/10.67, allocations: 1.699 MB / 3.04 GB, free: 42.9 MB / 0.9792 GB Notification: Performance of sort global known variables: time 4.81e-07/10.67, allocations: 0 / 3.04 GB, free: 42.9 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.01609/10.68, allocations: 2.106 MB / 3.042 GB, free: 40.79 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.00483/10.69, allocations: 2.126 MB / 3.044 GB, free: 38.82 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.006924/10.7, allocations: 2.894 MB / 3.047 GB, free: 35.87 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.235e-05/10.7, allocations: 10.39 kB / 3.047 GB, free: 35.86 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001675/10.7, allocations: 0.7608 MB / 3.048 GB, free: 35.09 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01168/10.71, allocations: 1.432 MB / 3.049 GB, free: 33.75 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01477/10.72, allocations: 4.695 MB / 3.054 GB, free: 29.02 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002573/10.73, allocations: 2.178 MB / 3.056 GB, free: 26.82 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.008039/10.73, allocations: 0.9586 MB / 3.057 GB, free: 25.93 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008224/10.74, allocations: 195.2 kB / 3.057 GB, free: 25.74 MB / 0.9792 GB Notification: Performance of SimCode: time 1.473e-06/10.74, allocations: 4 kB / 3.057 GB, free: 25.73 MB / 0.9792 GB Notification: Performance of Templates: time 1.014/11.75, allocations: 67.19 MB / 3.123 GB, free: 99.92 MB / 0.9948 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)