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.635/1.635, allocations: 285.6 MB / 293.1 MB, free: 10.23 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.001233/0.001233, allocations: 176.9 kB / 361.4 MB, free: 6.848 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.681/1.681, allocations: 205.2 MB / 0.62 GB, free: 11.63 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.0009242/0.0009243, allocations: 86.14 kB / 0.733 GB, free: 44.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.938e-05/1.941e-05, allocations: 4 kB / 0.8518 GB, free: 2.625 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8393/0.8394, allocations: 115.3 MB / 0.9645 GB, free: 78.69 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.2/2.039, allocations: 478.6 MB / 1.432 GB, free: 85.23 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/2.04, allocations: 106.3 kB / 1.432 GB, free: 85.17 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.373/7.413, allocations: 1.535 GB / 2.967 GB, free: 98.16 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.535e-06/7.413, allocations: 4 kB / 2.967 GB, free: 98.16 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0004609/7.413, allocations: 114.3 kB / 2.967 GB, free: 98.14 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.009127/7.422, allocations: 3.755 MB / 2.971 GB, free: 95.89 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/7.422, allocations: 8.5 kB / 2.971 GB, free: 95.89 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002295/7.425, allocations: 0.5365 MB / 2.972 GB, free: 95.66 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01028/7.435, allocations: 4.739 MB / 2.976 GB, free: 93.42 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001068/7.435, allocations: 86.52 kB / 2.976 GB, free: 93.41 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004415/7.436, allocations: 164.5 kB / 2.977 GB, free: 93.41 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003282/7.439, allocations: 1.696 MB / 2.978 GB, free: 92.68 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003721/7.443, allocations: 2.268 MB / 2.98 GB, free: 91.55 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.546e-05/7.443, allocations: 7.5 kB / 2.98 GB, free: 91.55 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001854/7.443, allocations: 3.812 kB / 2.98 GB, free: 91.55 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.366e-05/7.443, allocations: 90.45 kB / 2.981 GB, free: 91.54 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.01724/7.46, allocations: 13.72 MB / 2.994 GB, free: 81.55 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001624/7.462, allocations: 1.37 MB / 2.995 GB, free: 80.76 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008001/7.463, allocations: 0.6149 MB / 2.996 GB, free: 80.52 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.00702/7.47, allocations: 4.988 MB / 3.001 GB, free: 76.28 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009395/7.471, allocations: 0.6997 MB / 3.001 GB, free: 75.86 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001481/7.472, allocations: 160.7 kB / 3.002 GB, free: 75.76 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=124): time 4.008e-06/7.472, allocations: 0 / 3.002 GB, free: 75.76 MB / 0.9792 GB Notification: Performance of matching and sorting (n=124): time 0.003723/7.476, allocations: 1.504 MB / 3.003 GB, free: 75.01 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.236e-05/7.476, allocations: 141.6 kB / 3.003 GB, free: 74.85 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004772/7.481, allocations: 2.28 MB / 3.005 GB, free: 73.68 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001771/7.481, allocations: 44.2 kB / 3.005 GB, free: 73.64 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001687/7.483, allocations: 1.717 MB / 3.007 GB, free: 72.14 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003742/7.483, allocations: 410.4 kB / 3.008 GB, free: 71.79 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/7.483, allocations: 3.938 kB / 3.008 GB, free: 71.79 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001368/7.483, allocations: 374.3 kB / 3.008 GB, free: 71.43 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009522/7.484, allocations: 0.5345 MB / 3.008 GB, free: 71.18 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001263/7.486, allocations: 1.239 MB / 3.01 GB, free: 69.98 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002693/7.488, allocations: 0.9258 MB / 3.011 GB, free: 69.48 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.912e-05/7.488, allocations: 10.58 kB / 3.011 GB, free: 69.48 MB / 0.9792 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.00517/7.493, allocations: 2.141 MB / 3.013 GB, free: 68.45 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001695/7.495, allocations: 7.26 MB / 3.02 GB, free: 60.56 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.294e-05/7.495, allocations: 22.53 kB / 3.02 GB, free: 60.55 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002308/7.495, allocations: 67.25 kB / 3.02 GB, free: 60.53 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001299/7.497, allocations: 369 kB / 3.02 GB, free: 60.45 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001855/7.499, allocations: 1.563 MB / 3.022 GB, free: 58.91 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003306/7.502, allocations: 269.1 kB / 3.022 GB, free: 58.81 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002829/7.502, allocations: 106.1 kB / 3.022 GB, free: 58.79 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/7.502, allocations: 5.188 kB / 3.022 GB, free: 58.79 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004292/7.507, allocations: 1.775 MB / 3.024 GB, free: 57.95 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.271e-05/7.507, allocations: 18.19 kB / 3.024 GB, free: 57.95 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001471/7.507, allocations: 67.64 kB / 3.024 GB, free: 57.93 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/7.508, allocations: 369.3 kB / 3.024 GB, free: 57.82 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001786/7.51, allocations: 1.559 MB / 3.026 GB, free: 56.13 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003252/7.513, allocations: 255.5 kB / 3.026 GB, free: 55.88 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000284/7.513, allocations: 104 kB / 3.026 GB, free: 55.78 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.0005947/7.514, allocations: 172.7 kB / 3.026 GB, free: 55.61 MB / 0.9792 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004124/7.518, allocations: 1.451 MB / 3.028 GB, free: 54.14 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001013/7.519, allocations: 308.2 kB / 3.028 GB, free: 53.84 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004565/7.524, allocations: 1.825 MB / 3.03 GB, free: 52.02 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-05/7.524, allocations: 20 kB / 3.03 GB, free: 52 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/7.524, allocations: 0 / 3.03 GB, free: 52 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002345/7.526, allocations: 1.357 MB / 3.031 GB, free: 50.59 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 postOpt removeSimpleEquations (simulation): time 0.01069/7.537, allocations: 4.557 MB / 3.036 GB, free: 45.95 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-05/7.537, allocations: 4 kB / 3.036 GB, free: 45.94 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009432/7.538, allocations: 227.6 kB / 3.036 GB, free: 45.72 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001528/7.538, allocations: 49.22 kB / 3.036 GB, free: 45.67 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001061/7.538, allocations: 23.98 kB / 3.036 GB, free: 45.64 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001859/7.54, allocations: 1.543 MB / 3.037 GB, free: 43.98 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/7.54, allocations: 0 / 3.037 GB, free: 43.98 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005428/7.545, allocations: 2.94 MB / 3.04 GB, free: 40.91 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002096/7.548, allocations: 0.5906 MB / 3.041 GB, free: 40.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001053/7.549, allocations: 8 kB / 3.041 GB, free: 40.29 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00266/7.551, allocations: 167.6 kB / 3.041 GB, free: 40.13 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001903/7.552, allocations: 97.14 kB / 3.041 GB, free: 40.04 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001866/7.552, allocations: 71.39 kB / 3.041 GB, free: 39.97 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.004039/7.556, allocations: 1.699 MB / 3.043 GB, free: 38.28 MB / 0.9792 GB Notification: Performance of sort global known variables: time 2.21e-07/7.556, allocations: 0 / 3.043 GB, free: 38.28 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.01241/7.568, allocations: 2.097 MB / 3.045 GB, free: 36.18 MB / 0.9792 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.01001/7.578, allocations: 6.185 MB / 3.051 GB, free: 30.04 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.005053/7.583, allocations: 2.896 MB / 3.054 GB, free: 27.08 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.04e-05/7.583, allocations: 0 / 3.054 GB, free: 27.08 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001069/7.584, allocations: 0.7713 MB / 3.054 GB, free: 26.3 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008221/7.593, allocations: 1.426 MB / 3.056 GB, free: 24.96 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01688/7.61, allocations: 5.489 MB / 3.061 GB, free: 19.44 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002792/7.612, allocations: 2.174 MB / 3.063 GB, free: 17.24 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.005942/7.618, allocations: 0.9593 MB / 3.064 GB, free: 16.34 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002144/7.621, allocations: 1.44 MB / 3.066 GB, free: 14.9 MB / 0.9792 GB Notification: Performance of SimCode: time 2.164e-06/7.621, allocations: 0 / 3.066 GB, free: 14.9 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9652/8.586, allocations: 97.25 MB / 3.161 GB, free: 121.8 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001706/8.586, allocations: 205 kB / 3.161 GB, free: 121.5 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.041/14.63, allocations: 0 / 3.161 GB, free: 121.5 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)