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.706/1.706, allocations: 288.2 MB / 303.2 MB, free: 8.156 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.001257/0.001257, allocations: 195 kB / 371.8 MB, free: 10.27 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.902/1.902, allocations: 205.4 MB / 0.6305 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009387/0.0009386, allocations: 105.1 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004592/0.0004593, allocations: 10.28 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.2937, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.977/2.271, allocations: 479.3 MB / 1.448 GB, free: 273.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003434/2.272, allocations: 114.2 kB / 1.448 GB, free: 273.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.482/8.753, allocations: 1.548 GB / 2.996 GB, free: 83.62 MB / 0.9948 GB Notification: Performance of FrontEnd: time 4.058e-06/8.753, allocations: 0 / 2.996 GB, free: 83.62 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.001054/8.755, allocations: 111.8 kB / 2.996 GB, free: 83.6 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.02054/8.775, allocations: 4.668 MB / 3 GB, free: 81.73 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.879e-05/8.775, allocations: 13.69 kB / 3 GB, free: 81.73 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001833/8.777, allocations: 346.6 kB / 3.001 GB, free: 81.68 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003936/8.781, allocations: 0.5386 MB / 3.001 GB, free: 81.45 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01687/8.798, allocations: 4.778 MB / 3.006 GB, free: 80.75 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004021/8.798, allocations: 204 kB / 3.006 GB, free: 80.75 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001447/8.8, allocations: 271.9 kB / 3.006 GB, free: 80.75 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009832/8.81, allocations: 2.67 MB / 3.009 GB, free: 80.32 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002094/8.81, allocations: 6.344 kB / 3.009 GB, free: 80.32 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001005/8.811, allocations: 101.8 kB / 3.009 GB, free: 80.32 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001707/8.811, allocations: 89.72 kB / 3.009 GB, free: 80.31 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006607/8.818, allocations: 1.931 MB / 3.011 GB, free: 80.28 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.02849/8.846, allocations: 14.23 MB / 3.025 GB, free: 73.29 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003011/8.849, allocations: 1.467 MB / 3.026 GB, free: 72.98 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.01156/8.861, allocations: 5.117 MB / 3.031 GB, free: 69.95 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00161/8.863, allocations: 0.7756 MB / 3.032 GB, free: 69.86 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002602/8.865, allocations: 211 kB / 3.032 GB, free: 69.77 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=125): time 1.277e-05/8.865, allocations: 0 / 3.032 GB, free: 69.77 MB / 0.9948 GB Notification: Performance of matching and sorting (n=125): time 0.005357/8.871, allocations: 2.022 MB / 3.034 GB, free: 69.44 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.509e-05/8.871, allocations: 149.7 kB / 3.034 GB, free: 69.29 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007778/8.879, allocations: 2.726 MB / 3.037 GB, free: 69.05 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007109/8.879, allocations: 68.64 kB / 3.037 GB, free: 69.02 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002849/8.882, allocations: 1.709 MB / 3.039 GB, free: 68.51 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008133/8.883, allocations: 428.8 kB / 3.039 GB, free: 68.24 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003569/8.883, allocations: 38.62 kB / 3.039 GB, free: 68.24 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002062/8.884, allocations: 384 kB / 3.039 GB, free: 67.93 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001691/8.885, allocations: 0.6033 MB / 3.04 GB, free: 67.93 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002074/8.887, allocations: 1.329 MB / 3.041 GB, free: 67.1 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001964/8.889, allocations: 0.8427 MB / 3.042 GB, free: 67.02 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.799e-05/8.889, allocations: 3.25 kB / 3.042 GB, free: 67.02 MB / 0.9948 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.007277/8.897, allocations: 2.253 MB / 3.044 GB, free: 66.71 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002242/8.899, allocations: 7.367 MB / 3.052 GB, free: 59.04 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.515e-05/8.899, allocations: 15.12 kB / 3.052 GB, free: 59.04 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003035/8.899, allocations: 77.84 kB / 3.052 GB, free: 59.03 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001552/8.901, allocations: 375.5 kB / 3.052 GB, free: 59.03 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001684/8.903, allocations: 1.62 MB / 3.054 GB, free: 57.64 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004222/8.907, allocations: 323.5 kB / 3.054 GB, free: 57.62 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004814/8.907, allocations: 108.6 kB / 3.054 GB, free: 57.62 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/8.907, allocations: 3.875 kB / 3.054 GB, free: 57.62 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004487/8.912, allocations: 1.918 MB / 3.056 GB, free: 57.52 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.797e-05/8.912, allocations: 12.97 kB / 3.056 GB, free: 57.52 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001846/8.912, allocations: 66.44 kB / 3.056 GB, free: 57.51 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001492/8.914, allocations: 373.1 kB / 3.056 GB, free: 57.51 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001669/8.915, allocations: 1.622 MB / 3.058 GB, free: 56.12 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004207/8.92, allocations: 305.1 kB / 3.058 GB, free: 56.1 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005075/8.92, allocations: 107.8 kB / 3.058 GB, free: 56.1 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.003695/8.924, allocations: 0.8857 MB / 3.059 GB, free: 55.91 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001591/8.926, allocations: 333.3 kB / 3.059 GB, free: 55.73 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005448/8.931, allocations: 1.919 MB / 3.061 GB, free: 55.6 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.204e-05/8.931, allocations: 17.91 kB / 3.061 GB, free: 55.6 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.41e-05/8.931, allocations: 0 / 3.061 GB, free: 55.6 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002482/8.934, allocations: 1.403 MB / 3.063 GB, free: 55.31 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.01468/8.948, allocations: 4.967 MB / 3.068 GB, free: 54.45 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-05/8.948, allocations: 3.031 kB / 3.068 GB, free: 54.45 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001156/8.95, allocations: 228.5 kB / 3.068 GB, free: 54.45 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001783/8.95, allocations: 50.94 kB / 3.068 GB, free: 54.45 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001663/8.95, allocations: 43.03 kB / 3.068 GB, free: 54.45 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00157/8.952, allocations: 1.598 MB / 3.069 GB, free: 53.05 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/8.952, allocations: 15.58 kB / 3.069 GB, free: 53.05 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005942/8.957, allocations: 3.099 MB / 3.073 GB, free: 52.09 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002815/8.96, allocations: 0.6153 MB / 3.073 GB, free: 51.82 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001452/8.962, allocations: 31.94 kB / 3.073 GB, free: 51.82 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003405/8.965, allocations: 191.4 kB / 3.073 GB, free: 51.8 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00027/8.966, allocations: 106.5 kB / 3.073 GB, free: 51.8 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002383/8.966, allocations: 64.34 kB / 3.073 GB, free: 51.8 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.005934/8.972, allocations: 2.095 MB / 3.076 GB, free: 51.66 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5.91e-07/8.972, allocations: 0 / 3.076 GB, free: 51.66 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.01305/8.985, allocations: 2.046 MB / 3.078 GB, free: 51.38 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.01243/8.997, allocations: 6.43 MB / 3.084 GB, free: 48.68 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.006991/9.004, allocations: 3.054 MB / 3.087 GB, free: 48.18 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.519e-05/9.004, allocations: 3.188 kB / 3.087 GB, free: 48.18 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001649/9.006, allocations: 0.8453 MB / 3.088 GB, free: 48.06 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009727/9.016, allocations: 1.634 MB / 3.089 GB, free: 48.04 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02722/9.043, allocations: 20.22 MB / 3.109 GB, free: 48.41 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003552/9.047, allocations: 2.168 MB / 3.111 GB, free: 47.62 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.004927/9.052, allocations: 0.749 MB / 3.112 GB, free: 47.5 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002995/9.055, allocations: 1.493 MB / 3.113 GB, free: 47.49 MB / 1.01 GB Notification: Performance of SimCode: time 1.512e-06/9.055, allocations: 0 / 3.113 GB, free: 47.49 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2409/9.296, allocations: 109.8 MB / 3.221 GB, free: 30.43 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001925/9.296, allocations: 290.6 kB / 3.221 GB, free: 30.06 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.548/16.84, allocations: 4.312 kB / 3.221 GB, free: 30.06 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)