Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution1.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.BenchmarkFlowDistribution1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution1") translateModel(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.BenchmarkFlowDistribution1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.038/2.038, allocations: 391.2 MB / 407 MB, free: 10.82 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.001305/0.001305, allocations: 187 kB / 499.1 MB, free: 4.621 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.346/1.346, allocations: 222.9 MB / 0.7948 GB, free: 15.75 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.0009143/0.0009142, allocations: 111.6 kB / 0.9329 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0009863/0.0009867, allocations: 48.95 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2485, 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.BenchmarkFlowDistribution1): time 0.9047/1.153, allocations: 421.4 MB / 1.63 GB, free: 1.336 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.07621/1.229, allocations: 64.56 MB / 1.693 GB, free: 0.6484 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01171/1.241, allocations: 278.3 kB / 1.693 GB, free: 384 kB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.006595/1.248, allocations: 2.274 MB / 1.695 GB, free: 14.09 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.01713/1.265, allocations: 6.765 MB / 1.702 GB, free: 7.297 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.01092/1.276, allocations: 4.6 MB / 1.706 GB, free: 2.73 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.1144/1.39, allocations: 52.97 MB / 1.758 GB, free: 14.46 MB / 1.104 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02063/1.411, allocations: 16.47 MB / 1.774 GB, free: 13.84 MB / 1.12 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02189/1.433, allocations: 11.4 MB / 1.785 GB, free: 2.391 MB / 1.12 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0195/1.453, allocations: 11.12 MB / 1.796 GB, free: 7.242 MB / 1.135 GB Notification: Performance of NFPackage.collectConstants: time 0.003986/1.457, allocations: 0.7422 MB / 1.797 GB, free: 6.5 MB / 1.135 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01628/1.473, allocations: 6.44 MB / 1.803 GB, free: 52 kB / 1.135 GB Notification: Performance of NFScalarize.scalarize: time 0.007498/1.48, allocations: 4.199 MB / 1.807 GB, free: 11.83 MB / 1.151 GB Notification: Performance of NFVerifyModel.verify: time 0.01737/1.498, allocations: 8.153 MB / 1.815 GB, free: 3.637 MB / 1.151 GB Notification: Performance of NFConvertDAE.convert: time 0.03879/1.537, allocations: 30.67 MB / 1.845 GB, free: 4.875 MB / 1.182 GB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/1.537, allocations: 0 / 1.845 GB, free: 4.875 MB / 1.182 GB Notification: Performance of FrontEnd: time 1.583e-06/1.537, allocations: 0 / 1.845 GB, free: 4.875 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.001012/1.538, allocations: 4 kB / 1.845 GB, free: 4.871 MB / 1.182 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.04762/1.585, allocations: 18.77 MB / 1.863 GB, free: 1.949 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/1.585, allocations: 15.98 kB / 1.863 GB, free: 1.934 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03106/1.616, allocations: 6.203 MB / 1.87 GB, free: 11.7 MB / 1.214 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03836/1.655, allocations: 16.54 MB / 1.886 GB, free: 11.05 MB / 1.229 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.004302/1.659, allocations: 1.621 MB / 1.887 GB, free: 9.422 MB / 1.229 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003994/1.663, allocations: 1.023 MB / 1.888 GB, free: 8.398 MB / 1.229 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.8783/2.541, allocations: 16.17 MB / 1.904 GB, free: 473.1 MB / 1.229 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001754/2.542, allocations: 14.81 kB / 1.904 GB, free: 473.1 MB / 1.229 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001329/2.543, allocations: 399 kB / 1.904 GB, free: 472.8 MB / 1.229 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004964/2.544, allocations: 382.1 kB / 1.905 GB, free: 472.8 MB / 1.229 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0567/2.6, allocations: 16 MB / 1.92 GB, free: 468.3 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.1027/2.703, allocations: 62.82 MB / 1.982 GB, free: 423.4 MB / 1.229 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02406/2.727, allocations: 11.71 MB / 1.993 GB, free: 411.9 MB / 1.229 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01158/2.739, allocations: 6.062 MB / 1.999 GB, free: 405.9 MB / 1.229 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0417/2.78, allocations: 17.38 MB / 2.016 GB, free: 388.4 MB / 1.229 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01273/2.793, allocations: 6.446 MB / 2.022 GB, free: 381.9 MB / 1.229 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00652/2.8, allocations: 0.8525 MB / 2.023 GB, free: 381 MB / 1.229 GB Notification: Performance of pre-optimization done (n=573): time 1.76e-05/2.8, allocations: 0 / 2.023 GB, free: 381 MB / 1.229 GB Notification: Performance of matching and sorting (n=573): time 0.05411/2.854, allocations: 22.11 MB / 2.045 GB, free: 358.7 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.942e-05/2.854, allocations: 321.5 kB / 2.045 GB, free: 358.3 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02792/2.882, allocations: 14.17 MB / 2.059 GB, free: 344.2 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.002288/2.884, allocations: 193.3 kB / 2.059 GB, free: 344 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.00878/2.893, allocations: 6.782 MB / 2.066 GB, free: 337.2 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.003288/2.896, allocations: 1.967 MB / 2.068 GB, free: 335.3 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007274/2.904, allocations: 1.732 MB / 2.069 GB, free: 333.5 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 5.28e-05/2.904, allocations: 313 kB / 2.07 GB, free: 333.2 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01209/2.916, allocations: 5.904 MB / 2.075 GB, free: 327.3 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01403/2.93, allocations: 8.5 MB / 2.084 GB, free: 317.8 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02409/2.954, allocations: 13.3 MB / 2.097 GB, free: 303.7 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.774e-05/2.954, allocations: 20 kB / 2.097 GB, free: 303.6 MB / 1.229 GB Notification: Performance of matching and sorting (n=972) (initialization): time 0.03783/2.992, allocations: 16.37 MB / 2.113 GB, free: 287.2 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 8.217e-05/2.992, allocations: 28 kB / 2.113 GB, free: 287.1 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001013/2.992, allocations: 56 kB / 2.113 GB, free: 287.1 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01249/3.005, allocations: 3.75 MB / 2.117 GB, free: 283.3 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01007/3.015, allocations: 2.175 MB / 2.119 GB, free: 281.2 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008724/3.024, allocations: 10.22 MB / 2.129 GB, free: 270.7 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01422/3.038, allocations: 1.56 MB / 2.13 GB, free: 269.1 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002512/3.041, allocations: 407.8 kB / 2.131 GB, free: 268.7 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02164/3.062, allocations: 10.47 MB / 2.141 GB, free: 258.2 MB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01378/3.076, allocations: 8.164 MB / 2.149 GB, free: 249.1 MB / 1.229 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02387/3.1, allocations: 12.72 MB / 2.161 GB, free: 235.5 MB / 1.229 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.086e-05/3.1, allocations: 19.98 kB / 2.161 GB, free: 235.5 MB / 1.229 GB Notification: Performance of matching and sorting (n=972) (initialization_lambda0): time 0.03641/3.136, allocations: 15.49 MB / 2.176 GB, free: 219.9 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 7.212e-05/3.137, allocations: 29 kB / 2.176 GB, free: 219.9 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-05/3.137, allocations: 56 kB / 2.176 GB, free: 219.8 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01058/3.147, allocations: 3.095 MB / 2.179 GB, free: 216.7 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009057/3.156, allocations: 2.067 MB / 2.181 GB, free: 214.7 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005035/3.161, allocations: 5.744 MB / 2.187 GB, free: 208.8 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01357/3.175, allocations: 1.495 MB / 2.188 GB, free: 207.3 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002142/3.177, allocations: 383.9 kB / 2.189 GB, free: 206.9 MB / 1.229 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 253 * 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 (854): * Single equations (assignments): 837 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 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.003739/3.181, allocations: 0.6765 MB / 2.19 GB, free: 206.2 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004429/3.185, allocations: 1.258 MB / 2.191 GB, free: 205 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03506/3.221, allocations: 13.89 MB / 2.204 GB, free: 191 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.563e-05/3.221, allocations: 67.98 kB / 2.204 GB, free: 190.9 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.938e-05/3.221, allocations: 0 / 2.204 GB, free: 190.9 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02416/3.245, allocations: 11.59 MB / 2.216 GB, free: 179.2 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 postOpt removeSimpleEquations (simulation): time 0.06119/3.306, allocations: 31.35 MB / 2.246 GB, free: 147.5 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-05/3.306, allocations: 12 kB / 2.246 GB, free: 147.5 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007098/3.313, allocations: 1.593 MB / 2.248 GB, free: 145.9 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01104/3.324, allocations: 3.368 MB / 2.251 GB, free: 142.5 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001309/3.326, allocations: 199.9 kB / 2.251 GB, free: 142.3 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007403/3.333, allocations: 10.13 MB / 2.261 GB, free: 131.9 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.588e-06/3.333, allocations: 23.88 kB / 2.261 GB, free: 131.9 MB / 1.229 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.07404/3.407, allocations: 35.97 MB / 2.296 GB, free: 95.27 MB / 1.229 GB Error: post-optimization module symbolicJacobian (simulation) failed.