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.505/2.505, 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.001305/0.001305, allocations: 180.9 kB / 487.4 MB, free: 5.02 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.705/1.705, allocations: 221.5 MB / 0.7824 GB, free: 0.9609 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.001037/0.001036, allocations: 79.98 kB / 0.9219 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.43e-05/1.433e-05, allocations: 0 / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3086, allocations: 142.3 MB / 1.206 GB, free: 43.91 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.399/1.708, allocations: 479.5 MB / 1.674 GB, free: 7.953 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003171/1.708, allocations: 107.6 kB / 1.674 GB, free: 7.891 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 6.342/8.05, allocations: 1.572 GB / 3.247 GB, free: 140.8 MB / 1.182 GB Notification: Performance of FrontEnd: time 2.274e-06/8.05, allocations: 1.875 kB / 3.247 GB, free: 140.8 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0008881/8.051, allocations: 112.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.01248/8.064, allocations: 3.78 MB / 3.25 GB, free: 139.1 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/8.064, allocations: 11.81 kB / 3.25 GB, free: 139.1 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003803/8.067, allocations: 0.6409 MB / 3.251 GB, free: 138.8 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02937/8.097, allocations: 11.54 MB / 3.262 GB, free: 137.9 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002359/8.097, allocations: 81.67 kB / 3.262 GB, free: 137.9 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001293/8.098, allocations: 169.8 kB / 3.263 GB, free: 137.9 MB / 1.182 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00557/8.104, allocations: 1.755 MB / 3.264 GB, free: 137.9 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007215/8.111, allocations: 2.311 MB / 3.267 GB, free: 137.5 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000141/8.111, allocations: 12.03 kB / 3.267 GB, free: 137.5 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006171/8.112, allocations: 7.562 kB / 3.267 GB, free: 137.5 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001328/8.112, allocations: 91.58 kB / 3.267 GB, free: 137.5 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.02363/8.136, allocations: 13.84 MB / 3.28 GB, free: 130.6 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002669/8.139, allocations: 1.479 MB / 3.282 GB, free: 130.2 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001213/8.14, allocations: 0.6687 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.0111/8.151, allocations: 5.071 MB / 3.287 GB, free: 127.2 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001378/8.152, allocations: 0.7494 MB / 3.288 GB, free: 127.1 MB / 1.182 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002237/8.155, allocations: 155.1 kB / 3.288 GB, free: 127 MB / 1.182 GB Notification: Performance of pre-optimization done (n=125): time 8.657e-06/8.155, allocations: 0 / 3.288 GB, free: 127 MB / 1.182 GB Notification: Performance of matching and sorting (n=125): time 0.004835/8.16, allocations: 1.601 MB / 3.29 GB, free: 126.8 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.526e-05/8.16, allocations: 147.8 kB / 3.29 GB, free: 126.6 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006441/8.166, allocations: 2.298 MB / 3.292 GB, free: 126.4 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0003645/8.167, allocations: 39.58 kB / 3.292 GB, free: 126.4 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.002367/8.169, allocations: 1.728 MB / 3.294 GB, free: 125.8 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005122/8.169, allocations: 417.3 kB / 3.294 GB, free: 125.5 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000202/8.17, allocations: 5.344 kB / 3.294 GB, free: 125.5 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001708/8.17, allocations: 378.8 kB / 3.294 GB, free: 125.2 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001136/8.171, allocations: 0.581 MB / 3.295 GB, free: 125.2 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001628/8.173, allocations: 1.279 MB / 3.296 GB, free: 124.4 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003113/8.176, allocations: 0.9706 MB / 3.297 GB, free: 124.4 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.151e-05/8.176, allocations: 3.562 kB / 3.297 GB, free: 124.4 MB / 1.182 GB Notification: Performance of matching and sorting (n=228) (initialization): time 0.006186/8.182, allocations: 2.235 MB / 3.299 GB, free: 124.1 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.002001/8.184, allocations: 7.269 MB / 3.307 GB, free: 116.5 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.732e-05/8.184, allocations: 14.56 kB / 3.307 GB, free: 116.5 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002875/8.184, allocations: 67.95 kB / 3.307 GB, free: 116.4 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001743/8.186, allocations: 406.5 kB / 3.307 GB, free: 116.4 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002685/8.189, allocations: 2.292 MB / 3.309 GB, free: 114.5 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00365/8.192, allocations: 256.2 kB / 3.309 GB, free: 114.5 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004187/8.193, allocations: 121.3 kB / 3.31 GB, free: 114.5 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/8.193, allocations: 5.188 kB / 3.31 GB, free: 114.5 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005149/8.198, allocations: 1.849 MB / 3.311 GB, free: 114.5 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.631e-05/8.198, allocations: 18.91 kB / 3.311 GB, free: 114.5 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001713/8.198, allocations: 63.5 kB / 3.311 GB, free: 114.5 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001494/8.2, allocations: 404.1 kB / 3.312 GB, free: 114.5 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002023/8.202, allocations: 1.545 MB / 3.313 GB, free: 113.1 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003699/8.206, allocations: 239.4 kB / 3.314 GB, free: 113.1 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000401/8.206, 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.0007922/8.207, allocations: 183.3 kB / 3.314 GB, free: 113 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001222/8.208, allocations: 314.2 kB / 3.314 GB, free: 112.8 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005533/8.214, allocations: 1.867 MB / 3.316 GB, free: 112.7 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.794e-05/8.214, allocations: 25.75 kB / 3.316 GB, free: 112.7 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/8.214, allocations: 5.25 kB / 3.316 GB, free: 112.7 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002627/8.216, allocations: 1.391 MB / 3.317 GB, free: 112.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 postOpt removeSimpleEquations (simulation): time 0.01198/8.228, allocations: 4.626 MB / 3.322 GB, free: 111.6 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.17e-05/8.228, allocations: 3.656 kB / 3.322 GB, free: 111.6 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001114/8.229, allocations: 249.3 kB / 3.322 GB, free: 111.6 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001565/8.23, allocations: 43.81 kB / 3.322 GB, free: 111.6 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001213/8.23, allocations: 29.47 kB / 3.322 GB, free: 111.6 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002006/8.232, allocations: 2.155 MB / 3.324 GB, free: 109.7 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.416e-06/8.232, allocations: 6.75 kB / 3.324 GB, free: 109.7 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005077/8.237, allocations: 3.012 MB / 3.327 GB, free: 108.7 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002108/8.239, allocations: 0.5948 MB / 3.328 GB, free: 108.4 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00113/8.24, allocations: 15.09 kB / 3.328 GB, free: 108.4 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002643/8.243, allocations: 155.2 kB / 3.328 GB, free: 108.4 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002006/8.243, allocations: 101.9 kB / 3.328 GB, free: 108.4 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001954/8.243, allocations: 69.94 kB / 3.328 GB, free: 108.4 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.004199/8.247, allocations: 1.718 MB / 3.33 GB, free: 108.3 MB / 1.182 GB Notification: Performance of sort global known variables: time 1.5e-07/8.247, allocations: 2.156 kB / 3.33 GB, free: 108.3 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.01309/8.261, allocations: 2.116 MB / 3.332 GB, free: 107.9 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.004902/8.266, allocations: 2.147 MB / 3.334 GB, free: 107.3 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.006267/8.272, allocations: 3.041 MB / 3.337 GB, free: 106.7 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.164e-05/8.272, allocations: 2.781 kB / 3.337 GB, free: 106.7 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.001458/8.273, allocations: 0.8069 MB / 3.338 GB, free: 106.6 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00835/8.282, allocations: 1.44 MB / 3.339 GB, free: 106.5 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01286/8.295, allocations: 4.789 MB / 3.344 GB, free: 105 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003164/8.298, allocations: 2.201 MB / 3.346 GB, free: 104.2 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.005184/8.303, allocations: 0.9959 MB / 3.347 GB, free: 104.1 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004424/8.303, allocations: 186.5 kB / 3.347 GB, free: 104.1 MB / 1.182 GB Notification: Performance of SimCode: time 1.583e-06/8.303, allocations: 0 / 3.347 GB, free: 104.1 MB / 1.182 GB Notification: Performance of Templates: time 0.11/8.413, allocations: 68.53 MB / 3.414 GB, free: 88.07 MB / 1.182 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)