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.683/1.683, allocations: 289.9 MB / 297.4 MB, free: 6.348 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.00128/0.00128, allocations: 180.8 kB / 366.7 MB, free: 1.641 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.678/1.678, allocations: 205.3 MB / 0.626 GB, free: 7.156 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.0008412/0.0008409, allocations: 82.33 kB / 0.74 GB, free: 39.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.995e-05/1.999e-05, allocations: 4 kB / 0.8598 GB, free: 12.92 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7373/0.7373, allocations: 116.3 MB / 0.9733 GB, free: 76.41 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.374/2.111, allocations: 479.6 MB / 1.442 GB, free: 73.54 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000359/2.111, allocations: 106 kB / 1.442 GB, free: 73.48 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.802/7.913, allocations: 1.535 GB / 2.977 GB, free: 90.41 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.573e-06/7.913, allocations: 3.625 kB / 2.977 GB, free: 90.41 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0005767/7.914, allocations: 110.9 kB / 2.977 GB, free: 90.39 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.01072/7.925, allocations: 3.752 MB / 2.981 GB, free: 88.15 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/7.925, allocations: 10.41 kB / 2.981 GB, free: 88.15 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003007/7.928, allocations: 0.5417 MB / 2.982 GB, free: 87.91 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01195/7.94, allocations: 4.738 MB / 2.986 GB, free: 85.67 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001114/7.94, allocations: 87.88 kB / 2.986 GB, free: 85.66 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005582/7.94, allocations: 161.6 kB / 2.986 GB, free: 85.66 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003568/7.944, allocations: 1.694 MB / 2.988 GB, free: 84.93 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003825/7.948, allocations: 2.262 MB / 2.99 GB, free: 83.52 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.753e-05/7.948, allocations: 7.688 kB / 2.99 GB, free: 83.52 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001866/7.948, allocations: 5.938 kB / 2.99 GB, free: 83.51 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.097e-05/7.948, allocations: 90.28 kB / 2.99 GB, free: 83.5 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.01764/7.966, allocations: 13.73 MB / 3.004 GB, free: 71.53 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001611/7.967, allocations: 1.371 MB / 3.005 GB, free: 70.66 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007742/7.968, allocations: 0.6167 MB / 3.006 GB, free: 70.37 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.007389/7.976, allocations: 4.994 MB / 3.011 GB, free: 65.63 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009501/7.977, allocations: 0.691 MB / 3.011 GB, free: 65.21 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001532/7.978, allocations: 148.3 kB / 3.011 GB, free: 65.12 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=124): time 4.098e-06/7.978, allocations: 0 / 3.011 GB, free: 65.12 MB / 0.9792 GB Notification: Performance of matching and sorting (n=124): time 0.003583/7.982, allocations: 1.512 MB / 3.013 GB, free: 64.37 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.538e-05/7.982, allocations: 150.8 kB / 3.013 GB, free: 64.2 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003529/7.985, allocations: 2.279 MB / 3.015 GB, free: 63.04 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001491/7.986, allocations: 40.81 kB / 3.015 GB, free: 63 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001519/7.987, allocations: 1.725 MB / 3.017 GB, free: 61.48 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003246/7.987, allocations: 411.4 kB / 3.017 GB, free: 61.13 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.858e-05/7.987, allocations: 3.812 kB / 3.017 GB, free: 61.13 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001169/7.988, allocations: 370.3 kB / 3.018 GB, free: 60.78 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008616/7.988, allocations: 0.5384 MB / 3.018 GB, free: 60.52 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001185/7.99, allocations: 1.246 MB / 3.019 GB, free: 59.32 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002516/7.992, allocations: 0.9208 MB / 3.02 GB, free: 58.83 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.226e-05/7.992, allocations: 7.828 kB / 3.02 GB, free: 58.82 MB / 0.9792 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.004567/7.997, allocations: 2.143 MB / 3.022 GB, free: 57.79 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001583/7.998, allocations: 7.252 MB / 3.03 GB, free: 49.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.535e-05/7.998, allocations: 16 kB / 3.03 GB, free: 49.89 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002183/7.999, allocations: 68.72 kB / 3.03 GB, free: 49.82 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001228/8, allocations: 371.4 kB / 3.03 GB, free: 49.46 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001689/8.002, allocations: 1.558 MB / 3.031 GB, free: 47.77 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003071/8.005, allocations: 271.4 kB / 3.032 GB, free: 47.51 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002038/8.005, allocations: 111.1 kB / 3.032 GB, free: 47.4 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 8.746e-06/8.005, allocations: 7.938 kB / 3.032 GB, free: 47.39 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003823/8.009, allocations: 1.774 MB / 3.034 GB, free: 45.62 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.659e-05/8.009, allocations: 19.98 kB / 3.034 GB, free: 45.6 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001356/8.009, allocations: 72.77 kB / 3.034 GB, free: 45.52 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/8.01, allocations: 363.4 kB / 3.034 GB, free: 45.17 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001583/8.012, allocations: 1.563 MB / 3.036 GB, free: 43.48 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002984/8.015, allocations: 247.6 kB / 3.036 GB, free: 43.24 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001862/8.015, allocations: 104 kB / 3.036 GB, free: 43.14 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.0005117/8.015, allocations: 176.7 kB / 3.036 GB, free: 42.96 MB / 0.9792 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003409/8.019, allocations: 1.458 MB / 3.037 GB, free: 41.49 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003564/8.019, allocations: 304.2 kB / 3.038 GB, free: 41.19 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003829/8.023, allocations: 1.822 MB / 3.04 GB, free: 39.37 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.051e-05/8.023, allocations: 19.98 kB / 3.04 GB, free: 39.35 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/8.023, allocations: 0 / 3.04 GB, free: 39.35 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002099/8.025, allocations: 1.361 MB / 3.041 GB, free: 37.94 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.008005/8.033, allocations: 4.547 MB / 3.045 GB, free: 33.29 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/8.033, allocations: 4 kB / 3.045 GB, free: 33.29 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008957/8.034, allocations: 232 kB / 3.046 GB, free: 33.06 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001297/8.034, allocations: 40.84 kB / 3.046 GB, free: 33.02 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.988e-05/8.034, allocations: 31.97 kB / 3.046 GB, free: 32.99 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001599/8.036, allocations: 1.542 MB / 3.047 GB, free: 31.33 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/8.036, allocations: 4 kB / 3.047 GB, free: 31.32 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004089/8.04, allocations: 2.937 MB / 3.05 GB, free: 28.26 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001336/8.041, allocations: 0.5828 MB / 3.051 GB, free: 27.66 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003482/8.042, allocations: 15.98 kB / 3.051 GB, free: 27.64 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00162/8.043, allocations: 167.7 kB / 3.051 GB, free: 27.48 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001691/8.044, allocations: 93.14 kB / 3.051 GB, free: 27.39 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/8.044, allocations: 71.89 kB / 3.051 GB, free: 27.32 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.00261/8.046, allocations: 1.703 MB / 3.053 GB, free: 25.62 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.8e-07/8.046, allocations: 0 / 3.053 GB, free: 25.62 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.009283/8.056, allocations: 2.104 MB / 3.055 GB, free: 23.52 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.007596/8.063, allocations: 6.195 MB / 3.061 GB, free: 17.38 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.004193/8.067, allocations: 2.893 MB / 3.064 GB, free: 14.42 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/8.067, allocations: 0 / 3.064 GB, free: 14.42 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0008408/8.068, allocations: 0.7721 MB / 3.064 GB, free: 13.64 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007102/8.075, allocations: 1.42 MB / 3.066 GB, free: 12.3 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01178/8.087, allocations: 5.482 MB / 3.071 GB, free: 6.785 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001518/8.089, allocations: 2.181 MB / 3.073 GB, free: 4.574 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.004256/8.093, allocations: 0.964 MB / 3.074 GB, free: 3.676 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001559/8.095, allocations: 1.433 MB / 3.075 GB, free: 2.242 MB / 0.9792 GB Notification: Performance of SimCode: time 7.42e-07/8.095, allocations: 0 / 3.075 GB, free: 2.242 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9036/8.998, allocations: 97.26 MB / 3.17 GB, free: 114 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000218/8.999, allocations: 198.8 kB / 3.171 GB, free: 113.8 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.985/14.98, allocations: 0 / 3.171 GB, free: 113.8 MB / 1.01 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)