Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2") translateModel(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.043/2.043, allocations: 391.2 MB / 407 MB, free: 10.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 199 kB / 499.1 MB, free: 4.676 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 222.9 MB / 0.7948 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 95.73 kB / 0.9329 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 50.31 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.243, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution2): time 0.8986/1.142, allocations: 0.4963 GB / 1.714 GB, free: 1.023 MB / 1.057 GB Notification: Performance of NFInst.instExpressions: time 0.07004/1.212, allocations: 62.41 MB / 1.775 GB, free: 2.441 MB / 1.12 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0121/1.224, allocations: 230.6 kB / 1.776 GB, free: 2.215 MB / 1.12 GB Notification: Performance of NFTyping.typeComponents: time 0.01463/1.238, allocations: 2.853 MB / 1.778 GB, free: 15.35 MB / 1.135 GB Notification: Performance of NFTyping.typeBindings: time 0.02628/1.265, allocations: 8.358 MB / 1.786 GB, free: 6.965 MB / 1.135 GB Notification: Performance of NFTyping.typeClassSections: time 0.01437/1.279, allocations: 5.598 MB / 1.792 GB, free: 1.414 MB / 1.135 GB Notification: Performance of NFFlatten.flatten: time 0.1495/1.429, allocations: 84.68 MB / 1.875 GB, free: 13.35 MB / 1.229 GB Notification: Performance of NFFlatten.resolveConnections: time 1.193/2.622, allocations: 24.15 MB / 1.898 GB, free: 56.2 MB / 1.229 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03736/2.659, allocations: 17.72 MB / 1.916 GB, free: 54.69 MB / 1.229 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03254/2.692, allocations: 17.11 MB / 1.932 GB, free: 51.62 MB / 1.229 GB Notification: Performance of NFPackage.collectConstants: time 0.007949/2.7, allocations: 1.084 MB / 1.933 GB, free: 51.62 MB / 1.229 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0249/2.725, allocations: 6.736 MB / 1.94 GB, free: 51.62 MB / 1.229 GB Notification: Performance of NFScalarize.scalarize: time 0.01128/2.736, allocations: 5.32 MB / 1.945 GB, free: 50.72 MB / 1.229 GB Notification: Performance of NFVerifyModel.verify: time 0.02561/2.762, allocations: 12.19 MB / 1.957 GB, free: 47.12 MB / 1.229 GB Notification: Performance of NFConvertDAE.convert: time 0.05368/2.815, allocations: 43.75 MB / 2 GB, free: 42.73 MB / 1.229 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/2.815, allocations: 0 / 2 GB, free: 42.73 MB / 1.229 GB Notification: Performance of FrontEnd: time 1.663e-06/2.815, allocations: 0 / 2 GB, free: 42.73 MB / 1.229 GB Notification: Performance of Transformations before backend: time 0.001413/2.817, allocations: 0 / 2 GB, free: 42.73 MB / 1.229 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.07911/2.896, allocations: 26.9 MB / 2.026 GB, free: 32.57 MB / 1.229 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/2.896, allocations: 14.39 kB / 2.026 GB, free: 32.57 MB / 1.229 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03915/2.935, allocations: 7.868 MB / 2.034 GB, free: 29.03 MB / 1.229 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05671/2.992, allocations: 26.75 MB / 2.06 GB, free: 20.37 MB / 1.229 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.005852/2.998, allocations: 2.313 MB / 2.062 GB, free: 19.82 MB / 1.229 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006422/3.004, allocations: 1.407 MB / 2.063 GB, free: 19.81 MB / 1.229 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05885/3.063, allocations: 23.02 MB / 2.086 GB, free: 12.71 MB / 1.229 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005341/3.064, allocations: 31.69 kB / 2.086 GB, free: 12.71 MB / 1.229 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005668/3.069, allocations: 0.5512 MB / 2.086 GB, free: 12.71 MB / 1.229 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003988/3.07, allocations: 0.5162 MB / 2.087 GB, free: 12.66 MB / 1.229 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05031/3.12, allocations: 21.84 MB / 2.108 GB, free: 8.004 MB / 1.229 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.1719/3.292, allocations: 105.6 MB / 2.211 GB, free: 14.04 MB / 1.339 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02931/3.321, allocations: 13.23 MB / 2.224 GB, free: 0.6953 MB / 1.339 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.015/3.336, allocations: 7.187 MB / 2.231 GB, free: 9.484 MB / 1.354 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.04969/3.386, allocations: 20.09 MB / 2.251 GB, free: 5.32 MB / 1.37 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01543/3.402, allocations: 7.525 MB / 2.258 GB, free: 13.72 MB / 1.386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008945/3.411, allocations: 0.9518 MB / 2.259 GB, free: 12.77 MB / 1.386 GB Notification: Performance of pre-optimization done (n=593): time 1.498e-05/3.411, allocations: 0 / 2.259 GB, free: 12.77 MB / 1.386 GB Notification: Performance of matching and sorting (n=593): time 0.05834/3.469, allocations: 22.05 MB / 2.281 GB, free: 6.602 MB / 1.401 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000153/3.469, allocations: 296 kB / 2.281 GB, free: 6.254 MB / 1.401 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05272/3.522, allocations: 21.86 MB / 2.302 GB, free: 0.5156 MB / 1.417 GB Notification: Performance of collectPreVariables (initialization): time 0.002846/3.525, allocations: 191.7 kB / 2.303 GB, free: 332 kB / 1.417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0169/3.542, allocations: 10.55 MB / 2.313 GB, free: 5.809 MB / 1.432 GB Notification: Performance of collectInitialBindings (initialization): time 0.004056/3.546, allocations: 2.086 MB / 2.315 GB, free: 3.742 MB / 1.432 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009494/3.555, allocations: 2.268 MB / 2.317 GB, free: 1.465 MB / 1.432 GB Notification: Performance of setup shared object (initialization): time 8.233e-05/3.555, allocations: 305.1 kB / 2.317 GB, free: 1.164 MB / 1.432 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01611/3.572, allocations: 7.298 MB / 2.325 GB, free: 9.844 MB / 1.448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02081/3.592, allocations: 11.69 MB / 2.336 GB, free: 12.35 MB / 1.464 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03552/3.628, allocations: 17.33 MB / 2.353 GB, free: 9.941 MB / 1.479 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001147/3.628, allocations: 28 kB / 2.353 GB, free: 9.914 MB / 1.479 GB Notification: Performance of matching and sorting (n=1223) (initialization): time 0.06279/3.691, allocations: 22.06 MB / 2.375 GB, free: 4.379 MB / 1.495 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001557/3.691, allocations: 52 kB / 2.375 GB, free: 4.328 MB / 1.495 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001759/3.691, allocations: 108.1 kB / 2.375 GB, free: 4.223 MB / 1.495 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03319/3.724, allocations: 10.36 MB / 2.385 GB, free: 9.832 MB / 1.511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01023/3.735, allocations: 2.29 MB / 2.387 GB, free: 7.672 MB / 1.511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02454/3.759, allocations: 10.8 MB / 2.398 GB, free: 12.82 MB / 1.526 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02342/3.783, allocations: 2.26 MB / 2.4 GB, free: 10.57 MB / 1.526 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003739/3.787, allocations: 0.5154 MB / 2.4 GB, free: 10.05 MB / 1.526 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03613/3.823, allocations: 14.5 MB / 2.414 GB, free: 11.54 MB / 1.542 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.5463/4.369, allocations: 11.28 MB / 2.425 GB, free: 0.7074 GB / 1.542 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03464/4.404, allocations: 16.59 MB / 2.442 GB, free: 0.7034 GB / 1.542 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001112/4.404, allocations: 29.19 kB / 2.442 GB, free: 0.7034 GB / 1.542 GB Notification: Performance of matching and sorting (n=1223) (initialization_lambda0): time 0.05314/4.457, allocations: 21.25 MB / 2.462 GB, free: 0.7016 GB / 1.542 GB Notification: Performance of prepare postOptimizeDAE: time 7.55e-05/4.457, allocations: 51.12 kB / 2.462 GB, free: 0.7016 GB / 1.542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001372/4.457, allocations: 102.1 kB / 2.463 GB, free: 0.7016 GB / 1.542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01706/4.474, allocations: 5.916 MB / 2.468 GB, free: 0.7009 GB / 1.542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01007/4.484, allocations: 2.432 MB / 2.471 GB, free: 0.7007 GB / 1.542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01985/4.504, allocations: 14.33 MB / 2.485 GB, free: 0.6937 GB / 1.542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02055/4.525, allocations: 2.237 MB / 2.487 GB, free: 0.6935 GB / 1.542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002831/4.528, allocations: 0.4909 MB / 2.487 GB, free: 0.6935 GB / 1.542 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.003475/4.531, allocations: 0.8413 MB / 2.488 GB, free: 0.6929 GB / 1.542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005056/4.536, allocations: 1.767 MB / 2.49 GB, free: 0.6929 GB / 1.542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04288/4.579, allocations: 18.08 MB / 2.508 GB, free: 0.6879 GB / 1.542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.714e-05/4.579, allocations: 57.12 kB / 2.508 GB, free: 0.6879 GB / 1.542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.739e-06/4.579, allocations: 0 / 2.508 GB, free: 0.6879 GB / 1.542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03281/4.612, allocations: 15.22 MB / 2.523 GB, free: 0.6836 GB / 1.542 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.08238/4.695, allocations: 40.05 MB / 2.562 GB, free: 0.6509 GB / 1.542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.298e-05/4.695, allocations: 12 kB / 2.562 GB, free: 0.6509 GB / 1.542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005485/4.7, allocations: 1.229 MB / 2.563 GB, free: 0.6497 GB / 1.542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02512/4.725, allocations: 8.401 MB / 2.571 GB, free: 0.6415 GB / 1.542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002022/4.727, allocations: 199.9 kB / 2.571 GB, free: 0.6413 GB / 1.542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01789/4.745, allocations: 10.5 MB / 2.581 GB, free: 0.631 GB / 1.542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.298e-05/4.745, allocations: 23.86 kB / 2.582 GB, free: 0.631 GB / 1.542 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.1049/4.85, allocations: 46.41 MB / 2.627 GB, free: 0.5853 GB / 1.542 GB Error: post-optimization module symbolicJacobian (simulation) failed.