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: translateModel(Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl") translateModel(Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.652/1.652, allocations: 288.4 MB / 304.3 MB, free: 8.082 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.00111/0.00111, allocations: 178.9 kB / 372.9 MB, free: 10.13 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.64/1.64, allocations: 205.4 MB / 0.6316 GB, free: 9.898 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008857/0.0008855, allocations: 88.27 kB / 0.745 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004423/0.0004426, allocations: 11.41 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.2491, allocations: 115.3 MB / 0.9807 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl): time 0.6986/0.9478, allocations: 163.7 MB / 1.141 GB, free: 6.016 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.06865/1.016, allocations: 39.31 MB / 1.179 GB, free: 8.285 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.011/1.028, allocations: 187.2 kB / 1.179 GB, free: 8.203 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.007566/1.035, allocations: 1.519 MB / 1.181 GB, free: 6.949 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Experimental/DHC/Loads/FlowDistribution.mo:186:18-186:29:writable] Warning: 'each' used when modifying non-array element y. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Experimental/DHC/Loads/FlowDistribution.mo:199:18-199:26:writable] Warning: 'each' used when modifying non-array element y. Notification: Performance of NFTyping.typeBindings: time 0.01922/1.054, allocations: 4.405 MB / 1.185 GB, free: 3.473 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.01419/1.069, allocations: 3.386 MB / 1.188 GB, free: 1.16 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.02104/1.09, allocations: 12.34 MB / 1.2 GB, free: 9.82 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009368/1.099, allocations: 3.426 MB / 1.204 GB, free: 7.777 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01167/1.111, allocations: 3.556 MB / 1.207 GB, free: 4.602 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007362/1.118, allocations: 2.664 MB / 1.21 GB, free: 1.926 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.001855/1.12, allocations: 140 kB / 1.21 GB, free: 1.789 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0093/1.13, allocations: 2.265 MB / 1.212 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.00238/1.132, allocations: 0.7468 MB / 1.213 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.006312/1.138, allocations: 1.926 MB / 1.215 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.01214/1.15, allocations: 5.856 MB / 1.22 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 9.157e-06/1.151, allocations: 4 kB / 1.22 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.615e-06/1.151, allocations: 0 / 1.22 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0003202/1.151, allocations: 0 / 1.22 GB, free: 6.953 MB / 0.7448 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.01141/1.162, allocations: 3.913 MB / 1.224 GB, free: 2.949 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.646e-05/1.162, allocations: 8.031 kB / 1.224 GB, free: 2.941 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00263/1.165, allocations: 0.557 MB / 1.225 GB, free: 2.379 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009843/1.175, allocations: 3.732 MB / 1.228 GB, free: 14.58 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006239/1.176, allocations: 269.3 kB / 1.229 GB, free: 14.31 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001213/1.177, allocations: 275.9 kB / 1.229 GB, free: 14.04 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008284/1.185, allocations: 2.742 MB / 1.232 GB, free: 11.14 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.484e-05/1.185, allocations: 3.938 kB / 1.232 GB, free: 11.14 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002769/1.185, allocations: 108 kB / 1.232 GB, free: 11.04 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001123/1.186, allocations: 96.53 kB / 1.232 GB, free: 10.94 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004262/1.19, allocations: 1.993 MB / 1.234 GB, free: 8.93 MB / 0.7605 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.02/1.21, allocations: 14.55 MB / 1.248 GB, free: 9.434 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002455/1.212, allocations: 1.469 MB / 1.249 GB, free: 7.906 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001221/1.214, allocations: 0.6825 MB / 1.25 GB, free: 7.219 MB / 0.7761 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.008341/1.222, allocations: 5.072 MB / 1.255 GB, free: 1.598 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001358/1.223, allocations: 0.7786 MB / 1.256 GB, free: 0.8008 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001514/1.225, allocations: 186.3 kB / 1.256 GB, free: 0.6172 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=118): time 4.107e-06/1.225, allocations: 3.938 kB / 1.256 GB, free: 0.6133 MB / 0.7761 GB Notification: Performance of matching and sorting (n=118): time 0.004273/1.229, allocations: 2.018 MB / 1.258 GB, free: 14.56 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.796e-05/1.229, allocations: 119.8 kB / 1.258 GB, free: 14.42 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004548/1.234, allocations: 2.978 MB / 1.261 GB, free: 11.46 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0002164/1.234, allocations: 65.7 kB / 1.261 GB, free: 11.39 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.001696/1.236, allocations: 1.711 MB / 1.263 GB, free: 9.664 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004488/1.236, allocations: 406.2 kB / 1.263 GB, free: 9.262 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.989e-05/1.236, allocations: 36 kB / 1.263 GB, free: 9.227 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001877/1.237, allocations: 373.9 kB / 1.263 GB, free: 8.855 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001257/1.238, allocations: 0.6247 MB / 1.264 GB, free: 8.23 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001669/1.24, allocations: 1.285 MB / 1.265 GB, free: 6.664 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002751/1.242, allocations: 1.884 MB / 1.267 GB, free: 4.523 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.096e-05/1.242, allocations: 8 kB / 1.267 GB, free: 4.516 MB / 0.7917 GB Notification: Performance of matching and sorting (n=229) (initialization): time 0.00492/1.247, allocations: 2.305 MB / 1.269 GB, free: 2.184 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006265/1.248, allocations: 0.6849 MB / 1.27 GB, free: 1.238 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.12e-05/1.248, allocations: 20 kB / 1.27 GB, free: 1.219 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003199/1.248, allocations: 68.78 kB / 1.27 GB, free: 1.148 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001358/1.25, allocations: 395.4 kB / 1.271 GB, free: 0.7617 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001706/1.251, allocations: 1.626 MB / 1.272 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003931/1.255, allocations: 300.2 kB / 1.272 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003591/1.256, allocations: 99.97 kB / 1.273 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/1.256, allocations: 5.25 kB / 1.273 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003867/1.26, allocations: 2.003 MB / 1.274 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.271e-05/1.26, allocations: 16 kB / 1.274 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002053/1.26, allocations: 65.75 kB / 1.275 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/1.261, allocations: 379.4 kB / 1.275 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001586/1.263, allocations: 1.626 MB / 1.277 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003303/1.266, allocations: 301.9 kB / 1.277 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002433/1.266, allocations: 99.97 kB / 1.277 GB, free: 9.949 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 80 * Number of states: 0 () * Number of discrete variables: 17 ($PRE.disFlo.conVal.cha.y,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition5,disFlo.conVal.toBoo.y,$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,disFlo.conVal.resConTSup.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (220): * Single equations (assignments): 216 * 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.002402/1.269, allocations: 0.8831 MB / 1.278 GB, free: 9.055 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009424/1.27, allocations: 331.8 kB / 1.278 GB, free: 8.727 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003997/1.274, allocations: 1.912 MB / 1.28 GB, free: 6.809 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002301/1.276, allocations: 1.411 MB / 1.281 GB, free: 5.344 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.395e-06/1.276, allocations: 4 kB / 1.281 GB, free: 5.34 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002016/1.278, allocations: 0.6098 MB / 1.282 GB, free: 4.707 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003995/1.278, allocations: 28 kB / 1.282 GB, free: 4.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001331/1.28, allocations: 170.1 kB / 1.282 GB, free: 4.516 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002074/1.28, allocations: 101.1 kB / 1.282 GB, free: 4.414 MB / 0.8073 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003342/1.283, allocations: 1.797 MB / 1.284 GB, free: 2.609 MB / 0.8073 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004224/1.288, allocations: 2.802 MB / 1.287 GB, free: 15.79 MB / 0.823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001166/1.289, allocations: 0.6857 MB / 1.287 GB, free: 15.1 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.003732/1.293, allocations: 1.987 MB / 1.289 GB, free: 13.13 MB / 0.823 GB Notification: Performance of Backend: time 1.263e-06/1.293, allocations: 0 / 1.289 GB, free: 13.13 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.00874/1.301, allocations: 3.519 MB / 1.293 GB, free: 9.543 MB / 0.823 GB Notification: Performance of SimCode: time 0.01751/1.319, allocations: 8.571 MB / 1.301 GB, free: 0.9297 MB / 0.823 GB Notification: Performance of Templates: time 0.1347/1.454, allocations: 71.68 MB / 1.371 GB, free: 9.691 MB / 0.9011 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl.makefile (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 & ./Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl.pipe 2>&1)