Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Experimental.DHC.Loads.Validation.BenchmarkFlowDistribution2.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.Validation.BenchmarkFlowDistribution2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.Loads.Validation.BenchmarkFlowDistribution2") translateModel(Buildings.Experimental.DHC.Loads.Validation.BenchmarkFlowDistribution2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.Loads.Validation.BenchmarkFlowDistribution2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.549/1.549, allocations: 292.3 MB / 308.1 MB, free: 4.281 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.001203/0.001203, allocations: 185.5 kB / 376.9 MB, free: 1.789 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.31/1.31, allocations: 205 MB / 0.6354 GB, free: 9.781 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.0008614/0.0008615, allocations: 102.8 kB / 0.748 GB, free: 61.25 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000995/0.000995, allocations: 47.92 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.2556, allocations: 114.5 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Validation.BenchmarkFlowDistribution2): time 1.635/1.891, allocations: 0.4964 GB / 1.479 GB, free: 21.04 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.08438/1.976, allocations: 65.2 MB / 1.542 GB, free: 17.24 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0119/1.988, allocations: 227.2 kB / 1.543 GB, free: 17.24 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.009908/1.998, allocations: 2.848 MB / 1.545 GB, free: 16.49 MB / 0.9323 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Experimental/DHC/Loads/BaseClasses/getPeakLoad.mo:2:1-99:16:writable] Warning: Pure function ‘Buildings.Experimental.DHC.Loads.BaseClasses.getPeakLoad‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. Notification: Performance of NFTyping.typeBindings: time 0.02389/2.021, allocations: 8.307 MB / 1.553 GB, free: 12.93 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.01601/2.037, allocations: 5.448 MB / 1.559 GB, free: 9.559 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.1575/2.195, allocations: 84.38 MB / 1.641 GB, free: 448 kB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03454/2.23, allocations: 24.21 MB / 1.665 GB, free: 8.391 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03955/2.269, allocations: 17.75 MB / 1.682 GB, free: 7.309 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0347/2.304, allocations: 17.08 MB / 1.699 GB, free: 7.523 MB / 1.057 GB Notification: Performance of NFPackage.collectConstants: time 0.007729/2.312, allocations: 1.086 MB / 1.7 GB, free: 6.438 MB / 1.057 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02702/2.339, allocations: 6.733 MB / 1.706 GB, free: 140 kB / 1.057 GB Notification: Performance of NFScalarize.scalarize: time 0.0137/2.352, allocations: 5.321 MB / 1.712 GB, free: 10.89 MB / 1.073 GB Notification: Performance of NFVerifyModel.verify: time 0.03059/2.383, allocations: 12.17 MB / 1.723 GB, free: 14.79 MB / 1.089 GB Notification: Performance of NFConvertDAE.convert: time 0.05979/2.443, allocations: 44.29 MB / 1.767 GB, free: 3.484 MB / 1.12 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/2.443, allocations: 4 kB / 1.767 GB, free: 3.48 MB / 1.12 GB Notification: Performance of FrontEnd: time 1.272e-06/2.443, allocations: 0 / 1.767 GB, free: 3.48 MB / 1.12 GB Notification: Performance of Transformations before backend: time 0.001558/2.444, allocations: 0 / 1.767 GB, free: 3.48 MB / 1.12 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3436 * Number of variables: 3436 Notification: Performance of Generate backend data structure: time 0.08343/2.528, allocations: 26.94 MB / 1.793 GB, free: 8.645 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.528e-05/2.528, allocations: 8.031 kB / 1.793 GB, free: 8.637 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0385/2.566, allocations: 6.683 MB / 1.8 GB, free: 1.93 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8972/3.464, allocations: 26.08 MB / 1.825 GB, free: 453.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00691/3.471, allocations: 2.313 MB / 1.827 GB, free: 452.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00697/3.478, allocations: 1.419 MB / 1.829 GB, free: 452.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06339/3.541, allocations: 22.62 MB / 1.851 GB, free: 443.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000692/3.542, allocations: 37.53 kB / 1.851 GB, free: 443.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005309/3.547, allocations: 0.5594 MB / 1.851 GB, free: 443.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000501/3.548, allocations: 0.5072 MB / 1.852 GB, free: 443.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05086/3.599, allocations: 21.12 MB / 1.872 GB, free: 437.2 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.1831/3.782, allocations: 104.8 MB / 1.975 GB, free: 362.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02816/3.81, allocations: 12.51 MB / 1.987 GB, free: 355.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01419/3.824, allocations: 6.835 MB / 1.994 GB, free: 348.8 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 evalFunc (simulation): time 0.05368/3.878, allocations: 19.67 MB / 2.013 GB, free: 329 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01848/3.896, allocations: 7.144 MB / 2.02 GB, free: 321.8 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01201/3.908, allocations: 0.9489 MB / 2.021 GB, free: 320.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=593): time 1.925e-05/3.909, allocations: 0 / 2.021 GB, free: 320.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=593): time 0.05616/3.965, allocations: 20.69 MB / 2.041 GB, free: 300.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/3.965, allocations: 296 kB / 2.041 GB, free: 299.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04618/4.011, allocations: 21.75 MB / 2.063 GB, free: 278.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.002578/4.014, allocations: 189.7 kB / 2.063 GB, free: 277.9 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.01393/4.028, allocations: 10.56 MB / 2.073 GB, free: 267.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.003614/4.031, allocations: 2.074 MB / 2.075 GB, free: 265.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009271/4.041, allocations: 2.261 MB / 2.077 GB, free: 263 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 4.729e-05/4.041, allocations: 301.1 kB / 2.078 GB, free: 262.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01498/4.056, allocations: 6.949 MB / 2.084 GB, free: 255.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01776/4.073, allocations: 11.4 MB / 2.095 GB, free: 242.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03006/4.104, allocations: 16.7 MB / 2.112 GB, free: 224.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001203/4.104, allocations: 32 kB / 2.112 GB, free: 224.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=1223) (initialization): time 0.05106/4.155, allocations: 21.04 MB / 2.132 GB, free: 203 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001132/4.155, allocations: 48 kB / 2.132 GB, free: 203 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001584/4.155, allocations: 104.7 kB / 2.132 GB, free: 202.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02833/4.184, allocations: 9.442 MB / 2.142 GB, free: 193.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009228/4.193, allocations: 2.277 MB / 2.144 GB, free: 191.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01958/4.212, allocations: 9.723 MB / 2.153 GB, free: 181.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02188/4.234, allocations: 2.147 MB / 2.156 GB, free: 179.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003073/4.237, allocations: 0.5193 MB / 2.156 GB, free: 178.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02908/4.267, allocations: 14.12 MB / 2.17 GB, free: 164.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01903/4.286, allocations: 10.99 MB / 2.181 GB, free: 151.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02938/4.315, allocations: 15.97 MB / 2.196 GB, free: 134.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001104/4.315, allocations: 28 kB / 2.196 GB, free: 134.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=1223) (initialization_lambda0): time 0.04738/4.363, allocations: 19.79 MB / 2.215 GB, free: 114.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001278/4.363, allocations: 48 kB / 2.216 GB, free: 114.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001442/4.363, allocations: 104 kB / 2.216 GB, free: 114.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01463/4.378, allocations: 4.991 MB / 2.221 GB, free: 109.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009904/4.388, allocations: 2.422 MB / 2.223 GB, free: 106.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01856/4.406, allocations: 13.26 MB / 2.236 GB, free: 93.13 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02075/4.427, allocations: 2.121 MB / 2.238 GB, free: 91.01 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002841/4.43, allocations: 0.4927 MB / 2.238 GB, free: 90.52 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 471 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.loa.nextTimeEvent,$whenCondition1,ter[5].con.con1.y,ter[4].con.con1.y,ter[3].con.con1.y,ter[2].con.con1.y,ter[1].con.con1.y,ter[5].hex.flowRegime_nominal,ter[4].hex.flowRegime_nominal,ter[3].hex.flowRegime_nominal,ter[2].hex.flowRegime_nominal,ter[1].hex.flowRegime_nominal,loa.nextTimeEventScaled,$PRE.loa.nextTimeEventScaled,loa.nextTimeEvent,ter[5].hex.flowRegime,ter[4].hex.flowRegime,ter[3].hex.flowRegime,ter[2].hex.flowRegime,ter[1].hex.flowRegime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (961): * Single equations (assignments): 954 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(11,246)} Notification: Performance of prepare postOptimizeDAE: time 0.005271/4.435, allocations: 0.8278 MB / 2.239 GB, free: 89.69 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007533/4.443, allocations: 1.759 MB / 2.241 GB, free: 87.91 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04599/4.489, allocations: 16.74 MB / 2.257 GB, free: 71.09 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.109e-05/4.489, allocations: 67.91 kB / 2.257 GB, free: 71.03 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.229e-05/4.489, allocations: 4 kB / 2.257 GB, free: 71.02 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03495/4.524, allocations: 13.94 MB / 2.271 GB, free: 56.93 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 postOpt removeSimpleEquations (simulation): time 0.1006/4.624, allocations: 38.6 MB / 2.309 GB, free: 18.03 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.528e-05/4.625, allocations: 13.03 kB / 2.309 GB, free: 18.02 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005881/4.63, allocations: 1.214 MB / 2.31 GB, free: 16.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02422/4.655, allocations: 7.487 MB / 2.317 GB, free: 9.273 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001886/4.657, allocations: 191.9 kB / 2.317 GB, free: 9.086 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.8502/5.507, allocations: 9.41 MB / 2.327 GB, free: 431.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.737e-05/5.507, allocations: 15.28 kB / 2.327 GB, free: 431.7 MB / 1.151 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/Differentiate.mo:267:5-267:157:writable] Error: Derivative of expression "ter[1].hex.flowRegime = if ter[1].hex.C1_flow * ter[1].hex.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.1187/5.626, allocations: 43.52 MB / 2.369 GB, free: 424.1 MB / 1.151 GB Error: post-optimization module symbolicJacobian (simulation) failed.