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.948/1.948, allocations: 292.6 MB / 307.5 MB, free: 5.203 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.001701/0.001702, allocations: 188.9 kB / 377.1 MB, free: 1.539 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.977/1.977, allocations: 205.4 MB / 0.6366 GB, free: 8.555 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.001089/0.001089, allocations: 83.66 kB / 0.7509 GB, free: 63 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003649/0.0003647, allocations: 12 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2912, allocations: 116.3 MB / 0.9884 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.793/2.084, allocations: 480.3 MB / 1.457 GB, free: 236.4 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003312/2.085, allocations: 107.8 kB / 1.458 GB, free: 236.4 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 6.771/8.855, allocations: 1.548 GB / 3.005 GB, free: 83.65 MB / 0.9948 GB Notification: Performance of FrontEnd: time 3.687e-06/8.856, allocations: 0 / 3.005 GB, free: 83.65 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.001102/8.857, allocations: 117.9 kB / 3.006 GB, free: 83.62 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.02025/8.877, allocations: 4.662 MB / 3.01 GB, free: 81.48 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 6.792e-05/8.877, allocations: 7.844 kB / 3.01 GB, free: 81.48 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002138/8.879, allocations: 345.3 kB / 3.01 GB, free: 81.43 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004175/8.883, allocations: 0.5404 MB / 3.011 GB, free: 81.2 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0182/8.902, allocations: 4.773 MB / 3.016 GB, free: 80.51 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005128/8.902, allocations: 209 kB / 3.016 GB, free: 80.5 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001843/8.904, allocations: 274.9 kB / 3.016 GB, free: 80.5 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01128/8.915, allocations: 2.67 MB / 3.019 GB, free: 80.07 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002301/8.916, allocations: 12.92 kB / 3.019 GB, free: 80.07 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001094/8.917, allocations: 102.2 kB / 3.019 GB, free: 80.07 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001322/8.917, allocations: 84.55 kB / 3.019 GB, free: 80.06 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005965/8.923, allocations: 1.935 MB / 3.021 GB, free: 80.03 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.02552/8.948, allocations: 14.23 MB / 3.035 GB, free: 72.97 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002605/8.951, allocations: 1.471 MB / 3.036 GB, free: 72.65 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.01117/8.962, allocations: 5.115 MB / 3.041 GB, free: 69.61 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001461/8.964, allocations: 0.7725 MB / 3.042 GB, free: 69.52 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002712/8.967, allocations: 213.7 kB / 3.042 GB, free: 69.43 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=125): time 8.295e-06/8.967, allocations: 0 / 3.042 GB, free: 69.43 MB / 0.9948 GB Notification: Performance of matching and sorting (n=125): time 0.004937/8.972, allocations: 2.025 MB / 3.044 GB, free: 69.09 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.968e-05/8.972, allocations: 147.6 kB / 3.044 GB, free: 68.93 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005669/8.977, allocations: 2.731 MB / 3.047 GB, free: 68.69 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.00062/8.978, allocations: 65.52 kB / 3.047 GB, free: 68.66 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002077/8.98, allocations: 1.709 MB / 3.049 GB, free: 68.15 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006996/8.981, allocations: 426.6 kB / 3.049 GB, free: 67.89 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/8.981, allocations: 40.88 kB / 3.049 GB, free: 67.89 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001653/8.981, allocations: 372 kB / 3.049 GB, free: 67.59 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001316/8.982, allocations: 0.6059 MB / 3.05 GB, free: 67.58 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001748/8.984, allocations: 1.331 MB / 3.051 GB, free: 66.74 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001448/8.986, allocations: 0.8427 MB / 3.052 GB, free: 66.64 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.069e-05/8.986, allocations: 3.594 kB / 3.052 GB, free: 66.64 MB / 0.9948 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005083/8.991, allocations: 2.26 MB / 3.054 GB, free: 66.23 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002161/8.993, allocations: 7.365 MB / 3.061 GB, free: 58.56 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.324e-05/8.993, allocations: 17 kB / 3.061 GB, free: 58.56 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003053/8.993, allocations: 68.48 kB / 3.062 GB, free: 58.55 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001505/8.995, allocations: 374.3 kB / 3.062 GB, free: 58.52 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001626/8.996, allocations: 1.636 MB / 3.064 GB, free: 57.11 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004378/9.001, allocations: 316.9 kB / 3.064 GB, free: 57.09 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000505/9.001, allocations: 107.9 kB / 3.064 GB, free: 57.09 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/9.001, allocations: 3.688 kB / 3.064 GB, free: 57.09 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003862/9.005, allocations: 1.912 MB / 3.066 GB, free: 56.89 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.6e-05/9.005, allocations: 15.59 kB / 3.066 GB, free: 56.89 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001755/9.006, allocations: 70.2 kB / 3.066 GB, free: 56.88 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/9.007, allocations: 369.6 kB / 3.066 GB, free: 56.85 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00154/9.008, allocations: 1.625 MB / 3.068 GB, free: 55.44 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00411/9.013, allocations: 308.6 kB / 3.068 GB, free: 55.42 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004227/9.013, allocations: 110.6 kB / 3.068 GB, free: 55.42 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.003202/9.016, allocations: 0.8827 MB / 3.069 GB, free: 55.19 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001303/9.017, allocations: 332.1 kB / 3.069 GB, free: 55.02 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005258/9.023, allocations: 1.92 MB / 3.071 GB, free: 54.87 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.745e-05/9.023, allocations: 19 kB / 3.071 GB, free: 54.87 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.768e-05/9.023, allocations: 6.703 kB / 3.071 GB, free: 54.87 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002433/9.025, allocations: 1.408 MB / 3.073 GB, free: 54.58 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.01498/9.04, allocations: 4.946 MB / 3.077 GB, free: 53.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.646e-05/9.04, allocations: 2.438 kB / 3.077 GB, free: 53.7 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001092/9.041, allocations: 233 kB / 3.078 GB, free: 53.68 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001795/9.042, allocations: 49.5 kB / 3.078 GB, free: 53.67 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001621/9.042, allocations: 41.55 kB / 3.078 GB, free: 53.67 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001646/9.044, allocations: 1.609 MB / 3.079 GB, free: 52.26 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/9.044, allocations: 3.5 kB / 3.079 GB, free: 52.26 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005955/9.049, allocations: 3.092 MB / 3.082 GB, free: 51.29 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002954/9.053, allocations: 0.6277 MB / 3.083 GB, free: 51.01 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001376/9.054, allocations: 33 kB / 3.083 GB, free: 51.01 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003252/9.057, allocations: 187.5 kB / 3.083 GB, free: 50.99 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002664/9.057, allocations: 107.4 kB / 3.083 GB, free: 50.98 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002568/9.058, allocations: 64.97 kB / 3.083 GB, free: 50.98 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.005975/9.064, allocations: 2.099 MB / 3.085 GB, free: 50.83 MB / 0.9948 GB Notification: Performance of sort global known variables: time 4.01e-07/9.064, allocations: 0 / 3.085 GB, free: 50.83 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.01175/9.076, allocations: 2.049 MB / 3.087 GB, free: 50.54 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.0118/9.087, allocations: 6.415 MB / 3.094 GB, free: 47.58 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.006712/9.094, allocations: 3.064 MB / 3.097 GB, free: 46.95 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/9.094, allocations: 4.125 kB / 3.097 GB, free: 46.94 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001391/9.096, allocations: 0.8384 MB / 3.098 GB, free: 46.75 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008756/9.104, allocations: 1.634 MB / 3.099 GB, free: 46.39 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02161/9.126, allocations: 20.21 MB / 3.119 GB, free: 29.57 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001827/9.128, allocations: 2.166 MB / 3.121 GB, free: 28.7 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.004147/9.132, allocations: 0.7554 MB / 3.122 GB, free: 28.57 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002232/9.134, allocations: 1.495 MB / 3.123 GB, free: 27.41 MB / 0.9948 GB Notification: Performance of SimCode: time 1.082e-06/9.134, allocations: 0 / 3.123 GB, free: 27.41 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9632/10.1, allocations: 109.8 MB / 3.23 GB, free: 106.4 MB / 1.026 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002287/10.1, allocations: 262.8 kB / 3.231 GB, free: 106 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.348/17.45, allocations: 0 / 3.231 GB, free: 106 MB / 1.026 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)