Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl,fileNamePrefix="Buildings_9_Buildings_Experimental_DHC_Loads_BaseClasses_Controls_Validation_MixingValveControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl,fileNamePrefix="Buildings_9_Buildings_Experimental_DHC_Loads_BaseClasses_Controls_Validation_MixingValveControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.461/2.461, allocations: 390.3 MB / 405.3 MB, free: 13.47 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 183 kB / 498.1 MB, free: 5.73 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.697/1.697, allocations: 223.2 MB / 0.7948 GB, free: 17.95 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001148, allocations: 109 kB / 0.9346 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005217/0.0005217, allocations: 7.156 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3198, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.262/1.582, allocations: 480.2 MB / 1.692 GB, free: 12.76 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003102/1.583, allocations: 118.4 kB / 1.692 GB, free: 12.69 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 6.747/8.33, allocations: 1.585 GB / 3.277 GB, free: 125.4 MB / 1.198 GB Notification: Performance of FrontEnd: time 3.837e-06/8.33, allocations: 0 / 3.277 GB, free: 125.4 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.001253/8.331, allocations: 117.1 kB / 3.277 GB, free: 125.4 MB / 1.198 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.02404/8.355, allocations: 4.805 MB / 3.282 GB, free: 123.7 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 6.8e-05/8.355, allocations: 11.22 kB / 3.282 GB, free: 123.7 MB / 1.198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001999/8.357, allocations: 341.1 kB / 3.282 GB, free: 123.7 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004749/8.362, allocations: 0.6311 MB / 3.283 GB, free: 123.4 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03424/8.396, allocations: 11.67 MB / 3.294 GB, free: 122.5 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004207/8.397, allocations: 216.6 kB / 3.294 GB, free: 122.5 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001508/8.398, allocations: 271.2 kB / 3.294 GB, free: 122.5 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01049/8.409, allocations: 2.728 MB / 3.297 GB, free: 122.1 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002158/8.409, allocations: 8.219 kB / 3.297 GB, free: 122.1 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001126/8.41, allocations: 106.4 kB / 3.297 GB, free: 122.1 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001545/8.41, allocations: 89.08 kB / 3.297 GB, free: 122.1 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006833/8.417, allocations: 1.994 MB / 3.299 GB, free: 122 MB / 1.198 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.0303/8.447, allocations: 14.35 MB / 3.313 GB, free: 115 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003629/8.451, allocations: 1.569 MB / 3.315 GB, free: 114.7 MB / 1.198 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.01078/8.462, allocations: 5.191 MB / 3.32 GB, free: 111.7 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001531/8.463, allocations: 0.8391 MB / 3.321 GB, free: 111.6 MB / 1.198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00249/8.466, allocations: 208.6 kB / 3.321 GB, free: 111.5 MB / 1.198 GB Notification: Performance of pre-optimization done (n=126): time 6.762e-06/8.466, allocations: 2.344 kB / 3.321 GB, free: 111.5 MB / 1.198 GB Notification: Performance of matching and sorting (n=126): time 0.005154/8.471, allocations: 2.127 MB / 3.323 GB, free: 111.2 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.793e-05/8.471, allocations: 147.7 kB / 3.323 GB, free: 111 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005645/8.477, allocations: 2.744 MB / 3.326 GB, free: 110.8 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.000564/8.478, allocations: 64.73 kB / 3.326 GB, free: 110.8 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001924/8.479, allocations: 1.723 MB / 3.327 GB, free: 110.2 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006268/8.48, allocations: 431.1 kB / 3.328 GB, free: 110 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/8.48, allocations: 40.03 kB / 3.328 GB, free: 110 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0001432/8.48, allocations: 372.1 kB / 3.328 GB, free: 109.7 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001412/8.482, allocations: 0.6395 MB / 3.329 GB, free: 109.7 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001674/8.483, allocations: 1.367 MB / 3.33 GB, free: 108.8 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001493/8.485, allocations: 0.8815 MB / 3.331 GB, free: 108.7 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.076e-05/8.485, allocations: 6.156 kB / 3.331 GB, free: 108.7 MB / 1.198 GB Notification: Performance of matching and sorting (n=229) (initialization): time 0.005167/8.49, allocations: 2.329 MB / 3.333 GB, free: 108.4 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001892/8.492, allocations: 7.38 MB / 3.341 GB, free: 100.8 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-05/8.492, allocations: 19 kB / 3.341 GB, free: 100.8 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002861/8.492, allocations: 69.28 kB / 3.341 GB, free: 100.8 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001836/8.494, allocations: 405.3 kB / 3.341 GB, free: 100.8 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002039/8.496, allocations: 2.261 MB / 3.343 GB, free: 98.78 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004217/8.501, allocations: 307.3 kB / 3.344 GB, free: 98.77 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004653/8.501, allocations: 120.6 kB / 3.344 GB, free: 98.77 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/8.501, allocations: 4.281 kB / 3.344 GB, free: 98.77 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004061/8.505, allocations: 2.006 MB / 3.346 GB, free: 98.66 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.397e-05/8.505, allocations: 20.09 kB / 3.346 GB, free: 98.66 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001557/8.505, allocations: 72.58 kB / 3.346 GB, free: 98.65 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001387/8.507, allocations: 397.9 kB / 3.346 GB, free: 98.65 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001437/8.508, allocations: 1.632 MB / 3.348 GB, free: 97.25 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00382/8.512, allocations: 295.2 kB / 3.348 GB, free: 97.23 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003396/8.512, allocations: 117.7 kB / 3.348 GB, free: 97.23 MB / 1.198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 15 ($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 (218): * 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): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.003015/8.515, allocations: 0.9011 MB / 3.349 GB, free: 97.03 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001216/8.517, allocations: 336.1 kB / 3.349 GB, free: 96.86 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004787/8.521, allocations: 2.006 MB / 3.351 GB, free: 96.73 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.837e-05/8.522, allocations: 14.78 kB / 3.351 GB, free: 96.73 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/8.522, allocations: 7.328 kB / 3.351 GB, free: 96.72 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002336/8.524, allocations: 1.466 MB / 3.353 GB, free: 96.44 MB / 1.198 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.01465/8.539, allocations: 5.056 MB / 3.358 GB, free: 95.57 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.487e-05/8.539, allocations: 7.734 kB / 3.358 GB, free: 95.57 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001233/8.54, allocations: 253.1 kB / 3.358 GB, free: 95.57 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001818/8.54, allocations: 48.27 kB / 3.358 GB, free: 95.57 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001658/8.54, allocations: 40.55 kB / 3.358 GB, free: 95.57 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001886/8.542, allocations: 2.221 MB / 3.36 GB, free: 93.59 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/8.542, allocations: 5.906 kB / 3.36 GB, free: 93.59 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006037/8.548, allocations: 3.218 MB / 3.363 GB, free: 92.62 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002893/8.551, allocations: 0.628 MB / 3.364 GB, free: 92.34 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001439/8.553, allocations: 33.06 kB / 3.364 GB, free: 92.34 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003264/8.556, allocations: 177 kB / 3.364 GB, free: 92.34 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002764/8.556, allocations: 104.6 kB / 3.364 GB, free: 92.33 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002572/8.556, allocations: 73.98 kB / 3.364 GB, free: 92.33 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.006867/8.563, allocations: 2.103 MB / 3.366 GB, free: 92.19 MB / 1.198 GB Notification: Performance of sort global known variables: time 3.61e-07/8.563, allocations: 0 / 3.366 GB, free: 92.19 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.0135/8.577, allocations: 2.063 MB / 3.368 GB, free: 91.9 MB / 1.198 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 (140): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.01341/8.59, allocations: 6.569 MB / 3.375 GB, free: 89.23 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.008922/8.599, allocations: 3.229 MB / 3.378 GB, free: 88.71 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 1.798e-05/8.599, allocations: 1.281 kB / 3.378 GB, free: 88.71 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.002239/8.602, allocations: 0.8898 MB / 3.379 GB, free: 88.6 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01056/8.612, allocations: 1.649 MB / 3.38 GB, free: 88.58 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03415/8.646, allocations: 20.35 MB / 3.4 GB, free: 73.07 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00299/8.65, allocations: 2.198 MB / 3.402 GB, free: 72.33 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.004556/8.654, allocations: 0.7773 MB / 3.403 GB, free: 72.3 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002618/8.657, allocations: 1.511 MB / 3.405 GB, free: 72.29 MB / 1.198 GB Notification: Performance of SimCode: time 1.211e-05/8.657, allocations: 5.438 kB / 3.405 GB, free: 72.29 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2278/8.885, allocations: 111.5 MB / 3.514 GB, free: 65.85 MB / 1.198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002201/8.885, allocations: 287.2 kB / 3.514 GB, free: 65.5 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.958/15.84, allocations: 2.812 kB / 3.514 GB, free: 65.5 MB / 1.198 GB (rm -f Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl.pipe ; mkfifo Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl.pipe ; head -c 1048576 < Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl.pipe >> ../files/Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl_res.mat --tempDir=temp_Buildings_9_Buildings_Experimental_DHC_Loads_BaseClasses_Controls_Validation_MixingValveControl_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Experimental_DHC_Loads_BaseClasses_Controls_Validation_MixingValveControl.fmu > Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl.pipe 2>&1)