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.315/2.315, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.001276/0.001276, allocations: 179.7 kB / 487.4 MB, free: 5.039 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.741/1.741, allocations: 221.5 MB / 0.7824 GB, free: 1.023 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001142/0.001143, allocations: 99.84 kB / 0.9219 GB, free: 2.25 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.143e-05/2.147e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3438/0.3438, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.293/1.637, allocations: 479.5 MB / 1.674 GB, free: 7.711 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002734/1.637, allocations: 108 kB / 1.674 GB, free: 7.648 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 6.575/8.213, allocations: 1.572 GB / 3.247 GB, free: 140.8 MB / 1.182 GB Notification: Performance of FrontEnd: time 1.783e-06/8.213, allocations: 0 / 3.247 GB, free: 140.8 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0009739/8.214, allocations: 108.8 kB / 3.247 GB, free: 140.8 MB / 1.182 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.01455/8.228, allocations: 3.786 MB / 3.25 GB, free: 139.1 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/8.228, allocations: 11.84 kB / 3.25 GB, free: 139.1 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004681/8.233, allocations: 0.6406 MB / 3.251 GB, free: 138.8 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03171/8.265, allocations: 11.55 MB / 3.262 GB, free: 137.9 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002556/8.265, allocations: 78.81 kB / 3.262 GB, free: 137.9 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00135/8.266, allocations: 169.9 kB / 3.263 GB, free: 137.9 MB / 1.182 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005932/8.272, allocations: 1.751 MB / 3.264 GB, free: 137.9 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007811/8.28, allocations: 2.312 MB / 3.267 GB, free: 137.5 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001099/8.28, allocations: 6.406 kB / 3.267 GB, free: 137.5 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006159/8.281, allocations: 6.188 kB / 3.267 GB, free: 137.5 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001036/8.281, allocations: 96.78 kB / 3.267 GB, free: 137.4 MB / 1.182 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.02619/8.307, allocations: 13.85 MB / 3.28 GB, free: 130.5 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002573/8.31, allocations: 1.477 MB / 3.282 GB, free: 130.2 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001094/8.311, allocations: 0.6643 MB / 3.282 GB, free: 130.2 MB / 1.182 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.009755/8.321, allocations: 5.071 MB / 3.287 GB, free: 127.2 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001393/8.322, allocations: 0.7406 MB / 3.288 GB, free: 127.1 MB / 1.182 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00231/8.325, allocations: 151.6 kB / 3.288 GB, free: 127 MB / 1.182 GB Notification: Performance of pre-optimization done (n=125): time 1.309e-05/8.325, allocations: 7.078 kB / 3.288 GB, free: 127 MB / 1.182 GB Notification: Performance of matching and sorting (n=125): time 0.005198/8.33, allocations: 1.593 MB / 3.29 GB, free: 126.8 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.738e-05/8.33, allocations: 151 kB / 3.29 GB, free: 126.6 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006794/8.337, allocations: 2.298 MB / 3.292 GB, free: 126.4 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0003973/8.337, allocations: 37.39 kB / 3.292 GB, free: 126.4 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.001895/8.339, allocations: 1.734 MB / 3.294 GB, free: 125.8 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004455/8.34, allocations: 415.8 kB / 3.294 GB, free: 125.5 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/8.34, allocations: 3.906 kB / 3.294 GB, free: 125.5 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001298/8.34, allocations: 375 kB / 3.295 GB, free: 125.2 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001061/8.341, allocations: 0.5789 MB / 3.295 GB, free: 125.2 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001368/8.342, allocations: 1.285 MB / 3.296 GB, free: 124.4 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00293/8.345, allocations: 0.9687 MB / 3.297 GB, free: 124.4 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.154e-05/8.345, allocations: 5.438 kB / 3.297 GB, free: 124.4 MB / 1.182 GB Notification: Performance of matching and sorting (n=228) (initialization): time 0.005659/8.351, allocations: 2.237 MB / 3.3 GB, free: 124.1 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.001993/8.353, allocations: 7.263 MB / 3.307 GB, free: 116.5 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.26e-05/8.353, allocations: 23.58 kB / 3.307 GB, free: 116.5 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002565/8.353, allocations: 59.25 kB / 3.307 GB, free: 116.4 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001767/8.355, allocations: 407.4 kB / 3.307 GB, free: 116.4 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002496/8.357, allocations: 2.29 MB / 3.309 GB, free: 114.5 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003752/8.361, allocations: 262.1 kB / 3.31 GB, free: 114.5 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003896/8.362, allocations: 118.5 kB / 3.31 GB, free: 114.5 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/8.362, allocations: 5.906 kB / 3.31 GB, free: 114.5 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004759/8.366, allocations: 1.848 MB / 3.312 GB, free: 114.5 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.095e-05/8.366, allocations: 20.75 kB / 3.312 GB, free: 114.5 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001507/8.367, allocations: 63.52 kB / 3.312 GB, free: 114.4 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001393/8.368, allocations: 403.3 kB / 3.312 GB, free: 114.4 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001735/8.37, allocations: 1.554 MB / 3.313 GB, free: 113.1 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003233/8.373, allocations: 242.4 kB / 3.314 GB, free: 113.1 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002216/8.373, allocations: 113 kB / 3.314 GB, free: 113.1 MB / 1.182 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (217): * 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): 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.0006066/8.374, allocations: 176.1 kB / 3.314 GB, free: 113 MB / 1.182 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004398/8.378, allocations: 1.491 MB / 3.315 GB, free: 112.8 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005904/8.379, allocations: 315.9 kB / 3.316 GB, free: 112.6 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004639/8.384, allocations: 1.868 MB / 3.318 GB, free: 112.5 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.392e-05/8.384, allocations: 20.89 kB / 3.318 GB, free: 112.5 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/8.384, allocations: 1.781 kB / 3.318 GB, free: 112.5 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002434/8.386, allocations: 1.397 MB / 3.319 GB, free: 112.2 MB / 1.182 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.009308/8.395, allocations: 4.62 MB / 3.323 GB, free: 111.3 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.446e-05/8.395, allocations: 8.641 kB / 3.323 GB, free: 111.3 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001148/8.397, allocations: 250.1 kB / 3.324 GB, free: 111.3 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001524/8.397, allocations: 48.11 kB / 3.324 GB, free: 111.3 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.798e-05/8.397, allocations: 28.23 kB / 3.324 GB, free: 111.3 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002087/8.399, allocations: 2.155 MB / 3.326 GB, free: 109.4 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/8.399, allocations: 6.469 kB / 3.326 GB, free: 109.4 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006237/8.405, allocations: 3.015 MB / 3.329 GB, free: 108.5 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002573/8.408, allocations: 0.5959 MB / 3.329 GB, free: 108.2 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004782/8.408, allocations: 17.53 kB / 3.329 GB, free: 108.2 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001954/8.41, allocations: 155.7 kB / 3.33 GB, free: 108.2 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002229/8.41, allocations: 102.6 kB / 3.33 GB, free: 108.2 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001562/8.411, allocations: 67.38 kB / 3.33 GB, free: 108.2 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.004126/8.415, allocations: 1.712 MB / 3.331 GB, free: 108 MB / 1.182 GB Notification: Performance of sort global known variables: time 7.31e-07/8.415, allocations: 2.938 kB / 3.331 GB, free: 108 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.01461/8.429, allocations: 2.108 MB / 3.334 GB, free: 107.7 MB / 1.182 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 (139): * 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): 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.01052/8.44, allocations: 6.293 MB / 3.34 GB, free: 105 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.006023/8.446, allocations: 3.04 MB / 3.343 GB, free: 104.5 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.209e-05/8.446, allocations: 2.688 kB / 3.343 GB, free: 104.5 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.001287/8.447, allocations: 0.8014 MB / 3.343 GB, free: 104.3 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008612/8.456, allocations: 1.43 MB / 3.345 GB, free: 104.3 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01687/8.473, allocations: 5.595 MB / 3.35 GB, free: 102.6 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001922/8.475, allocations: 2.198 MB / 3.352 GB, free: 101.8 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.005346/8.48, allocations: 1 MB / 3.353 GB, free: 101.7 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001881/8.482, allocations: 1.459 MB / 3.355 GB, free: 101.7 MB / 1.182 GB Notification: Performance of SimCode: time 1.042e-06/8.482, allocations: 0 / 3.355 GB, free: 101.7 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2022/8.684, allocations: 99.01 MB / 3.451 GB, free: 52.68 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002341/8.685, allocations: 210 kB / 3.452 GB, free: 52.39 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.82/15.5, allocations: 0 / 3.452 GB, free: 52.39 MB / 1.182 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)