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: "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl,fileNamePrefix="Buildings_8_Buildings_Experimental_DHC_Loads_Controls_Validation_MixingValveControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl,fileNamePrefix="Buildings_8_Buildings_Experimental_DHC_Loads_Controls_Validation_MixingValveControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.734/1.734, allocations: 289.7 MB / 302.2 MB, free: 2.168 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.001101/0.0011, allocations: 184.7 kB / 371.6 MB, free: 3.395 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.743/1.743, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.0009927/0.0009927, allocations: 93.3 kB / 0.745 GB, free: 54.6 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.697e-05/3.699e-05, allocations: 4 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2801, allocations: 116.3 MB / 0.9799 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.951/2.231, allocations: 480.2 MB / 1.449 GB, free: 290.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003182/2.231, allocations: 103.3 kB / 1.449 GB, free: 290.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.346/8.577, allocations: 1.543 GB / 2.992 GB, free: 73.41 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.663e-06/8.577, allocations: 1 kB / 2.992 GB, free: 73.41 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.001031/8.578, allocations: 112.9 kB / 2.992 GB, free: 73.39 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.01469/8.593, allocations: 3.752 MB / 2.996 GB, free: 71.82 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.403e-05/8.593, allocations: 10.38 kB / 2.996 GB, free: 71.82 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001576/8.595, allocations: 347 kB / 2.996 GB, free: 71.77 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003681/8.599, allocations: 0.5374 MB / 2.997 GB, free: 71.54 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01562/8.614, allocations: 4.727 MB / 3.001 GB, free: 70.85 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003828/8.615, allocations: 209.8 kB / 3.002 GB, free: 70.84 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001425/8.616, allocations: 275.3 kB / 3.002 GB, free: 70.84 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009292/8.625, allocations: 2.61 MB / 3.004 GB, free: 70.41 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001285/8.626, allocations: 7.312 kB / 3.004 GB, free: 70.41 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007271/8.626, allocations: 104.1 kB / 3.004 GB, free: 70.41 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001248/8.626, allocations: 95.81 kB / 3.005 GB, free: 70.41 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005229/8.632, allocations: 1.833 MB / 3.006 GB, free: 70.38 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.02636/8.658, allocations: 14.22 MB / 3.02 GB, free: 63.4 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002141/8.66, allocations: 1.396 MB / 3.022 GB, free: 63.08 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001092/8.661, allocations: 0.6424 MB / 3.022 GB, free: 63.06 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.009749/8.671, allocations: 5.114 MB / 3.027 GB, free: 60.03 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00132/8.672, allocations: 0.7367 MB / 3.028 GB, free: 59.94 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002355/8.675, allocations: 214.6 kB / 3.028 GB, free: 59.86 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=124): time 1.234e-05/8.675, allocations: 0 / 3.028 GB, free: 59.86 MB / 0.9948 GB Notification: Performance of matching and sorting (n=124): time 0.003442/8.678, allocations: 1.379 MB / 3.029 GB, free: 59.62 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.924e-05/8.678, allocations: 145.5 kB / 3.03 GB, free: 59.46 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00866/8.687, allocations: 2.687 MB / 3.032 GB, free: 59.21 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007197/8.688, allocations: 64.55 kB / 3.032 GB, free: 59.18 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00317/8.691, allocations: 1.714 MB / 3.034 GB, free: 58.66 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007001/8.692, allocations: 430.5 kB / 3.034 GB, free: 58.4 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003127/8.692, allocations: 43.62 kB / 3.034 GB, free: 58.4 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.000197/8.692, allocations: 368.4 kB / 3.035 GB, free: 58.09 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001372/8.694, allocations: 0.5665 MB / 3.035 GB, free: 58.09 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001796/8.696, allocations: 1.274 MB / 3.037 GB, free: 57.26 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001628/8.697, allocations: 0.8134 MB / 3.037 GB, free: 57.18 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.085e-05/8.697, allocations: 7.188 kB / 3.037 GB, free: 57.18 MB / 0.9948 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.00516/8.702, allocations: 2.157 MB / 3.039 GB, free: 56.88 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001913/8.704, allocations: 7.364 MB / 3.047 GB, free: 49.21 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.204e-05/8.704, allocations: 18.42 kB / 3.047 GB, free: 49.21 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002813/8.705, allocations: 73.62 kB / 3.047 GB, free: 49.2 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001431/8.706, allocations: 372.2 kB / 3.047 GB, free: 49.2 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001925/8.708, allocations: 1.628 MB / 3.049 GB, free: 47.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004657/8.713, allocations: 320.9 kB / 3.049 GB, free: 47.79 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004076/8.713, allocations: 108.5 kB / 3.049 GB, free: 47.79 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/8.713, allocations: 3.5 kB / 3.049 GB, free: 47.79 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00444/8.718, allocations: 1.849 MB / 3.051 GB, free: 47.68 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.149e-05/8.718, allocations: 17.06 kB / 3.051 GB, free: 47.68 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002093/8.718, allocations: 64.8 kB / 3.051 GB, free: 47.68 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00136/8.719, allocations: 368.6 kB / 3.051 GB, free: 47.68 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001713/8.721, allocations: 1.62 MB / 3.053 GB, free: 46.28 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004157/8.725, allocations: 304.2 kB / 3.053 GB, free: 46.27 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003648/8.726, allocations: 105.2 kB / 3.053 GB, free: 46.27 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.0007971/8.726, allocations: 231.4 kB / 3.054 GB, free: 46.15 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00122/8.728, allocations: 337.7 kB / 3.054 GB, free: 45.98 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004735/8.732, allocations: 1.844 MB / 3.056 GB, free: 45.84 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.306e-05/8.732, allocations: 24.8 kB / 3.056 GB, free: 45.84 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/8.732, allocations: 0 / 3.056 GB, free: 45.84 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002073/8.735, allocations: 1.332 MB / 3.057 GB, free: 45.55 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.01199/8.747, allocations: 4.868 MB / 3.062 GB, free: 44.69 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/8.747, allocations: 3.906 kB / 3.062 GB, free: 44.69 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009606/8.748, allocations: 222.2 kB / 3.062 GB, free: 44.69 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001588/8.748, allocations: 52.58 kB / 3.062 GB, free: 44.68 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001284/8.748, allocations: 40.03 kB / 3.062 GB, free: 44.68 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001516/8.749, allocations: 1.594 MB / 3.064 GB, free: 43.28 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/8.749, allocations: 7.594 kB / 3.064 GB, free: 43.28 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004422/8.754, allocations: 2.977 MB / 3.067 GB, free: 42.33 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002522/8.756, allocations: 0.6181 MB / 3.067 GB, free: 42.05 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001373/8.758, allocations: 30.78 kB / 3.067 GB, free: 42.05 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003008/8.761, allocations: 190.8 kB / 3.067 GB, free: 42.05 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002246/8.761, allocations: 104.7 kB / 3.067 GB, free: 42.04 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001935/8.761, allocations: 65.5 kB / 3.067 GB, free: 42.04 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.005255/8.766, allocations: 2.049 MB / 3.069 GB, free: 41.88 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.91e-07/8.766, allocations: 3.562 kB / 3.069 GB, free: 41.88 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.01106/8.778, allocations: 2.081 MB / 3.072 GB, free: 41.6 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.009874/8.787, allocations: 6.282 MB / 3.078 GB, free: 38.92 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.006183/8.794, allocations: 3.063 MB / 3.081 GB, free: 38.39 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.227e-05/8.794, allocations: 1.812 kB / 3.081 GB, free: 38.39 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001306/8.795, allocations: 0.8118 MB / 3.081 GB, free: 38.28 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009801/8.805, allocations: 1.639 MB / 3.083 GB, free: 38.24 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01966/8.825, allocations: 5.662 MB / 3.089 GB, free: 36.75 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003295/8.828, allocations: 2.181 MB / 3.091 GB, free: 35.96 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.006821/8.835, allocations: 1.027 MB / 3.092 GB, free: 35.8 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002555/8.837, allocations: 1.445 MB / 3.093 GB, free: 35.8 MB / 0.9948 GB Notification: Performance of SimCode: time 1.483e-06/8.837, allocations: 3.5 kB / 3.093 GB, free: 35.8 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2099/9.047, allocations: 118.7 MB / 3.209 GB, free: 5.223 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000202/9.048, allocations: 233.8 kB / 3.209 GB, free: 4.941 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.702/16.75, allocations: 0 / 3.209 GB, free: 4.941 MB / 0.9948 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Experimental_DHC_Loads_Controls_Validation_MixingValveControl_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Experimental_DHC_Loads_Controls_Validation_MixingValveControl.fmu > Buildings_8_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl.pipe 2>&1)