Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0/package.mo): time 2.531/2.531, allocations: 287.3 MB / 302.3 MB, free: 8.312 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.001565/0.001565, allocations: 190.7 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.101/2.101, allocations: 205.4 MB / 0.6295 GB, free: 10.58 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.001097/0.001097, allocations: 96.61 kB / 0.7428 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005007/0.0005007, allocations: 19 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2231/0.2236, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.139/2.363, allocations: 479.1 MB / 1.446 GB, free: 272 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004097/2.364, allocations: 108.4 kB / 1.446 GB, free: 272 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.325/10.69, allocations: 1.548 GB / 2.994 GB, free: 82.86 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.665e-06/10.69, allocations: 0 / 2.994 GB, free: 82.86 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0008761/10.69, allocations: 107.2 kB / 2.994 GB, free: 82.84 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.01971/10.71, allocations: 4.668 MB / 2.999 GB, free: 81 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/10.71, allocations: 10.53 kB / 2.999 GB, free: 81 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00159/10.71, allocations: 341.2 kB / 2.999 GB, free: 80.95 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003736/10.71, allocations: 0.5408 MB / 3 GB, free: 80.71 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01951/10.73, allocations: 4.78 MB / 3.004 GB, free: 80.02 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004013/10.73, allocations: 204.9 kB / 3.005 GB, free: 80.01 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001255/10.74, allocations: 278.7 kB / 3.005 GB, free: 80.01 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008615/10.74, allocations: 2.67 MB / 3.007 GB, free: 79.58 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001094/10.74, allocations: 10.31 kB / 3.007 GB, free: 79.58 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004164/10.74, allocations: 99.66 kB / 3.008 GB, free: 79.58 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000113/10.75, allocations: 87.98 kB / 3.008 GB, free: 79.57 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00729/10.75, allocations: 1.932 MB / 3.01 GB, free: 79.54 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.03012/10.78, allocations: 14.23 MB / 3.023 GB, free: 72.56 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003736/10.79, allocations: 1.473 MB / 3.025 GB, free: 72.24 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.01176/10.8, allocations: 5.113 MB / 3.03 GB, free: 69.21 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002055/10.8, allocations: 0.7757 MB / 3.031 GB, free: 69.12 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002506/10.8, allocations: 217.2 kB / 3.031 GB, free: 69.04 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=125): time 7.955e-06/10.8, allocations: 0 / 3.031 GB, free: 69.04 MB / 0.9948 GB Notification: Performance of matching and sorting (n=125): time 0.007158/10.81, allocations: 2.016 MB / 3.033 GB, free: 68.7 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.611e-05/10.81, allocations: 147.1 kB / 3.033 GB, free: 68.55 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007105/10.82, allocations: 2.726 MB / 3.036 GB, free: 68.31 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005964/10.82, allocations: 69.64 kB / 3.036 GB, free: 68.28 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002384/10.82, allocations: 1.709 MB / 3.037 GB, free: 67.77 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007391/10.82, allocations: 430.2 kB / 3.038 GB, free: 67.5 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002138/10.82, allocations: 42.09 kB / 3.038 GB, free: 67.5 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.000147/10.82, allocations: 366.7 kB / 3.038 GB, free: 67.2 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002005/10.82, allocations: 0.613 MB / 3.039 GB, free: 67.19 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002592/10.83, allocations: 1.331 MB / 3.04 GB, free: 66.36 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002515/10.83, allocations: 0.8451 MB / 3.041 GB, free: 66.28 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.049e-05/10.83, allocations: 5.281 kB / 3.041 GB, free: 66.28 MB / 0.9948 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.007736/10.84, allocations: 2.255 MB / 3.043 GB, free: 65.97 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001835/10.84, allocations: 7.362 MB / 3.05 GB, free: 58.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.608e-05/10.84, allocations: 17.31 kB / 3.05 GB, free: 58.3 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004096/10.84, allocations: 68.28 kB / 3.05 GB, free: 58.29 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002857/10.84, allocations: 378.7 kB / 3.051 GB, free: 58.29 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002046/10.84, allocations: 1.626 MB / 3.052 GB, free: 56.91 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005592/10.85, allocations: 321.8 kB / 3.053 GB, free: 56.89 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007362/10.85, allocations: 108.1 kB / 3.053 GB, free: 56.89 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/10.85, allocations: 3.938 kB / 3.053 GB, free: 56.89 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006575/10.86, allocations: 1.914 MB / 3.055 GB, free: 56.78 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-05/10.86, allocations: 14.69 kB / 3.055 GB, free: 56.78 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002329/10.86, allocations: 69.08 kB / 3.055 GB, free: 56.77 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002889/10.86, allocations: 373.5 kB / 3.055 GB, free: 56.77 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002026/10.86, allocations: 1.629 MB / 3.057 GB, free: 55.38 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005527/10.87, allocations: 305.2 kB / 3.057 GB, free: 55.36 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007054/10.87, allocations: 110 kB / 3.057 GB, free: 55.36 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.003445/10.87, allocations: 0.8698 MB / 3.058 GB, free: 55.17 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001351/10.87, allocations: 335.3 kB / 3.058 GB, free: 54.99 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007047/10.88, allocations: 1.927 MB / 3.06 GB, free: 54.86 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.696e-05/10.88, allocations: 14.34 kB / 3.06 GB, free: 54.86 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/10.88, allocations: 3.562 kB / 3.06 GB, free: 54.86 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003982/10.88, allocations: 1.407 MB / 3.061 GB, free: 54.57 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.01587/10.9, allocations: 4.956 MB / 3.066 GB, free: 53.71 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.529e-05/10.9, allocations: 3.406 kB / 3.066 GB, free: 53.71 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001955/10.9, allocations: 232.5 kB / 3.066 GB, free: 53.71 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000234/10.9, allocations: 48.61 kB / 3.067 GB, free: 53.71 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000206/10.9, allocations: 45.78 kB / 3.067 GB, free: 53.7 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001922/10.91, allocations: 1.597 MB / 3.068 GB, free: 52.32 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/10.91, allocations: 6.969 kB / 3.068 GB, free: 52.32 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008168/10.91, allocations: 3.099 MB / 3.071 GB, free: 51.36 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002702/10.92, allocations: 0.6196 MB / 3.072 GB, free: 51.08 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001286/10.92, allocations: 35.52 kB / 3.072 GB, free: 51.08 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004181/10.92, allocations: 193 kB / 3.072 GB, free: 51.07 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005022/10.92, allocations: 101.5 kB / 3.072 GB, free: 51.07 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002749/10.92, allocations: 65.14 kB / 3.072 GB, free: 51.07 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.006477/10.93, allocations: 2.093 MB / 3.074 GB, free: 50.92 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.983e-06/10.93, allocations: 0 / 3.074 GB, free: 50.92 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.01372/10.94, allocations: 2.058 MB / 3.076 GB, free: 50.64 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.01392/10.96, allocations: 6.417 MB / 3.082 GB, free: 47.96 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.009197/10.97, allocations: 3.061 MB / 3.085 GB, free: 47.45 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-05/10.97, allocations: 1 kB / 3.085 GB, free: 47.45 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.002478/10.97, allocations: 0.8444 MB / 3.086 GB, free: 47.33 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01414/10.98, allocations: 1.639 MB / 3.088 GB, free: 47.3 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02772/11.01, allocations: 20.21 MB / 3.108 GB, free: 31.71 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005078/11.02, allocations: 2.169 MB / 3.11 GB, free: 46.93 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.006057/11.02, allocations: 0.7528 MB / 3.11 GB, free: 46.81 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00395/11.03, allocations: 1.493 MB / 3.112 GB, free: 46.8 MB / 1.01 GB Notification: Performance of SimCode: time 2.545e-06/11.03, allocations: 1.594 kB / 3.112 GB, free: 46.8 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3331/11.36, allocations: 109.8 MB / 3.219 GB, free: 32.71 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003224/11.36, allocations: 264.3 kB / 3.219 GB, free: 32.36 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.888/19.25, allocations: 0 / 3.219 GB, free: 32.36 MB / 1.01 GB (rm -f Buildings_8.0.0_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl.pipe ; mkfifo Buildings_8.0.0_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl.pipe >> ../files/Buildings_8.0.0_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Experimental_DHC_Loads_Controls_Validation_MixingValveControl_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Experimental_DHC_Loads_Controls_Validation_MixingValveControl.fmu > Buildings_8.0.0_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl.pipe 2>&1)