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.728/4.728, allocations: 0.5623 GB / 0.5769 GB, free: 66.97 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00266/0.00266, allocations: 358.2 kB / 0.644 GB, free: 21.52 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.107/4.107, allocations: 410.7 MB / 1.112 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001783/0.001783, allocations: 186.6 kB / 1.225 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0008456/0.0008459, allocations: 12.88 kB / 1.348 GB, free: 320.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1657, allocations: 115.3 MB / 1.461 GB, free: 220.7 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Controls.Validation.MixingValveControl): time 0.1615/0.3273, allocations: 163.6 MB / 1.621 GB, free: 56.89 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.05646/0.3838, allocations: 38.78 MB / 1.658 GB, free: 18.04 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007341/0.3912, allocations: 182.8 kB / 1.659 GB, free: 17.86 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.007699/0.3989, allocations: 2.104 MB / 1.661 GB, free: 15.74 MB / 0.8073 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.02082/0.4198, allocations: 6.501 MB / 1.667 GB, free: 9.207 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.02152/0.4413, allocations: 6.574 MB / 1.673 GB, free: 2.773 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.6001/1.041, allocations: 12.28 MB / 1.685 GB, free: 49.42 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006165/1.048, allocations: 2.773 MB / 1.688 GB, free: 49.16 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008769/1.056, allocations: 3.314 MB / 1.691 GB, free: 49.16 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006097/1.063, allocations: 2.658 MB / 1.694 GB, free: 49.16 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.001226/1.064, allocations: 141 kB / 1.694 GB, free: 49.16 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007403/1.071, allocations: 1.774 MB / 1.696 GB, free: 49.16 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.001889/1.073, allocations: 0.7469 MB / 1.697 GB, free: 49.16 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.002192/1.075, allocations: 0.8848 MB / 1.697 GB, free: 49.13 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.009246/1.085, allocations: 5.738 MB / 1.703 GB, free: 48.79 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 6.136e-06/1.085, allocations: 6.875 kB / 1.703 GB, free: 48.79 MB / 0.8073 GB Notification: Performance of FrontEnd: time 3.076e-06/1.085, allocations: 0 / 1.703 GB, free: 48.79 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0001594/1.085, allocations: 0 / 1.703 GB, free: 48.79 MB / 0.8073 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.009219/1.094, allocations: 3.95 MB / 1.707 GB, free: 46.76 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/1.094, allocations: 11 kB / 1.707 GB, free: 46.76 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002495/1.097, allocations: 0.5536 MB / 1.707 GB, free: 46.53 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009708/1.106, allocations: 3.612 MB / 1.711 GB, free: 45.9 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006923/1.107, allocations: 271.8 kB / 1.711 GB, free: 45.89 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007704/1.108, allocations: 272.1 kB / 1.711 GB, free: 45.88 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007189/1.115, allocations: 2.737 MB / 1.714 GB, free: 45.45 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.958e-05/1.115, allocations: 8.375 kB / 1.714 GB, free: 45.45 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003364/1.116, allocations: 107.2 kB / 1.714 GB, free: 45.45 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001147/1.116, allocations: 92.75 kB / 1.714 GB, free: 45.45 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006192/1.122, allocations: 1.999 MB / 1.716 GB, free: 45.41 MB / 0.8073 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.02317/1.145, allocations: 14.53 MB / 1.73 GB, free: 38.05 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003251/1.149, allocations: 1.467 MB / 1.732 GB, free: 37.73 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001803/1.15, allocations: 0.6875 MB / 1.733 GB, free: 37.71 MB / 0.8073 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.009202/1.16, allocations: 5.063 MB / 1.737 GB, free: 34.68 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001765/1.161, allocations: 0.7807 MB / 1.738 GB, free: 34.6 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001638/1.163, allocations: 201.5 kB / 1.738 GB, free: 34.51 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=118): time 5.932e-06/1.163, allocations: 0 / 1.738 GB, free: 34.51 MB / 0.8073 GB Notification: Performance of matching and sorting (n=118): time 0.005746/1.169, allocations: 2.02 MB / 1.74 GB, free: 34.18 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.249e-05/1.169, allocations: 116.5 kB / 1.741 GB, free: 34.05 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005915/1.175, allocations: 2.978 MB / 1.743 GB, free: 33.79 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0004122/1.175, allocations: 60.3 kB / 1.744 GB, free: 33.76 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001978/1.177, allocations: 1.716 MB / 1.745 GB, free: 33.23 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.000579/1.178, allocations: 404.8 kB / 1.746 GB, free: 32.98 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001807/1.178, allocations: 39.75 kB / 1.746 GB, free: 32.98 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001403/1.178, allocations: 378.2 kB / 1.746 GB, free: 32.68 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001838/1.18, allocations: 0.619 MB / 1.747 GB, free: 32.67 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002408/1.183, allocations: 1.29 MB / 1.748 GB, free: 31.91 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002252/1.185, allocations: 0.854 MB / 1.749 GB, free: 31.81 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.611e-05/1.185, allocations: 6.188 kB / 1.749 GB, free: 31.81 MB / 0.8073 GB Notification: Performance of matching and sorting (n=229) (initialization): time 0.009136/1.194, allocations: 2.314 MB / 1.751 GB, free: 31.49 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006221/1.195, allocations: 0.6806 MB / 1.752 GB, free: 30.67 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-05/1.195, allocations: 17.91 kB / 1.752 GB, free: 30.67 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005137/1.195, allocations: 69.22 kB / 1.752 GB, free: 30.66 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004565/1.2, allocations: 389.9 kB / 1.752 GB, free: 30.66 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00343/1.204, allocations: 1.616 MB / 1.754 GB, free: 29.26 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008547/1.212, allocations: 303.5 kB / 1.754 GB, free: 29.23 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000972/1.213, allocations: 104 kB / 1.754 GB, free: 29.23 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/1.213, allocations: 3.656 kB / 1.754 GB, free: 29.23 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01107/1.224, allocations: 2.005 MB / 1.756 GB, free: 29.1 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.082e-05/1.224, allocations: 16 kB / 1.756 GB, free: 29.1 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003908/1.225, allocations: 68.19 kB / 1.756 GB, free: 29.09 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004165/1.229, allocations: 380.2 kB / 1.756 GB, free: 29.09 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003221/1.232, allocations: 1.625 MB / 1.758 GB, free: 27.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008001/1.24, allocations: 296.2 kB / 1.758 GB, free: 27.65 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008669/1.241, allocations: 101 kB / 1.758 GB, free: 27.65 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.005002/1.246, allocations: 0.8865 MB / 1.759 GB, free: 27.44 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001566/1.248, allocations: 339.5 kB / 1.76 GB, free: 27.27 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01062/1.259, allocations: 1.909 MB / 1.761 GB, free: 27.11 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.846e-05/1.259, allocations: 21.23 kB / 1.761 GB, free: 27.11 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.795e-05/1.259, allocations: 2.531 kB / 1.761 GB, free: 27.11 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006811/1.266, allocations: 1.411 MB / 1.763 GB, free: 26.82 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01473/1.28, allocations: 4.679 MB / 1.767 GB, free: 25.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-05/1.281, allocations: 3.281 kB / 1.767 GB, free: 25.79 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001421/1.282, allocations: 231.9 kB / 1.768 GB, free: 25.75 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002086/1.282, allocations: 48.66 kB / 1.768 GB, free: 25.73 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001484/1.282, allocations: 44.56 kB / 1.768 GB, free: 25.73 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001516/1.284, allocations: 1.603 MB / 1.769 GB, free: 24.27 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/1.284, allocations: 3.312 kB / 1.769 GB, free: 24.27 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005944/1.29, allocations: 2.753 MB / 1.772 GB, free: 23.41 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001952/1.292, allocations: 0.6161 MB / 1.773 GB, free: 23.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008297/1.293, allocations: 30.38 kB / 1.773 GB, free: 23.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002812/1.296, allocations: 180.6 kB / 1.773 GB, free: 22.98 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002791/1.296, allocations: 102.6 kB / 1.773 GB, free: 22.94 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002214/1.296, allocations: 58.53 kB / 1.773 GB, free: 22.93 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.00464/1.301, allocations: 1.983 MB / 1.775 GB, free: 22.47 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.134e-06/1.301, allocations: 4 kB / 1.775 GB, free: 22.46 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.009247/1.31, allocations: 1.827 MB / 1.777 GB, free: 22.17 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 8 (disFlo.val.vol.dynBal.U,disFlo.heaCoo.vol.dynBal.U,disFlo.spl.vol.dynBal.U,disFlo.conVal.resConTSup.I.y,disFlo.senTSup.T,senTSecSup.T,senTSecRet.T,senTPriSup.T) * Number of discrete variables: 12 (disFlo.conVal.cha.y,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,disFlo.conVal.toBoo.y,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 (131): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * When equations: 2 * 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 Backend phase and start with SimCode phase: time 0.002112/1.312, allocations: 0.8291 MB / 1.777 GB, free: 21.86 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.007179/1.319, allocations: 3.111 MB / 1.781 GB, free: 21.05 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.156e-05/1.319, allocations: 2.75 kB / 1.781 GB, free: 21.05 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.00187/1.321, allocations: 0.8228 MB / 1.781 GB, free: 20.85 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01002/1.331, allocations: 1.652 MB / 1.783 GB, free: 20.35 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01445/1.346, allocations: 7.255 MB / 1.79 GB, free: 16.28 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002828/1.349, allocations: 2.162 MB / 1.792 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.004744/1.354, allocations: 0.7447 MB / 1.793 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009677/1.355, allocations: 247.1 kB / 1.793 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of SimCode: time 2.68e-06/1.355, allocations: 0 / 1.793 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of Templates: time 0.1618/1.516, allocations: 64.01 MB / 1.856 GB, free: 1.309 MB / 0.8542 GB