Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.821/4.821, allocations: 0.5623 GB / 0.5776 GB, free: 3.371 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002552/0.002551, allocations: 357.6 kB / 0.6447 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.308/4.308, allocations: 410.7 MB / 1.113 GB, free: 5.996 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002874/0.002874, allocations: 179.6 kB / 1.226 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004941/0.0004943, allocations: 8 kB / 1.349 GB, free: 8.285 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7126/0.7131, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl): time 0.1885/0.9017, allocations: 163.6 MB / 1.621 GB, free: 120.7 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.06952/0.9713, allocations: 38.79 MB / 1.659 GB, free: 81.82 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008424/0.9798, allocations: 186.7 kB / 1.659 GB, free: 81.64 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.009958/0.9898, allocations: 2.104 MB / 1.661 GB, free: 79.52 MB / 0.8542 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/Experimental/DHC/Loads/FlowDistribution.mo:186:18-186:29:writable] Warning: 'each' used when modifying non-array element y. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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.02511/1.015, allocations: 6.494 MB / 1.668 GB, free: 73 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.02512/1.04, allocations: 6.59 MB / 1.674 GB, free: 66.62 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.01811/1.058, allocations: 12.29 MB / 1.686 GB, free: 54.3 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005935/1.064, allocations: 2.781 MB / 1.689 GB, free: 51.55 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009274/1.074, allocations: 3.312 MB / 1.692 GB, free: 48.22 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005837/1.079, allocations: 2.66 MB / 1.695 GB, free: 45.55 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.001016/1.08, allocations: 140 kB / 1.695 GB, free: 45.41 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007235/1.088, allocations: 1.769 MB / 1.696 GB, free: 43.64 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.001717/1.089, allocations: 0.7467 MB / 1.697 GB, free: 42.89 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.001721/1.091, allocations: 0.8823 MB / 1.698 GB, free: 42 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.009353/1.101, allocations: 5.732 MB / 1.704 GB, free: 36.25 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 8.436e-06/1.101, allocations: 8 kB / 1.704 GB, free: 36.24 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.855e-06/1.101, allocations: 4 kB / 1.704 GB, free: 36.24 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001796/1.101, allocations: 3.938 kB / 1.704 GB, free: 36.23 MB / 0.8542 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.01034/1.111, allocations: 3.956 MB / 1.707 GB, free: 32.18 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/1.111, allocations: 11.62 kB / 1.707 GB, free: 32.18 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002714/1.114, allocations: 0.557 MB / 1.708 GB, free: 31.61 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009886/1.124, allocations: 3.599 MB / 1.712 GB, free: 27.95 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000808/1.125, allocations: 269.3 kB / 1.712 GB, free: 27.68 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007236/1.126, allocations: 271.9 kB / 1.712 GB, free: 27.42 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007075/1.133, allocations: 2.746 MB / 1.715 GB, free: 24.52 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.985e-05/1.133, allocations: 7.938 kB / 1.715 GB, free: 24.51 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003265/1.133, allocations: 100 kB / 1.715 GB, free: 24.41 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.937e-05/1.133, allocations: 88.55 kB / 1.715 GB, free: 24.32 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006138/1.139, allocations: 2.005 MB / 1.717 GB, free: 22.3 MB / 0.8542 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.02425/1.164, allocations: 14.53 MB / 1.731 GB, free: 6.82 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003668/1.167, allocations: 1.464 MB / 1.733 GB, free: 5.297 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001881/1.169, allocations: 0.6786 MB / 1.733 GB, free: 4.621 MB / 0.8542 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.6544/1.824, allocations: 5.071 MB / 1.738 GB, free: 265.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002293/1.826, allocations: 0.7775 MB / 1.739 GB, free: 265.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001746/1.828, allocations: 192.5 kB / 1.739 GB, free: 265.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=118): time 5.761e-06/1.828, allocations: 0 / 1.739 GB, free: 265.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=118): time 0.00704/1.835, allocations: 2.014 MB / 1.741 GB, free: 264.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.428e-05/1.835, allocations: 119.3 kB / 1.741 GB, free: 264.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007091/1.842, allocations: 2.978 MB / 1.744 GB, free: 263.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0004245/1.843, allocations: 58.2 kB / 1.744 GB, free: 263.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.002188/1.845, allocations: 1.713 MB / 1.746 GB, free: 262.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006911/1.846, allocations: 406.8 kB / 1.746 GB, free: 261.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001615/1.846, allocations: 39.91 kB / 1.746 GB, free: 261.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001633/1.846, allocations: 375.5 kB / 1.747 GB, free: 261.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002244/1.848, allocations: 0.6248 MB / 1.747 GB, free: 261.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002883/1.851, allocations: 1.29 MB / 1.748 GB, free: 260.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002705/1.854, allocations: 0.8527 MB / 1.749 GB, free: 259.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.317e-05/1.854, allocations: 3.969 kB / 1.749 GB, free: 259.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=229) (initialization): time 0.007774/1.862, allocations: 2.316 MB / 1.752 GB, free: 258.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004534/1.862, allocations: 0.6775 MB / 1.752 GB, free: 257.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.208e-05/1.862, allocations: 20.19 kB / 1.752 GB, free: 257.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003143/1.862, allocations: 67.72 kB / 1.752 GB, free: 257.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002843/1.865, allocations: 392.4 kB / 1.753 GB, free: 257.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001953/1.867, allocations: 1.616 MB / 1.754 GB, free: 256.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004766/1.872, allocations: 305.5 kB / 1.755 GB, free: 256.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005134/1.873, allocations: 105 kB / 1.755 GB, free: 256.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/1.873, allocations: 4.25 kB / 1.755 GB, free: 256.2 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006602/1.879, allocations: 2.001 MB / 1.757 GB, free: 255.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.639e-05/1.879, allocations: 20.97 kB / 1.757 GB, free: 255.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002505/1.88, allocations: 68.88 kB / 1.757 GB, free: 255.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00273/1.882, allocations: 384 kB / 1.757 GB, free: 255.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001833/1.884, allocations: 1.619 MB / 1.759 GB, free: 253.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004587/1.889, allocations: 296.1 kB / 1.759 GB, free: 253.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004307/1.889, allocations: 100.2 kB / 1.759 GB, free: 253.8 MB / 0.8542 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.002398/1.892, allocations: 0.8821 MB / 1.76 GB, free: 253.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008719/1.893, allocations: 334 kB / 1.76 GB, free: 253 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00576/1.898, allocations: 1.913 MB / 1.762 GB, free: 252.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003624/1.902, allocations: 1.413 MB / 1.763 GB, free: 251.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-05/1.902, allocations: 3.688 kB / 1.763 GB, free: 251.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001889/1.904, allocations: 0.6169 MB / 1.764 GB, free: 251.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007365/1.905, allocations: 27.66 kB / 1.764 GB, free: 251.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002887/1.908, allocations: 168 kB / 1.764 GB, free: 251.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002836/1.908, allocations: 90.12 kB / 1.764 GB, free: 251.1 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005634/1.914, allocations: 1.813 MB / 1.766 GB, free: 250.3 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.007244/1.921, allocations: 2.801 MB / 1.769 GB, free: 248.6 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002194/1.923, allocations: 0.6799 MB / 1.769 GB, free: 248.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.005099/1.928, allocations: 1.98 MB / 1.771 GB, free: 246.7 MB / 0.8542 GB Notification: Performance of Backend: time 7.92e-07/1.928, allocations: 1.062 kB / 1.771 GB, free: 246.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01065/1.939, allocations: 3.489 MB / 1.775 GB, free: 243.4 MB / 0.8542 GB Notification: Performance of SimCode: time 0.02333/1.962, allocations: 8.585 MB / 1.783 GB, free: 235.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.1663/2.129, allocations: 70.73 MB / 1.852 GB, free: 165.6 MB / 0.8542 GB