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: translateModel(Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.632/1.632, allocations: 287.4 MB / 303.2 MB, free: 8.215 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.001737/0.001738, allocations: 174.1 kB / 371.8 MB, free: 10.84 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.613/1.613, allocations: 205.4 MB / 0.6305 GB, free: 10.58 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.000865/0.000865, allocations: 96.78 kB / 0.7438 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004146/0.0004147, allocations: 14.88 kB / 0.8667 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1996/0.2001, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl): time 0.5883/0.7884, allocations: 163.7 MB / 1.139 GB, free: 6.289 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.05769/0.8462, allocations: 39.32 MB / 1.178 GB, free: 9.363 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009381/0.8556, allocations: 186.5 kB / 1.178 GB, free: 9.281 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.00656/0.8622, allocations: 1.44 MB / 1.179 GB, free: 8.07 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0/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.01466/0.8769, allocations: 4.16 MB / 1.183 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.01115/0.8881, allocations: 3.328 MB / 1.186 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.01865/0.9067, allocations: 12.33 MB / 1.198 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007156/0.914, allocations: 3.417 MB / 1.202 GB, free: 9.117 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008744/0.9227, allocations: 3.444 MB / 1.205 GB, free: 6.387 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005394/0.9282, allocations: 2.66 MB / 1.208 GB, free: 3.715 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.001241/0.9294, allocations: 140 kB / 1.208 GB, free: 3.578 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006453/0.9359, allocations: 1.778 MB / 1.21 GB, free: 1.797 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.001593/0.9375, allocations: 0.7467 MB / 1.21 GB, free: 1.047 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.00215/0.9397, allocations: 0.8901 MB / 1.211 GB, free: 152 kB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.008668/0.9484, allocations: 5.724 MB / 1.217 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 9.267e-06/0.9484, allocations: 0 / 1.217 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.468e-06/0.9485, allocations: 4 kB / 1.217 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0003023/0.9488, allocations: 0 / 1.217 GB, free: 10.41 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.01033/0.9591, allocations: 3.917 MB / 1.221 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.686e-05/0.9592, allocations: 15.97 kB / 1.221 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00216/0.9613, allocations: 0.5608 MB / 1.221 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008302/0.9697, allocations: 3.73 MB / 1.225 GB, free: 2.023 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005378/0.9702, allocations: 269.3 kB / 1.225 GB, free: 1.758 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008548/0.9711, allocations: 271.9 kB / 1.225 GB, free: 1.492 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006963/0.9781, allocations: 2.734 MB / 1.228 GB, free: 14.6 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.304e-05/0.9782, allocations: 7.938 kB / 1.228 GB, free: 14.59 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004165/0.9787, allocations: 108 kB / 1.228 GB, free: 14.49 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.56e-05/0.9788, allocations: 84.55 kB / 1.228 GB, free: 14.4 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004753/0.9835, allocations: 2.005 MB / 1.23 GB, free: 12.38 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.0209/1.004, allocations: 14.55 MB / 1.244 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002479/1.007, allocations: 1.471 MB / 1.246 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001347/1.008, allocations: 0.6747 MB / 1.246 GB, free: 10.68 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.008544/1.017, allocations: 5.074 MB / 1.251 GB, free: 5.055 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001507/1.018, allocations: 0.7709 MB / 1.252 GB, free: 4.266 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001461/1.02, allocations: 194.3 kB / 1.252 GB, free: 4.074 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=118): time 2.067e-05/1.02, allocations: 3.984 kB / 1.252 GB, free: 4.07 MB / 0.7761 GB Notification: Performance of matching and sorting (n=118): time 0.004817/1.025, allocations: 2.017 MB / 1.254 GB, free: 2.02 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.842e-05/1.025, allocations: 119.8 kB / 1.254 GB, free: 1.879 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006186/1.031, allocations: 2.974 MB / 1.257 GB, free: 14.92 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0003176/1.031, allocations: 69.69 kB / 1.257 GB, free: 14.85 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.002162/1.034, allocations: 1.707 MB / 1.259 GB, free: 13.12 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005984/1.034, allocations: 402.2 kB / 1.259 GB, free: 12.73 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002118/1.034, allocations: 44 kB / 1.26 GB, free: 12.68 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002039/1.035, allocations: 373.8 kB / 1.26 GB, free: 12.31 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001573/1.036, allocations: 0.6324 MB / 1.26 GB, free: 11.68 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002061/1.038, allocations: 1.293 MB / 1.262 GB, free: 10.11 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003187/1.042, allocations: 1.868 MB / 1.264 GB, free: 7.98 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.387e-05/1.042, allocations: 4 kB / 1.264 GB, free: 7.977 MB / 0.7917 GB Notification: Performance of matching and sorting (n=229) (initialization): time 0.005152/1.047, allocations: 2.314 MB / 1.266 GB, free: 5.637 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005595/1.047, allocations: 0.6803 MB / 1.267 GB, free: 4.695 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.602e-05/1.047, allocations: 16 kB / 1.267 GB, free: 4.68 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002609/1.048, allocations: 76.83 kB / 1.267 GB, free: 4.602 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001408/1.049, allocations: 379.4 kB / 1.267 GB, free: 4.23 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00176/1.051, allocations: 1.634 MB / 1.269 GB, free: 2.453 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003063/1.054, allocations: 296.2 kB / 1.269 GB, free: 2.164 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002599/1.054, allocations: 108 kB / 1.269 GB, free: 2.059 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 8.195e-06/1.054, allocations: 0 / 1.269 GB, free: 2.059 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003962/1.058, allocations: 1.995 MB / 1.271 GB, free: 48 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.541e-05/1.058, allocations: 28.12 kB / 1.271 GB, free: 20 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001763/1.058, allocations: 64.83 kB / 1.271 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001272/1.06, allocations: 379.4 kB / 1.271 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001589/1.061, allocations: 1.623 MB / 1.273 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002787/1.064, allocations: 300.2 kB / 1.273 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002277/1.064, allocations: 99.97 kB / 1.273 GB, free: 13.42 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.001883/1.066, allocations: 0.8831 MB / 1.274 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007827/1.067, allocations: 331.8 kB / 1.274 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004143/1.071, allocations: 1.907 MB / 1.276 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002444/1.074, allocations: 1.415 MB / 1.278 GB, free: 8.844 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.816e-06/1.074, allocations: 3.984 kB / 1.278 GB, free: 8.84 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001542/1.075, allocations: 0.6137 MB / 1.278 GB, free: 8.203 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007022/1.076, allocations: 31.94 kB / 1.278 GB, free: 8.172 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001939/1.078, allocations: 177.9 kB / 1.279 GB, free: 8.004 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001823/1.078, allocations: 89.12 kB / 1.279 GB, free: 7.914 MB / 0.8073 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003579/1.082, allocations: 1.816 MB / 1.28 GB, free: 6.09 MB / 0.8073 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004505/1.086, allocations: 2.794 MB / 1.283 GB, free: 3.273 MB / 0.8073 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001093/1.087, allocations: 0.6778 MB / 1.284 GB, free: 2.594 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.003773/1.091, allocations: 1.983 MB / 1.286 GB, free: 0.6289 MB / 0.8073 GB Notification: Performance of Backend: time 3.61e-07/1.091, allocations: 0 / 1.286 GB, free: 0.6289 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.008289/1.099, allocations: 3.477 MB / 1.289 GB, free: 13.09 MB / 0.823 GB Notification: Performance of SimCode: time 0.0168/1.116, allocations: 8.575 MB / 1.297 GB, free: 4.477 MB / 0.823 GB Notification: Performance of Templates: time 0.1149/1.231, allocations: 70.84 MB / 1.367 GB, free: 14.1 MB / 0.9011 GB make -j1 -f Buildings_8.0.0_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl.makefile (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 & ./Buildings_8.0.0_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl.pipe 2>&1)