Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Experimental.DHC.Loads.Examples.CouplingRCZ1Valve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Experimental.DHC.Loads.Examples.CouplingRCZ1Valve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.Loads.Examples.CouplingRCZ1Valve") translateModel(Buildings.Experimental.DHC.Loads.Examples.CouplingRCZ1Valve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.Loads.Examples.CouplingRCZ1Valve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.557/1.557, allocations: 292.3 MB / 308.1 MB, free: 4.262 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.001276/0.001276, allocations: 188.5 kB / 376.9 MB, free: 1.777 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.345/1.345, allocations: 205 MB / 0.6354 GB, free: 9.762 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009693/0.0009694, allocations: 105.1 kB / 0.748 GB, free: 61.23 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001124/0.001124, allocations: 47.92 kB / 0.8704 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2323, allocations: 114.6 MB / 0.9822 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Examples.CouplingRCZ1Valve): time 1.586/1.818, allocations: 0.6434 GB / 1.626 GB, free: 9.301 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.1669/1.985, allocations: 125.9 MB / 1.749 GB, free: 13.42 MB / 1.089 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03366/2.019, allocations: 0.5279 MB / 1.749 GB, free: 12.89 MB / 1.089 GB Notification: Performance of NFTyping.typeComponents: time 0.02329/2.042, allocations: 6.084 MB / 1.755 GB, free: 6.777 MB / 1.089 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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‘. Notification: Performance of NFTyping.typeBindings: time 0.05372/2.096, allocations: 16.34 MB / 1.771 GB, free: 6.391 MB / 1.104 GB Notification: Performance of NFTyping.typeClassSections: time 0.03189/2.128, allocations: 12.1 MB / 1.783 GB, free: 10.3 MB / 1.12 GB Notification: Performance of NFFlatten.flatten: time 0.8195/2.948, allocations: 44.87 MB / 1.827 GB, free: 20.34 MB / 1.135 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0319/2.98, allocations: 14.77 MB / 1.841 GB, free: 18.38 MB / 1.135 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03762/3.017, allocations: 13.45 MB / 1.854 GB, free: 18.18 MB / 1.135 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02512/3.042, allocations: 10.3 MB / 1.864 GB, free: 16.34 MB / 1.135 GB Notification: Performance of NFPackage.collectConstants: time 0.00763/3.05, allocations: 0.7634 MB / 1.865 GB, free: 16.34 MB / 1.135 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02804/3.078, allocations: 8.845 MB / 1.874 GB, free: 16.33 MB / 1.135 GB Notification: Performance of NFScalarize.scalarize: time 0.009108/3.087, allocations: 3.47 MB / 1.877 GB, free: 15.76 MB / 1.135 GB Notification: Performance of NFVerifyModel.verify: time 0.01973/3.107, allocations: 7.723 MB / 1.885 GB, free: 13.49 MB / 1.135 GB Notification: Performance of NFConvertDAE.convert: time 0.0432/3.15, allocations: 31.2 MB / 1.915 GB, free: 11.02 MB / 1.135 GB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/3.15, allocations: 4 kB / 1.915 GB, free: 11.02 MB / 1.135 GB Notification: Performance of FrontEnd: time 1.422e-06/3.15, allocations: 2.969 kB / 1.915 GB, free: 11.02 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.0009461/3.151, allocations: 0 / 1.915 GB, free: 11.02 MB / 1.135 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.05237/3.204, allocations: 16.68 MB / 1.931 GB, free: 3.465 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/3.204, allocations: 13.42 kB / 1.931 GB, free: 3.461 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02544/3.229, allocations: 4.893 MB / 1.936 GB, free: 1.184 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03974/3.269, allocations: 14.01 MB / 1.95 GB, free: 12.52 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002825/3.272, allocations: 1.146 MB / 1.951 GB, free: 12.34 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004641/3.277, allocations: 0.9856 MB / 1.952 GB, free: 12.34 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04456/3.321, allocations: 13.6 MB / 1.965 GB, free: 8.602 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004956/3.322, allocations: 16.62 kB / 1.965 GB, free: 8.602 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004361/3.326, allocations: 410.9 kB / 1.966 GB, free: 8.598 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003815/3.326, allocations: 355.7 kB / 1.966 GB, free: 8.574 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03744/3.364, allocations: 13.46 MB / 1.979 GB, free: 6.039 MB / 1.151 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.1228/3.487, allocations: 61.2 MB / 2.039 GB, free: 10.33 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0199/3.507, allocations: 7.841 MB / 2.046 GB, free: 4.984 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01183/3.519, allocations: 4.7 MB / 2.051 GB, free: 280 kB / 1.198 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.04351/3.562, allocations: 17.85 MB / 2.069 GB, free: 13.83 MB / 1.229 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01444/3.577, allocations: 4.83 MB / 2.073 GB, free: 8.91 MB / 1.229 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007651/3.584, allocations: 0.7679 MB / 2.074 GB, free: 8.137 MB / 1.229 GB Notification: Performance of pre-optimization done (n=548): time 2.083e-05/3.584, allocations: 0 / 2.074 GB, free: 8.137 MB / 1.229 GB Notification: Performance of matching and sorting (n=548): time 0.04812/3.633, allocations: 13.97 MB / 2.088 GB, free: 9.902 MB / 1.245 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002292/3.633, allocations: 390.3 kB / 2.088 GB, free: 9.438 MB / 1.245 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02958/3.662, allocations: 10.82 MB / 2.099 GB, free: 14.66 MB / 1.26 GB Notification: Performance of collectPreVariables (initialization): time 0.002199/3.665, allocations: 153.7 kB / 2.099 GB, free: 14.5 MB / 1.26 GB Notification: Performance of collectInitialEqns (initialization): time 0.009609/3.674, allocations: 6.117 MB / 2.105 GB, free: 8.391 MB / 1.26 GB Notification: Performance of collectInitialBindings (initialization): time 0.00367/3.678, allocations: 1.868 MB / 2.106 GB, free: 6.539 MB / 1.26 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008213/3.686, allocations: 1.522 MB / 2.108 GB, free: 5.012 MB / 1.26 GB Notification: Performance of setup shared object (initialization): time 0.0001039/3.686, allocations: 301.1 kB / 2.108 GB, free: 4.715 MB / 1.26 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01154/3.698, allocations: 4.094 MB / 2.112 GB, free: 0.6133 MB / 1.26 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01438/3.712, allocations: 6.313 MB / 2.118 GB, free: 9.422 MB / 1.276 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02525/3.738, allocations: 9.998 MB / 2.128 GB, free: 14.84 MB / 1.292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.252e-05/3.738, allocations: 12 kB / 2.128 GB, free: 14.83 MB / 1.292 GB Notification: Performance of matching and sorting (n=901) (initialization): time 0.03743/3.775, allocations: 11.9 MB / 2.14 GB, free: 3.121 MB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 9.85e-05/3.775, allocations: 29.56 kB / 2.14 GB, free: 3.094 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001215/3.775, allocations: 52.88 kB / 2.14 GB, free: 3.043 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001813/3.777, allocations: 0.6089 MB / 2.14 GB, free: 2.422 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0102/3.788, allocations: 1.856 MB / 2.142 GB, free: 0.6641 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01219/3.8, allocations: 11.71 MB / 2.154 GB, free: 4.227 MB / 1.307 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01499/3.815, allocations: 1.086 MB / 2.155 GB, free: 3.145 MB / 1.307 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00282/3.818, allocations: 361 kB / 2.155 GB, free: 2.793 MB / 1.307 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02187/3.84, allocations: 7.006 MB / 2.162 GB, free: 11.78 MB / 1.323 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01477/3.854, allocations: 6.198 MB / 2.168 GB, free: 4.695 MB / 1.323 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02583/3.88, allocations: 9.794 MB / 2.178 GB, free: 10.32 MB / 1.339 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.233e-05/3.88, allocations: 16 kB / 2.178 GB, free: 10.3 MB / 1.339 GB Notification: Performance of matching and sorting (n=901) (initialization_lambda0): time 0.03915/3.92, allocations: 11.7 MB / 2.189 GB, free: 14.79 MB / 1.354 GB Notification: Performance of prepare postOptimizeDAE: time 9.351e-05/3.92, allocations: 28 kB / 2.189 GB, free: 14.77 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001193/3.92, allocations: 52 kB / 2.189 GB, free: 14.71 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001715/3.922, allocations: 0.6158 MB / 2.19 GB, free: 14.09 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009925/3.931, allocations: 1.821 MB / 2.192 GB, free: 12.36 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01247/3.944, allocations: 11.73 MB / 2.203 GB, free: 15.92 MB / 1.37 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01567/3.96, allocations: 1.078 MB / 2.204 GB, free: 14.85 MB / 1.37 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002881/3.963, allocations: 355.8 kB / 2.204 GB, free: 14.5 MB / 1.37 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 ($PRE.bui.intGai.nextTimeEvent,$whenCondition3,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,bui.terUni.hexCoo.flowRegime_nominal,bui.terUni.hexHea.flowRegime_nominal,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,bui.terUni.hexCoo.flowRegime,bui.terUni.hexHea.flowRegime,bui.intGai.nextTimeEventScaled,$PRE.bui.intGai.nextTimeEventScaled,bui.intGai.nextTimeEvent,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2,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 (855): * Single equations (assignments): 846 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,9,100.0%), (1,2,100.0%), (1,2,100.0%), (1,4,100.0%), (1,4,100.0%), (2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00521/3.968, allocations: 0.64 MB / 2.205 GB, free: 13.96 MB / 1.37 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005516/3.973, allocations: 1.092 MB / 2.206 GB, free: 12.85 MB / 1.37 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03814/4.012, allocations: 10.72 MB / 2.217 GB, free: 2.023 MB / 1.37 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001154/4.012, allocations: 59.98 kB / 2.217 GB, free: 1.965 MB / 1.37 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.696e-05/4.012, allocations: 8 kB / 2.217 GB, free: 1.957 MB / 1.37 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0271/4.039, allocations: 8.282 MB / 2.225 GB, free: 9.551 MB / 1.385 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 postOpt removeSimpleEquations (simulation): time 0.06972/4.109, allocations: 23.22 MB / 2.247 GB, free: 2.242 MB / 1.401 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-05/4.109, allocations: 11.98 kB / 2.247 GB, free: 2.23 MB / 1.401 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007241/4.116, allocations: 1.311 MB / 2.249 GB, free: 0.9688 MB / 1.401 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001588/4.118, allocations: 0.5303 MB / 2.249 GB, free: 432 kB / 1.401 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001568/4.119, allocations: 167.9 kB / 2.249 GB, free: 264 kB / 1.401 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01174/4.131, allocations: 12.8 MB / 2.262 GB, free: 2.574 MB / 1.417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/4.131, allocations: 4 kB / 2.262 GB, free: 2.57 MB / 1.417 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/Differentiate.mo:267:5-267:157:writable] Error: Derivative of expression "bui.terUni.hexCoo.flowRegime = if bui.terUni.hexCoo.C1_flow * bui.terUni.hexCoo.C2_flow >= 0.0 then Buildings.Fluid.Types.HeatExchangerFlowRegime.CounterFlow else Buildings.Fluid.Types.HeatExchangerFlowRegime.ParallelFlow" w.r.t. "dummyVarA" is non-existent. Error: Internal error SymbolicJacobian.deriveAll failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2440:7-2440:87:writable] Error: Internal error function generateSymbolicJacobian failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2231:9-2231:79:writable] Error: Internal error function createJacobian failed Notification: Performance of postOpt symbolicJacobian (simulation): time 0.162/4.293, allocations: 44.63 MB / 2.305 GB, free: 5.504 MB / 1.464 GB Error: post-optimization module symbolicJacobian (simulation) failed.