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.564/2.564, allocations: 287.5 MB / 302.4 MB, free: 8.27 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.001549/0.001548, allocations: 169.2 kB / 371 MB, free: 10.78 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 2.058/2.058, allocations: 205.4 MB / 0.6297 GB, free: 10.51 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001158/0.001158, allocations: 97.09 kB / 0.743 GB, free: 6.496 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000682/0.0006819, allocations: 10.88 kB / 0.8658 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2144/0.2151, allocations: 115.3 MB / 0.9784 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.1/2.316, allocations: 479.2 MB / 1.446 GB, free: 272.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004314/2.316, allocations: 108.7 kB / 1.446 GB, free: 272.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.28/10.6, allocations: 1.548 GB / 2.994 GB, free: 83.12 MB / 0.9948 GB Notification: Performance of FrontEnd: time 3.377e-06/10.6, allocations: 3.938 kB / 2.994 GB, free: 83.12 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.000817/10.6, allocations: 116.1 kB / 2.994 GB, free: 83.1 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.01828/10.62, allocations: 4.662 MB / 2.999 GB, free: 81.24 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/10.62, allocations: 6.781 kB / 2.999 GB, free: 81.24 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003743/10.62, allocations: 0.5371 MB / 2.999 GB, free: 81.02 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01743/10.64, allocations: 4.78 MB / 3.004 GB, free: 80.32 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002985/10.64, allocations: 210.3 kB / 3.004 GB, free: 80.31 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001024/10.64, allocations: 275.2 kB / 3.005 GB, free: 80.31 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008369/10.65, allocations: 2.667 MB / 3.007 GB, free: 79.89 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001129/10.65, allocations: 7.031 kB / 3.007 GB, free: 79.89 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003961/10.65, allocations: 103.8 kB / 3.007 GB, free: 79.89 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001132/10.65, allocations: 91.08 kB / 3.007 GB, free: 79.88 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006971/10.65, allocations: 1.931 MB / 3.009 GB, free: 79.85 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.02894/10.68, allocations: 14.23 MB / 3.023 GB, free: 72.86 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004655/10.69, allocations: 1.474 MB / 3.025 GB, free: 72.54 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.01517/10.7, allocations: 5.117 MB / 3.03 GB, free: 69.51 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002737/10.71, allocations: 0.7751 MB / 3.03 GB, free: 69.42 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002984/10.71, allocations: 209.7 kB / 3.031 GB, free: 69.34 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=125): time 8.977e-06/10.71, allocations: 0 / 3.031 GB, free: 69.34 MB / 0.9948 GB Notification: Performance of matching and sorting (n=125): time 0.009331/10.72, allocations: 2.026 MB / 3.033 GB, free: 69 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.91e-05/10.72, allocations: 144 kB / 3.033 GB, free: 68.84 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009524/10.73, allocations: 2.727 MB / 3.035 GB, free: 68.61 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006921/10.73, allocations: 64.48 kB / 3.035 GB, free: 68.57 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002995/10.73, allocations: 1.712 MB / 3.037 GB, free: 68.06 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008904/10.73, allocations: 432 kB / 3.037 GB, free: 67.8 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002614/10.73, allocations: 40.56 kB / 3.038 GB, free: 67.8 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001871/10.73, allocations: 367.5 kB / 3.038 GB, free: 67.49 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002685/10.74, allocations: 0.6155 MB / 3.038 GB, free: 67.49 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00342/10.74, allocations: 1.328 MB / 3.04 GB, free: 66.65 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003402/10.74, allocations: 0.836 MB / 3.041 GB, free: 66.58 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.498e-05/10.74, allocations: 8.625 kB / 3.041 GB, free: 66.58 MB / 0.9948 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.009533/10.75, allocations: 2.259 MB / 3.043 GB, free: 66.27 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002101/10.75, allocations: 7.361 MB / 3.05 GB, free: 58.61 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.875e-05/10.75, allocations: 26.7 kB / 3.05 GB, free: 58.6 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004641/10.76, allocations: 69.06 kB / 3.05 GB, free: 58.59 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003603/10.76, allocations: 377.5 kB / 3.05 GB, free: 58.59 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002396/10.76, allocations: 1.623 MB / 3.052 GB, free: 57.21 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00539/10.77, allocations: 323.3 kB / 3.052 GB, free: 57.19 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006014/10.77, allocations: 108.2 kB / 3.052 GB, free: 57.19 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/10.77, allocations: 4.188 kB / 3.052 GB, free: 57.19 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00559/10.77, allocations: 1.916 MB / 3.054 GB, free: 57.08 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.916e-05/10.77, allocations: 18.88 kB / 3.054 GB, free: 57.08 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002158/10.77, allocations: 66.36 kB / 3.054 GB, free: 57.07 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002453/10.78, allocations: 369.2 kB / 3.055 GB, free: 57.07 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001877/10.78, allocations: 1.624 MB / 3.056 GB, free: 55.68 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005041/10.78, allocations: 309.3 kB / 3.057 GB, free: 55.66 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005824/10.78, allocations: 105.5 kB / 3.057 GB, free: 55.66 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.003001/10.79, allocations: 0.8795 MB / 3.058 GB, free: 55.46 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001126/10.79, allocations: 335.9 kB / 3.058 GB, free: 55.29 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006072/10.79, allocations: 1.92 MB / 3.06 GB, free: 55.16 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.45e-05/10.79, allocations: 14.94 kB / 3.06 GB, free: 55.16 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/10.79, allocations: 5.891 kB / 3.06 GB, free: 55.16 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003461/10.8, allocations: 1.407 MB / 3.061 GB, free: 54.87 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.01336/10.81, allocations: 4.949 MB / 3.066 GB, free: 54.02 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.457e-05/10.81, allocations: 7.578 kB / 3.066 GB, free: 54.02 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001791/10.81, allocations: 234.1 kB / 3.066 GB, free: 54.02 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002011/10.81, allocations: 47.16 kB / 3.066 GB, free: 54.01 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000139/10.81, allocations: 39.59 kB / 3.066 GB, free: 54.01 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001792/10.81, allocations: 1.614 MB / 3.068 GB, free: 52.61 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/10.81, allocations: 4.969 kB / 3.068 GB, free: 52.61 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007372/10.82, allocations: 3.098 MB / 3.071 GB, free: 51.65 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00253/10.82, allocations: 0.6161 MB / 3.072 GB, free: 51.38 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001221/10.83, allocations: 32.16 kB / 3.072 GB, free: 51.38 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004137/10.83, allocations: 193.8 kB / 3.072 GB, free: 51.37 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004431/10.83, allocations: 104.2 kB / 3.072 GB, free: 51.36 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002481/10.83, allocations: 63.75 kB / 3.072 GB, free: 51.36 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.005769/10.84, allocations: 2.096 MB / 3.074 GB, free: 51.22 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7.62e-07/10.84, allocations: 2.688 kB / 3.074 GB, free: 51.22 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.01291/10.85, allocations: 2.049 MB / 3.076 GB, free: 50.94 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.005067/10.85, allocations: 2.189 MB / 3.078 GB, free: 50.31 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.008166/10.86, allocations: 3.063 MB / 3.081 GB, free: 49.8 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.26e-05/10.86, allocations: 0 / 3.081 GB, free: 49.8 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.002171/10.87, allocations: 0.8495 MB / 3.082 GB, free: 49.69 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01313/10.88, allocations: 1.646 MB / 3.084 GB, free: 49.64 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01757/10.9, allocations: 7.243 MB / 3.091 GB, free: 46.46 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002425/10.9, allocations: 2.176 MB / 3.093 GB, free: 45.67 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.005497/10.9, allocations: 0.7434 MB / 3.093 GB, free: 45.55 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001138/10.91, allocations: 249 kB / 3.094 GB, free: 45.55 MB / 0.9948 GB Notification: Performance of SimCode: time 1.643e-06/10.91, allocations: 4 kB / 3.094 GB, free: 45.55 MB / 0.9948 GB Notification: Performance of Templates: time 0.2423/11.15, allocations: 75.58 MB / 3.167 GB, free: 39.96 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)