Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.Examples.CouplingRCZ1Valve.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.Examples.CouplingRCZ1Valve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.Examples.CouplingRCZ1Valve") translateModel(Buildings.Experimental.DHC.Loads.Examples.CouplingRCZ1Valve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.Examples.CouplingRCZ1Valve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.636/1.636, allocations: 288.4 MB / 304.3 MB, free: 8.09 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.001215/0.001215, allocations: 172.6 kB / 372.9 MB, free: 10.14 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.385/1.385, allocations: 205.4 MB / 0.6316 GB, free: 9.875 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.0008072/0.0008069, allocations: 94 kB / 0.745 GB, free: 5.785 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003829/0.0003829, allocations: 11.91 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.2144, allocations: 115.3 MB / 0.9807 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Examples.CouplingRCZ1Valve): time 1.524/1.738, allocations: 0.5955 GB / 1.576 GB, free: 37.73 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.148/1.886, allocations: 118.1 MB / 1.692 GB, free: 0.7031 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02526/1.911, allocations: 0.4995 MB / 1.692 GB, free: 424 kB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.01956/1.931, allocations: 4.909 MB / 1.697 GB, free: 11.81 MB / 0.9636 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/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. [/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.04663/1.978, allocations: 13.98 MB / 1.71 GB, free: 14.82 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.02739/2.005, allocations: 8.346 MB / 1.719 GB, free: 6.504 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.04908/2.054, allocations: 39.01 MB / 1.757 GB, free: 15.41 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02739/2.082, allocations: 14.11 MB / 1.771 GB, free: 1.164 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02798/2.11, allocations: 12.18 MB / 1.782 GB, free: 4.934 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01747/2.127, allocations: 8.976 MB / 1.791 GB, free: 11.92 MB / 1.057 GB Notification: Performance of NFPackage.collectConstants: time 0.004744/2.132, allocations: 0.4961 MB / 1.792 GB, free: 11.42 MB / 1.057 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02132/2.153, allocations: 8.275 MB / 1.8 GB, free: 3.129 MB / 1.057 GB Notification: Performance of NFScalarize.scalarize: time 0.005878/2.159, allocations: 2.929 MB / 1.803 GB, free: 192 kB / 1.057 GB Notification: Performance of NFVerifyModel.verify: time 0.01362/2.173, allocations: 6.882 MB / 1.809 GB, free: 9.262 MB / 1.073 GB Notification: Performance of NFConvertDAE.convert: time 0.03113/2.204, allocations: 25.76 MB / 1.834 GB, free: 15.44 MB / 1.104 GB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/2.204, allocations: 0 / 1.834 GB, free: 15.44 MB / 1.104 GB Notification: Performance of FrontEnd: time 2.285e-06/2.204, allocations: 0 / 1.834 GB, free: 15.44 MB / 1.104 GB Notification: Performance of Transformations before backend: time 0.0007595/2.205, allocations: 0 / 1.834 GB, free: 15.44 MB / 1.104 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2475 * Number of variables: 2475 Notification: Performance of Generate backend data structure: time 0.03221/2.237, allocations: 13.49 MB / 1.848 GB, free: 1.812 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/2.237, allocations: 12.03 kB / 1.848 GB, free: 1.801 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.737/2.974, allocations: 5.161 MB / 1.853 GB, free: 478.2 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03072/3.005, allocations: 13.97 MB / 1.866 GB, free: 471.4 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003062/3.008, allocations: 1.208 MB / 1.868 GB, free: 471 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003182/3.011, allocations: 0.9937 MB / 1.868 GB, free: 470.7 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03169/3.043, allocations: 13.67 MB / 1.882 GB, free: 465 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000207/3.043, allocations: 21.81 kB / 1.882 GB, free: 465 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001299/3.044, allocations: 406.2 kB / 1.882 GB, free: 464.7 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003304/3.045, allocations: 357.5 kB / 1.883 GB, free: 464.7 MB / 1.104 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03493/3.08, allocations: 13.67 MB / 1.896 GB, free: 458.2 MB / 1.104 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.08456/3.164, allocations: 61.66 MB / 1.956 GB, free: 407.1 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0168/3.181, allocations: 7.992 MB / 1.964 GB, free: 401.7 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009711/3.191, allocations: 4.783 MB / 1.969 GB, free: 396.9 MB / 1.104 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.02818/3.219, allocations: 18.07 MB / 1.986 GB, free: 378.2 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00911/3.228, allocations: 4.924 MB / 1.991 GB, free: 373.2 MB / 1.104 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004559/3.233, allocations: 0.7556 MB / 1.992 GB, free: 372.5 MB / 1.104 GB Notification: Performance of pre-optimization done (n=550): time 1.328e-05/3.233, allocations: 0 / 1.992 GB, free: 372.5 MB / 1.104 GB Notification: Performance of matching and sorting (n=550): time 0.03148/3.264, allocations: 14.25 MB / 2.006 GB, free: 357.9 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.756e-05/3.265, allocations: 398.4 kB / 2.006 GB, free: 357.5 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01443/3.279, allocations: 10.77 MB / 2.017 GB, free: 346.7 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.001376/3.28, allocations: 157.7 kB / 2.017 GB, free: 346.6 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.004357/3.285, allocations: 6.095 MB / 2.023 GB, free: 340.5 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.001968/3.287, allocations: 1.866 MB / 2.025 GB, free: 338.6 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004723/3.287, allocations: 140 kB / 2.025 GB, free: 338.5 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.0002572/3.287, allocations: 0.5798 MB / 2.025 GB, free: 337.9 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008527/3.296, allocations: 4.082 MB / 2.029 GB, free: 333.8 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009554/3.306, allocations: 6.358 MB / 2.035 GB, free: 326.5 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01737/3.323, allocations: 10.04 MB / 2.045 GB, free: 315.7 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.69e-05/3.323, allocations: 16 kB / 2.045 GB, free: 315.7 MB / 1.104 GB Notification: Performance of matching and sorting (n=903) (initialization): time 0.02438/3.347, allocations: 11.94 MB / 2.057 GB, free: 303.6 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006633/3.348, allocations: 1.692 MB / 2.059 GB, free: 301.2 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.805e-05/3.348, allocations: 55.98 kB / 2.059 GB, free: 301.1 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001412/3.35, allocations: 0.608 MB / 2.059 GB, free: 300.5 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008534/3.358, allocations: 1.903 MB / 2.061 GB, free: 298.6 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008325/3.367, allocations: 11.71 MB / 2.073 GB, free: 286.1 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01228/3.379, allocations: 1.159 MB / 2.074 GB, free: 284.9 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001665/3.381, allocations: 363.8 kB / 2.074 GB, free: 284.6 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/3.381, allocations: 5.562 kB / 2.074 GB, free: 284.6 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02154/3.402, allocations: 10.78 MB / 2.085 GB, free: 273.7 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-05/3.402, allocations: 52 kB / 2.085 GB, free: 273.6 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001311/3.404, allocations: 0.6028 MB / 2.085 GB, free: 273 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008221/3.412, allocations: 1.872 MB / 2.087 GB, free: 271.1 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008667/3.42, allocations: 11.7 MB / 2.098 GB, free: 258.6 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01241/3.433, allocations: 1.13 MB / 2.1 GB, free: 257.5 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002091/3.435, allocations: 359.8 kB / 2.1 GB, free: 257.1 MB / 1.104 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 237 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition3,$PRE.bui.intGai.nextTimeEvent,bui.disFloCoo.conVal.fixMod.y,bui.disFloHea.conVal.fixMod.y,bui.disFloCoo.conVal.conTSup.con1.y,bui.disFloHea.conVal.conTSup.con1.y,bui.terUni.conCoo.con1.y,bui.terUni.conHea.con1.y,$whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,bui.intGai.nextTimeEvent,$PRE.bui.intGai.nextTimeEventScaled,bui.intGai.nextTimeEventScaled,bui.terUni.hexHea.flowRegime,bui.terUni.hexCoo.flowRegime,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile,bui.terUni.hexHea.flowRegime_nominal,bui.terUni.hexCoo.flowRegime_nominal,bui.disFloCoo.conVal.conTSup.cheYMinMax.y,bui.disFloHea.conVal.conTSup.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (857): * Single equations (assignments): 848 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 9,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 4,(1,100.0%) 4,(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008954/3.444, allocations: 3.441 MB / 2.103 GB, free: 253.7 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003023/3.447, allocations: 1.099 MB / 2.104 GB, free: 252.6 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.025/3.472, allocations: 10.89 MB / 2.115 GB, free: 241.6 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01824/3.49, allocations: 8.446 MB / 2.123 GB, free: 233 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.341e-05/3.49, allocations: 4 kB / 2.123 GB, free: 233 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006678/3.497, allocations: 2.485 MB / 2.126 GB, free: 230.5 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003163/3.5, allocations: 121.3 kB / 2.126 GB, free: 230.3 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009843/3.51, allocations: 0.9686 MB / 2.127 GB, free: 229.4 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009705/3.511, allocations: 383.9 kB / 2.127 GB, free: 229 MB / 1.104 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02397/3.535, allocations: 10.23 MB / 2.137 GB, free: 218.8 MB / 1.104 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.03182/3.567, allocations: 15.55 MB / 2.152 GB, free: 203.1 MB / 1.104 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.009025/3.576, allocations: 4.349 MB / 2.156 GB, free: 198.7 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.01336/3.589, allocations: 7.345 MB / 2.164 GB, free: 191.4 MB / 1.104 GB Notification: Performance of Backend: time 1.352e-06/3.59, allocations: 3.844 kB / 2.164 GB, free: 191.4 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.04293/3.632, allocations: 16.49 MB / 2.18 GB, free: 175.5 MB / 1.104 GB Notification: Performance of SimCode: time 0.0534/3.686, allocations: 29.46 MB / 2.209 GB, free: 146 MB / 1.104 GB Notification: Performance of Templates: time 0.7553/4.441, allocations: 260.7 MB / 2.463 GB, free: 386.9 MB / 1.104 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.Examples.CouplingRCZ1Valve.makefile (rm -f Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.Examples.CouplingRCZ1Valve.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.Examples.CouplingRCZ1Valve.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.Examples.CouplingRCZ1Valve.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.Examples.CouplingRCZ1Valve.sim & ./Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.Examples.CouplingRCZ1Valve -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Experimental.DHC.Loads.Examples.CouplingRCZ1Valve.pipe 2>&1)