Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Experimental_DHC_Loads_Controls_Validation_MixingValveControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.638/1.638, allocations: 285.4 MB / 298 MB, free: 5.957 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.001212/0.001212, allocations: 176.8 kB / 366.4 MB, free: 2.062 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.894/1.894, allocations: 205.1 MB / 0.6248 GB, free: 7.723 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.0008568/0.0008568, allocations: 100.6 kB / 0.738 GB, free: 40.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.823e-05/3.825e-05, allocations: 4 kB / 0.8584 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8142/0.8142, allocations: 115.3 MB / 0.971 GB, free: 77.95 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.164/1.978, allocations: 479.2 MB / 1.439 GB, free: 82.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002811/1.979, allocations: 102.5 kB / 1.439 GB, free: 82.14 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.795/7.774, allocations: 1.543 GB / 2.982 GB, free: 66.79 MB / 0.9792 GB Notification: Performance of FrontEnd: time 3.466e-06/7.774, allocations: 0 / 2.982 GB, free: 66.79 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.000893/7.775, allocations: 123 kB / 2.982 GB, free: 66.74 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.01369/7.788, allocations: 3.745 MB / 2.986 GB, free: 63.37 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.533e-05/7.789, allocations: 8.031 kB / 2.986 GB, free: 63.36 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001363/7.79, allocations: 337.8 kB / 2.986 GB, free: 63.02 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002961/7.793, allocations: 0.538 MB / 2.987 GB, free: 62.48 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01292/7.806, allocations: 4.749 MB / 2.991 GB, free: 57.69 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002214/7.806, allocations: 212.8 kB / 2.992 GB, free: 57.48 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007396/7.807, allocations: 272 kB / 2.992 GB, free: 57.21 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00515/7.812, allocations: 2.606 MB / 2.994 GB, free: 54.44 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.953e-05/7.812, allocations: 4 kB / 2.994 GB, free: 54.44 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002644/7.812, allocations: 104 kB / 2.995 GB, free: 54.34 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.845e-05/7.812, allocations: 96.48 kB / 2.995 GB, free: 54.24 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003448/7.816, allocations: 1.833 MB / 2.996 GB, free: 52.39 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.02143/7.837, allocations: 14.23 MB / 3.01 GB, free: 37.33 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001786/7.839, allocations: 1.385 MB / 3.012 GB, free: 35.88 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000853/7.84, allocations: 0.6367 MB / 3.012 GB, free: 35.24 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.007926/7.848, allocations: 5.117 MB / 3.017 GB, free: 29.57 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001024/7.849, allocations: 0.7358 MB / 3.018 GB, free: 28.82 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00197/7.851, allocations: 222.2 kB / 3.018 GB, free: 28.6 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=124): time 4.99e-06/7.851, allocations: 0 / 3.018 GB, free: 28.6 MB / 0.9792 GB Notification: Performance of matching and sorting (n=124): time 0.002793/7.854, allocations: 1.362 MB / 3.02 GB, free: 27.22 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.246e-05/7.854, allocations: 157.5 kB / 3.02 GB, free: 27.04 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00443/7.858, allocations: 2.676 MB / 3.022 GB, free: 24.38 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0003526/7.859, allocations: 69.7 kB / 3.022 GB, free: 24.31 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001461/7.86, allocations: 1.716 MB / 3.024 GB, free: 22.58 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004437/7.861, allocations: 422 kB / 3.025 GB, free: 22.16 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.914e-05/7.861, allocations: 36 kB / 3.025 GB, free: 22.12 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001193/7.861, allocations: 377.8 kB / 3.025 GB, free: 21.75 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009325/7.862, allocations: 0.5624 MB / 3.025 GB, free: 21.19 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001267/7.863, allocations: 1.291 MB / 3.027 GB, free: 19.58 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/7.864, allocations: 0.8067 MB / 3.028 GB, free: 18.77 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.187e-06/7.864, allocations: 7.938 kB / 3.028 GB, free: 18.76 MB / 0.9792 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.003861/7.868, allocations: 2.165 MB / 3.03 GB, free: 16.57 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001435/7.87, allocations: 7.365 MB / 3.037 GB, free: 8.641 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.272e-05/7.87, allocations: 20 kB / 3.037 GB, free: 8.621 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002381/7.87, allocations: 68.8 kB / 3.037 GB, free: 8.551 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/7.871, allocations: 371.4 kB / 3.037 GB, free: 8.188 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001419/7.872, allocations: 1.618 MB / 3.039 GB, free: 6.43 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003696/7.876, allocations: 327.4 kB / 3.039 GB, free: 6.109 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002871/7.876, allocations: 104 kB / 3.039 GB, free: 6.008 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/7.876, allocations: 5.719 kB / 3.039 GB, free: 6.004 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002881/7.879, allocations: 1.859 MB / 3.041 GB, free: 4.133 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.681e-05/7.879, allocations: 20.06 kB / 3.041 GB, free: 4.113 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001456/7.88, allocations: 68.78 kB / 3.041 GB, free: 4.043 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/7.881, allocations: 363.4 kB / 3.042 GB, free: 3.688 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001266/7.882, allocations: 1.61 MB / 3.043 GB, free: 1.93 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003356/7.885, allocations: 315.4 kB / 3.043 GB, free: 1.621 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001899/7.886, allocations: 108 kB / 3.043 GB, free: 1.516 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.0005221/7.886, allocations: 224.8 kB / 3.044 GB, free: 1.289 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005704/7.887, allocations: 339.8 kB / 3.044 GB, free: 0.9531 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00405/7.891, allocations: 1.834 MB / 3.046 GB, free: 15.12 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-05/7.891, allocations: 19.98 kB / 3.046 GB, free: 15.1 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/7.891, allocations: 11.94 kB / 3.046 GB, free: 15.09 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002044/7.893, allocations: 1.322 MB / 3.047 GB, free: 13.71 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.0104/7.903, allocations: 4.876 MB / 3.052 GB, free: 8.711 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.398e-06/7.903, allocations: 7.531 kB / 3.052 GB, free: 8.707 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009503/7.904, allocations: 231.7 kB / 3.052 GB, free: 8.48 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001513/7.904, allocations: 40.84 kB / 3.052 GB, free: 8.438 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001057/7.905, allocations: 43.97 kB / 3.052 GB, free: 8.395 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001647/7.906, allocations: 1.603 MB / 3.054 GB, free: 6.648 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/7.906, allocations: 4 kB / 3.054 GB, free: 6.645 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004751/7.911, allocations: 2.976 MB / 3.057 GB, free: 3.562 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002462/7.913, allocations: 0.6099 MB / 3.057 GB, free: 2.93 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007267/7.914, allocations: 43.55 kB / 3.057 GB, free: 2.891 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001928/7.916, allocations: 187.7 kB / 3.057 GB, free: 2.707 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002216/7.916, allocations: 101.1 kB / 3.058 GB, free: 2.605 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000145/7.916, allocations: 67.95 kB / 3.058 GB, free: 2.539 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.004071/7.921, allocations: 2.054 MB / 3.06 GB, free: 0.5039 MB / 0.9948 GB Notification: Performance of sort global known variables: time 4.51e-07/7.921, allocations: 0 / 3.06 GB, free: 0.5039 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.01117/7.932, allocations: 2.082 MB / 3.062 GB, free: 14.42 MB / 1.01 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.01029/7.942, allocations: 6.274 MB / 3.068 GB, free: 8.07 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.006916/7.949, allocations: 3.067 MB / 3.071 GB, free: 4.934 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-05/7.949, allocations: 11.89 kB / 3.071 GB, free: 4.922 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001613/7.951, allocations: 0.8076 MB / 3.072 GB, free: 4.102 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0107/7.961, allocations: 1.637 MB / 3.073 GB, free: 2.551 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8306/8.792, allocations: 5.649 MB / 3.079 GB, free: 112.1 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002495/8.795, allocations: 2.175 MB / 3.081 GB, free: 111.4 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.006263/8.801, allocations: 1.025 MB / 3.082 GB, free: 111.4 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002367/8.803, allocations: 1.444 MB / 3.083 GB, free: 111.4 MB / 1.01 GB Notification: Performance of SimCode: time 1.302e-06/8.803, allocations: 0.7656 kB / 3.083 GB, free: 111.4 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2523/9.056, allocations: 118.7 MB / 3.199 GB, free: 106.1 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001973/9.056, allocations: 241.4 kB / 3.199 GB, free: 105.8 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.331/16.39, allocations: 4 kB / 3.199 GB, free: 105.8 MB / 1.01 GB (rm -f Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Experimental_DHC_Loads_Controls_Validation_MixingValveControl_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Experimental_DHC_Loads_Controls_Validation_MixingValveControl.fmu > Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl.pipe 2>&1)