Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Experimental.DHC.Loads.Validation.BenchmarkFlowDistribution1.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.BenchmarkFlowDistribution1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.Loads.Validation.BenchmarkFlowDistribution1") translateModel(Buildings.Experimental.DHC.Loads.Validation.BenchmarkFlowDistribution1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Experimental.DHC.Loads.Validation.BenchmarkFlowDistribution1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.537/1.537, allocations: 292.3 MB / 308.1 MB, free: 4.289 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.001239/0.001239, allocations: 192.4 kB / 376.9 MB, free: 1.836 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.377/1.377, allocations: 205.1 MB / 0.6354 GB, free: 9.801 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.0009639/0.0009639, allocations: 88.3 kB / 0.7479 GB, free: 61.25 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009554/0.0009554, allocations: 47.92 kB / 0.8704 GB, free: 13.14 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2385, allocations: 114.5 MB / 0.9822 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.Validation.BenchmarkFlowDistribution1): time 1.557/1.796, allocations: 421.7 MB / 1.394 GB, free: 9.207 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.09395/1.89, allocations: 67.95 MB / 1.46 GB, free: 8.293 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01717/1.907, allocations: 272.2 kB / 1.461 GB, free: 8.293 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.01237/1.92, allocations: 2.276 MB / 1.463 GB, free: 8.242 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.02308/1.943, allocations: 6.743 MB / 1.469 GB, free: 7.945 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.01436/1.957, allocations: 4.406 MB / 1.474 GB, free: 7.82 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.1415/2.099, allocations: 52.79 MB / 1.525 GB, free: 2.105 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03537/2.134, allocations: 16.53 MB / 1.541 GB, free: 3.645 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03327/2.167, allocations: 11.47 MB / 1.553 GB, free: 9.836 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02555/2.193, allocations: 11.09 MB / 1.563 GB, free: 64 kB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.005349/2.198, allocations: 0.7422 MB / 1.564 GB, free: 15.32 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02028/2.219, allocations: 6.327 MB / 1.57 GB, free: 9.828 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.008878/2.228, allocations: 4.187 MB / 1.574 GB, free: 5.816 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.02264/2.25, allocations: 8.119 MB / 1.582 GB, free: 13.82 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.04924/2.3, allocations: 29.8 MB / 1.611 GB, free: 0.8281 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/2.3, allocations: 0 / 1.611 GB, free: 0.8281 MB / 1.01 GB Notification: Performance of FrontEnd: time 3.897e-06/2.3, allocations: 3.984 kB / 1.611 GB, free: 0.8242 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.001136/2.301, allocations: 0 / 1.611 GB, free: 0.8242 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2462 * Number of variables: 2462 Notification: Performance of Generate backend data structure: time 0.0572/2.358, allocations: 18.74 MB / 1.63 GB, free: 14.14 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/2.358, allocations: 8.031 kB / 1.63 GB, free: 14.13 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02738/2.385, allocations: 5.024 MB / 1.635 GB, free: 9.102 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03747/2.423, allocations: 15.91 MB / 1.65 GB, free: 9.379 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00459/2.428, allocations: 1.624 MB / 1.652 GB, free: 7.754 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0047/2.432, allocations: 1.025 MB / 1.653 GB, free: 6.734 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03829/2.471, allocations: 15.71 MB / 1.668 GB, free: 6.777 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001675/2.471, allocations: 11.88 kB / 1.668 GB, free: 6.766 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001186/2.472, allocations: 407.5 kB / 1.669 GB, free: 6.371 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002803/2.472, allocations: 374.3 kB / 1.669 GB, free: 6.004 MB / 1.073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03386/2.506, allocations: 15.23 MB / 1.684 GB, free: 6.758 MB / 1.089 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.1266/2.633, allocations: 61.72 MB / 1.744 GB, free: 6.328 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0261/2.659, allocations: 10.85 MB / 1.755 GB, free: 11.41 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.013/2.672, allocations: 5.686 MB / 1.76 GB, free: 5.695 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04814/2.72, allocations: 16.77 MB / 1.777 GB, free: 4.68 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01543/2.736, allocations: 5.985 MB / 1.782 GB, free: 14.61 MB / 1.198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009358/2.745, allocations: 0.8426 MB / 1.783 GB, free: 13.77 MB / 1.198 GB Notification: Performance of pre-optimization done (n=572): time 5.59e-05/2.745, allocations: 4 kB / 1.783 GB, free: 13.76 MB / 1.198 GB Notification: Performance of matching and sorting (n=572): time 0.06916/2.814, allocations: 21.03 MB / 1.804 GB, free: 8.516 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000203/2.815, allocations: 313.5 kB / 1.804 GB, free: 8.145 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.8756/3.69, allocations: 14.09 MB / 1.818 GB, free: 0.5086 GB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.002215/3.693, allocations: 187.4 kB / 1.818 GB, free: 0.5086 GB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.00893/3.702, allocations: 6.773 MB / 1.825 GB, free: 0.5077 GB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.00312/3.705, allocations: 1.967 MB / 1.827 GB, free: 0.5069 GB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004035/3.709, allocations: 1.72 MB / 1.828 GB, free: 0.5062 GB / 1.214 GB Notification: Performance of setup shared object (initialization): time 4.924e-05/3.709, allocations: 303 kB / 1.829 GB, free: 0.5059 GB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01255/3.721, allocations: 5.441 MB / 1.834 GB, free: 0.5044 GB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01695/3.738, allocations: 8.084 MB / 1.842 GB, free: 0.5001 GB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0241/3.763, allocations: 12.48 MB / 1.854 GB, free: 0.4949 GB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.844e-05/3.763, allocations: 18.03 kB / 1.854 GB, free: 0.4949 GB / 1.214 GB Notification: Performance of matching and sorting (n=969) (initialization): time 0.03368/3.796, allocations: 15.64 MB / 1.869 GB, free: 0.4904 GB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 6.348e-05/3.796, allocations: 28.03 kB / 1.869 GB, free: 0.4904 GB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.309e-05/3.797, allocations: 56.77 kB / 1.869 GB, free: 0.4904 GB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01259/3.809, allocations: 3.749 MB / 1.873 GB, free: 0.49 GB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009294/3.818, allocations: 2.014 MB / 1.875 GB, free: 0.4899 GB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008228/3.827, allocations: 9.531 MB / 1.884 GB, free: 495 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01454/3.841, allocations: 1.383 MB / 1.886 GB, free: 494.8 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002463/3.844, allocations: 393.5 kB / 1.886 GB, free: 494.7 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02271/3.867, allocations: 10.02 MB / 1.896 GB, free: 491.6 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01586/3.883, allocations: 7.775 MB / 1.903 GB, free: 487.2 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02366/3.906, allocations: 11.93 MB / 1.915 GB, free: 481.5 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001528/3.906, allocations: 16.47 kB / 1.915 GB, free: 481.5 MB / 1.214 GB Notification: Performance of matching and sorting (n=969) (initialization_lambda0): time 0.03942/3.946, allocations: 14.64 MB / 1.929 GB, free: 476.6 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001234/3.946, allocations: 28.88 kB / 1.929 GB, free: 476.6 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001852/3.946, allocations: 58.38 kB / 1.929 GB, free: 476.6 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01193/3.958, allocations: 3.072 MB / 1.932 GB, free: 476.2 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009047/3.967, allocations: 1.915 MB / 1.934 GB, free: 476 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006133/3.973, allocations: 5.742 MB / 1.94 GB, free: 472.4 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01402/3.987, allocations: 1.311 MB / 1.941 GB, free: 472.2 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002371/3.99, allocations: 379.9 kB / 1.942 GB, free: 472.1 MB / 1.214 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 254 * Number of states: 0 () * Number of discrete variables: 35 ($PRE.loa.nextTimeEvent,$whenCondition1,ter[5].con1.y,ter[4].con1.y,ter[3].con1.y,ter[2].con1.y,ter[1].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].greThr.greHys.y,$PRE.ter[5].greThr.greHys.y,ter[5].hex.flowRegime,ter[4].greThr.greHys.y,$PRE.ter[4].greThr.greHys.y,ter[4].hex.flowRegime,ter[3].greThr.greHys.y,$PRE.ter[3].greThr.greHys.y,ter[3].hex.flowRegime,ter[2].greThr.greHys.y,$PRE.ter[2].greThr.greHys.y,ter[2].hex.flowRegime,ter[1].greThr.greHys.y,$PRE.ter[1].greThr.greHys.y,ter[1].hex.flowRegime,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (853): * Single equations (assignments): 837 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems 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): 5 systems {(1,22), (1,22), (1,22), (1,22), (1,22)} Notification: Performance of prepare postOptimizeDAE: time 0.00427/3.994, allocations: 0.6803 MB / 1.942 GB, free: 471.5 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004459/3.999, allocations: 1.256 MB / 1.943 GB, free: 470.9 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0337/4.032, allocations: 13.07 MB / 1.956 GB, free: 466.8 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.148e-05/4.033, allocations: 60.23 kB / 1.956 GB, free: 466.8 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-05/4.033, allocations: 3.844 kB / 1.956 GB, free: 466.8 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02419/4.057, allocations: 10.83 MB / 1.967 GB, free: 462.3 MB / 1.214 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.06726/4.124, allocations: 29.54 MB / 1.996 GB, free: 434.8 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.706e-05/4.124, allocations: 15.94 kB / 1.996 GB, free: 434.8 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006777/4.131, allocations: 1.458 MB / 1.997 GB, free: 433.3 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01122/4.142, allocations: 3.356 MB / 2 GB, free: 429.9 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001484/4.144, allocations: 191.9 kB / 2.001 GB, free: 429.8 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007347/4.151, allocations: 9.446 MB / 2.01 GB, free: 420.1 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-05/4.151, allocations: 19.88 kB / 2.01 GB, free: 420 MB / 1.214 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.06628/4.217, allocations: 33.35 MB / 2.042 GB, free: 386.1 MB / 1.214 GB Error: post-optimization module symbolicJacobian (simulation) failed.