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.547/2.547, allocations: 284.9 MB / 292.4 MB, free: 10.48 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.001599/0.001599, allocations: 184.8 kB / 360.6 MB, free: 7.266 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.084/2.084, allocations: 205.3 MB / 0.6191 GB, free: 12.19 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.001172/0.001171, allocations: 94.3 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.663e-05/2.658e-05, allocations: 4 kB / 0.8509 GB, free: 3.332 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8447/0.8448, allocations: 115.3 MB / 0.9634 GB, free: 78.77 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.396/2.241, allocations: 478.4 MB / 1.431 GB, free: 86.95 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003304/2.241, allocations: 104 kB / 1.431 GB, free: 86.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 8.091/10.33, allocations: 1.535 GB / 2.966 GB, free: 99.34 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.354e-06/10.33, allocations: 3.5 kB / 2.966 GB, free: 99.34 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0008097/10.33, allocations: 111.6 kB / 2.966 GB, free: 99.31 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.01284/10.35, allocations: 3.751 MB / 2.97 GB, free: 97.07 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/10.35, allocations: 9.25 kB / 2.97 GB, free: 97.07 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003597/10.35, allocations: 0.5346 MB / 2.97 GB, free: 96.84 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01726/10.37, allocations: 4.743 MB / 2.975 GB, free: 94.59 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001502/10.37, allocations: 79.47 kB / 2.975 GB, free: 94.59 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000794/10.37, allocations: 167.4 kB / 2.975 GB, free: 94.59 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005416/10.37, allocations: 1.7 MB / 2.977 GB, free: 93.85 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006345/10.38, allocations: 2.257 MB / 2.979 GB, free: 92.72 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.136e-05/10.38, allocations: 10.53 kB / 2.979 GB, free: 92.71 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003241/10.38, allocations: 11.59 kB / 2.979 GB, free: 92.71 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001131/10.38, allocations: 83.52 kB / 2.979 GB, free: 92.7 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.02696/10.41, allocations: 13.74 MB / 2.993 GB, free: 82.7 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002682/10.41, allocations: 1.375 MB / 2.994 GB, free: 81.92 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001341/10.41, allocations: 0.6154 MB / 2.995 GB, free: 81.67 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.01094/10.42, allocations: 4.989 MB / 3 GB, free: 77.63 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001481/10.42, allocations: 0.6943 MB / 3 GB, free: 77.32 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002131/10.43, allocations: 151.7 kB / 3 GB, free: 77.26 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=124): time 6.161e-06/10.43, allocations: 0 / 3 GB, free: 77.26 MB / 0.9792 GB Notification: Performance of matching and sorting (n=124): time 0.005882/10.43, allocations: 1.504 MB / 3.002 GB, free: 76.68 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.817e-05/10.43, allocations: 144.2 kB / 3.002 GB, free: 76.52 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005151/10.44, allocations: 2.283 MB / 3.004 GB, free: 75.57 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0005705/10.44, allocations: 41.39 kB / 3.004 GB, free: 75.53 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.002148/10.44, allocations: 1.714 MB / 3.006 GB, free: 74.1 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006812/10.44, allocations: 420.8 kB / 3.006 GB, free: 73.74 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001439/10.44, allocations: 2.875 kB / 3.006 GB, free: 73.74 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001399/10.44, allocations: 373.1 kB / 3.007 GB, free: 73.39 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001433/10.44, allocations: 0.5392 MB / 3.007 GB, free: 73.13 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001813/10.44, allocations: 1.245 MB / 3.008 GB, free: 71.93 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004032/10.45, allocations: 0.9191 MB / 3.009 GB, free: 71.44 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.126e-05/10.45, allocations: 3.531 kB / 3.009 GB, free: 71.44 MB / 0.9792 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.007793/10.46, allocations: 2.136 MB / 3.011 GB, free: 70.41 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001665/10.46, allocations: 7.262 MB / 3.018 GB, free: 62.52 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.515e-05/10.46, allocations: 17.44 kB / 3.019 GB, free: 62.52 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000357/10.46, allocations: 67.59 kB / 3.019 GB, free: 62.49 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002703/10.46, allocations: 372.9 kB / 3.019 GB, free: 62.4 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002338/10.46, allocations: 1.567 MB / 3.02 GB, free: 60.88 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004872/10.47, allocations: 260.3 kB / 3.021 GB, free: 60.78 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004674/10.47, allocations: 106.9 kB / 3.021 GB, free: 60.75 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/10.47, allocations: 4.531 kB / 3.021 GB, free: 60.75 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006483/10.48, allocations: 1.778 MB / 3.023 GB, free: 59.91 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.891e-05/10.48, allocations: 16.78 kB / 3.023 GB, free: 59.91 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002103/10.48, allocations: 69.14 kB / 3.023 GB, free: 59.89 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002346/10.48, allocations: 359.1 kB / 3.023 GB, free: 59.81 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002251/10.48, allocations: 1.569 MB / 3.025 GB, free: 58.27 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004623/10.49, allocations: 247.8 kB / 3.025 GB, free: 58.18 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004212/10.49, allocations: 103.3 kB / 3.025 GB, free: 58.15 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.0006548/10.49, allocations: 183.5 kB / 3.025 GB, free: 57.99 MB / 0.9792 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005389/10.49, allocations: 1.456 MB / 3.026 GB, free: 57.26 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006766/10.49, allocations: 307.5 kB / 3.027 GB, free: 57.1 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006163/10.5, allocations: 1.818 MB / 3.029 GB, free: 55.76 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.348e-05/10.5, allocations: 16 kB / 3.029 GB, free: 55.74 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/10.5, allocations: 3.984 kB / 3.029 GB, free: 55.74 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003605/10.5, allocations: 1.357 MB / 3.03 GB, free: 54.33 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.0123/10.51, allocations: 4.554 MB / 3.034 GB, free: 49.69 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.214e-05/10.51, allocations: 0 / 3.034 GB, free: 49.69 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001762/10.52, allocations: 227.7 kB / 3.035 GB, free: 49.46 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001888/10.52, allocations: 48.73 kB / 3.035 GB, free: 49.41 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001167/10.52, allocations: 28.16 kB / 3.035 GB, free: 49.39 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002198/10.52, allocations: 1.542 MB / 3.036 GB, free: 47.73 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/10.52, allocations: 4 kB / 3.036 GB, free: 47.72 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006804/10.53, allocations: 2.937 MB / 3.039 GB, free: 44.66 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002281/10.53, allocations: 0.5905 MB / 3.04 GB, free: 44.05 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006339/10.53, allocations: 12 kB / 3.04 GB, free: 44.04 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003074/10.53, allocations: 167.6 kB / 3.04 GB, free: 43.87 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002418/10.53, allocations: 101.1 kB / 3.04 GB, free: 43.77 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001962/10.53, allocations: 63.95 kB / 3.04 GB, free: 43.71 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.00372/10.54, allocations: 1.703 MB / 3.042 GB, free: 42.02 MB / 0.9792 GB Notification: Performance of sort global known variables: time 4.71e-07/10.54, allocations: 0 / 3.042 GB, free: 42.02 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.01549/10.55, allocations: 2.104 MB / 3.044 GB, free: 39.91 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.0117/10.56, allocations: 6.192 MB / 3.05 GB, free: 33.78 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.006465/10.57, allocations: 2.888 MB / 3.052 GB, free: 30.83 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.294e-05/10.57, allocations: 12.14 kB / 3.052 GB, free: 30.82 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001584/10.57, allocations: 0.7601 MB / 3.053 GB, free: 30.05 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01141/10.58, allocations: 1.421 MB / 3.055 GB, free: 28.71 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01861/10.6, allocations: 5.491 MB / 3.06 GB, free: 23.19 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003077/10.6, allocations: 2.174 MB / 3.062 GB, free: 20.98 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.008563/10.61, allocations: 0.9591 MB / 3.063 GB, free: 20.09 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003072/10.62, allocations: 1.433 MB / 3.064 GB, free: 18.66 MB / 0.9792 GB Notification: Performance of SimCode: time 1.583e-06/10.62, allocations: 0 / 3.064 GB, free: 18.66 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.07/11.69, allocations: 97.24 MB / 3.159 GB, free: 105.6 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002511/11.69, allocations: 194.4 kB / 3.16 GB, free: 105.4 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.247/18.93, allocations: 4 kB / 3.16 GB, free: 105.4 MB / 0.9948 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)