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: translateModel(Buildings.Experimental.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTPriSup.T|TSetSecAct.y|senTSecRet.T|senTSecSup.T|mod.y|mSec_flow.y|disFlo.PPum|disFlo.val.y_actual",fileNamePrefix="Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl") translateModel(Buildings.Experimental.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTPriSup.T|TSetSecAct.y|senTSecRet.T|senTSecSup.T|mod.y|mSec_flow.y|disFlo.PPum|disFlo.val.y_actual",fileNamePrefix="Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.454/2.454, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001145/0.001145, allocations: 189.2 kB / 498.1 MB, free: 5.758 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.699/1.699, allocations: 223.2 MB / 0.7948 GB, free: 17.93 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.001001/0.001001, allocations: 92.33 kB / 0.9346 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005025/0.0005024, allocations: 11.23 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.352, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.4/1.752, allocations: 480.2 MB / 1.692 GB, free: 13.03 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003293/1.752, allocations: 117.8 kB / 1.692 GB, free: 12.96 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 7.096/8.848, allocations: 1.585 GB / 3.277 GB, free: 125.6 MB / 1.198 GB Notification: Performance of FrontEnd: time 4.298e-06/8.848, allocations: 1.219 kB / 3.277 GB, free: 125.6 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.001095/8.849, allocations: 116.1 kB / 3.277 GB, free: 125.6 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.0196/8.869, allocations: 4.803 MB / 3.282 GB, free: 123.9 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 6.014e-05/8.869, allocations: 11.12 kB / 3.282 GB, free: 123.9 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004438/8.874, allocations: 0.6288 MB / 3.282 GB, free: 123.7 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0332/8.907, allocations: 11.68 MB / 3.294 GB, free: 122.8 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004244/8.907, allocations: 207.1 kB / 3.294 GB, free: 122.8 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001445/8.909, allocations: 277.5 kB / 3.294 GB, free: 122.8 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01003/8.919, allocations: 2.729 MB / 3.297 GB, free: 122.4 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001951/8.919, allocations: 9.891 kB / 3.297 GB, free: 122.4 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008307/8.92, allocations: 102.8 kB / 3.297 GB, free: 122.4 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001084/8.92, allocations: 85.73 kB / 3.297 GB, free: 122.4 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005023/8.925, allocations: 1.996 MB / 3.299 GB, free: 122.3 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.02319/8.948, allocations: 14.36 MB / 3.313 GB, free: 115.3 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002858/8.951, allocations: 1.562 MB / 3.314 GB, free: 115 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.008748/8.96, allocations: 5.184 MB / 3.319 GB, free: 112 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00133/8.961, allocations: 0.8356 MB / 3.32 GB, free: 111.9 MB / 1.198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002201/8.964, allocations: 211.8 kB / 3.32 GB, free: 111.8 MB / 1.198 GB Notification: Performance of pre-optimization done (n=126): time 6.633e-06/8.964, allocations: 0 / 3.32 GB, free: 111.8 MB / 1.198 GB Notification: Performance of matching and sorting (n=126): time 0.004639/8.968, allocations: 2.13 MB / 3.323 GB, free: 111.4 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.374e-05/8.968, allocations: 147.3 kB / 3.323 GB, free: 111.3 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004835/8.973, allocations: 2.746 MB / 3.325 GB, free: 111.1 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.0003817/8.974, allocations: 69.89 kB / 3.325 GB, free: 111 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001704/8.975, allocations: 1.722 MB / 3.327 GB, free: 110.5 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004741/8.976, allocations: 435.2 kB / 3.328 GB, free: 110.2 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/8.976, allocations: 40.25 kB / 3.328 GB, free: 110.2 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0001254/8.976, allocations: 373.8 kB / 3.328 GB, free: 109.9 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001279/8.977, allocations: 0.6381 MB / 3.329 GB, free: 109.9 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001527/8.979, allocations: 1.361 MB / 3.33 GB, free: 109.1 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001372/8.98, allocations: 0.881 MB / 3.331 GB, free: 109 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.628e-06/8.98, allocations: 5.688 kB / 3.331 GB, free: 109 MB / 1.198 GB Notification: Performance of matching and sorting (n=229) (initialization): time 0.004672/8.985, allocations: 2.333 MB / 3.333 GB, free: 108.7 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001609/8.987, allocations: 7.375 MB / 3.34 GB, free: 101 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.952e-05/8.987, allocations: 15.41 kB / 3.34 GB, free: 101 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002696/8.987, allocations: 76.44 kB / 3.34 GB, free: 101 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001707/8.989, allocations: 400.8 kB / 3.341 GB, free: 101 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001894/8.99, allocations: 2.264 MB / 3.343 GB, free: 99.05 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004034/8.995, allocations: 304.3 kB / 3.343 GB, free: 99.04 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003092/8.995, allocations: 119.5 kB / 3.343 GB, free: 99.04 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/8.995, allocations: 4.906 kB / 3.343 GB, free: 99.04 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003555/8.998, allocations: 2.005 MB / 3.345 GB, free: 98.94 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.282e-05/8.998, allocations: 17.88 kB / 3.345 GB, free: 98.94 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001592/8.999, allocations: 76.59 kB / 3.345 GB, free: 98.93 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001347/9, allocations: 401 kB / 3.346 GB, free: 98.93 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001245/9.001, allocations: 1.628 MB / 3.347 GB, free: 97.52 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003436/9.005, allocations: 292.3 kB / 3.348 GB, free: 97.51 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002366/9.005, allocations: 115.9 kB / 3.348 GB, free: 97.51 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.00253/9.008, allocations: 0.9064 MB / 3.349 GB, free: 97.3 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009966/9.009, allocations: 337.9 kB / 3.349 GB, free: 97.13 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004038/9.013, allocations: 2.007 MB / 3.351 GB, free: 97 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-05/9.013, allocations: 21.39 kB / 3.351 GB, free: 97 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/9.013, allocations: 3.953 kB / 3.351 GB, free: 96.99 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002036/9.015, allocations: 1.476 MB / 3.352 GB, free: 96.71 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.01117/9.026, allocations: 5.05 MB / 3.357 GB, free: 95.85 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.397e-06/9.026, allocations: 0 / 3.357 GB, free: 95.85 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001087/9.027, allocations: 259.5 kB / 3.358 GB, free: 95.85 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001472/9.027, allocations: 45.86 kB / 3.358 GB, free: 95.84 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.283e-05/9.027, allocations: 38.14 kB / 3.358 GB, free: 95.84 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001593/9.029, allocations: 2.227 MB / 3.36 GB, free: 93.86 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/9.029, allocations: 1.875 kB / 3.36 GB, free: 93.86 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00504/9.034, allocations: 3.217 MB / 3.363 GB, free: 92.9 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002486/9.036, allocations: 0.6228 MB / 3.364 GB, free: 92.62 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001193/9.038, allocations: 35.2 kB / 3.364 GB, free: 92.62 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002938/9.041, allocations: 181.9 kB / 3.364 GB, free: 92.61 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002206/9.041, allocations: 101.9 kB / 3.364 GB, free: 92.61 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002106/9.041, allocations: 70.58 kB / 3.364 GB, free: 92.61 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.00539/9.046, allocations: 2.105 MB / 3.366 GB, free: 92.46 MB / 1.198 GB Notification: Performance of sort global known variables: time 2e-07/9.047, allocations: 0 / 3.366 GB, free: 92.46 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.01073/9.057, allocations: 2.068 MB / 3.368 GB, free: 92.18 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.005319/9.063, allocations: 2.243 MB / 3.37 GB, free: 91.54 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.007501/9.07, allocations: 3.233 MB / 3.373 GB, free: 91.04 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 1.358e-05/9.07, allocations: 0 / 3.373 GB, free: 91.04 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.001945/9.072, allocations: 0.887 MB / 3.374 GB, free: 90.92 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009516/9.082, allocations: 1.649 MB / 3.376 GB, free: 90.9 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01831/9.1, allocations: 7.381 MB / 3.383 GB, free: 87.7 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002021/9.102, allocations: 2.199 MB / 3.385 GB, free: 86.95 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.004443/9.107, allocations: 0.7731 MB / 3.386 GB, free: 86.92 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008483/9.107, allocations: 259.2 kB / 3.386 GB, free: 86.91 MB / 1.198 GB Notification: Performance of SimCode: time 1.453e-06/9.108, allocations: 0 / 3.386 GB, free: 86.91 MB / 1.198 GB Notification: Performance of Templates: time 0.1376/9.245, allocations: 76.72 MB / 3.461 GB, free: 82.02 MB / 1.198 GB make -j1 -f Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl.makefile (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 & ./Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Controls.Validation.MixingValveControl.pipe 2>&1)