Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes.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.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes") translateModel(Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.174/2.174, allocations: 391.2 MB / 407 MB, free: 10.88 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.001315/0.001315, allocations: 203.4 kB / 499.1 MB, free: 4.613 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.447/1.447, allocations: 222.9 MB / 0.7948 GB, free: 15.77 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.001132/0.001132, allocations: 107.8 kB / 0.9329 GB, free: 7.047 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001031/0.001031, allocations: 48.5 kB / 1.081 GB, free: 218.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2605, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes): time 0.07871/0.3392, allocations: 117.4 MB / 1.333 GB, free: 15.44 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.04029/0.3795, allocations: 27.91 MB / 1.36 GB, free: 3.457 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005238/0.3849, allocations: 115.3 kB / 1.36 GB, free: 3.344 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.004544/0.3894, allocations: 1.235 MB / 1.361 GB, free: 2.102 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.01219/0.4017, allocations: 4.212 MB / 1.365 GB, free: 13.87 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.008229/0.4099, allocations: 2.788 MB / 1.368 GB, free: 11.1 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.01357/0.4235, allocations: 10.89 MB / 1.379 GB, free: 180 kB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004509/0.4281, allocations: 2.212 MB / 1.381 GB, free: 13.9 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007109/0.4352, allocations: 2.847 MB / 1.384 GB, free: 11.04 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004337/0.4396, allocations: 2.283 MB / 1.386 GB, free: 8.75 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.001064/0.4407, allocations: 140 kB / 1.386 GB, free: 8.613 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01284/0.4535, allocations: 4.528 MB / 1.39 GB, free: 3.984 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.00153/0.4551, allocations: 0.5795 MB / 1.391 GB, free: 3.402 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.003569/0.4587, allocations: 1.516 MB / 1.393 GB, free: 1.879 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.02377/0.4825, allocations: 18.2 MB / 1.41 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.4825, allocations: 0 / 1.41 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4825, allocations: 0 / 1.41 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.903e-05/0.4826, allocations: 4 kB / 1.41 GB, free: 15.61 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 435 * Number of variables: 435 Notification: Performance of Generate backend data structure: time 0.007156/0.4898, allocations: 3.553 MB / 1.414 GB, free: 11.99 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.4898, allocations: 11.98 kB / 1.414 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009874/0.4908, allocations: 340.1 kB / 1.414 GB, free: 11.64 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004939/0.4958, allocations: 2.541 MB / 1.417 GB, free: 9.031 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.546e-05/0.4959, allocations: 135.3 kB / 1.417 GB, free: 8.898 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000257/0.4962, allocations: 179.9 kB / 1.417 GB, free: 8.723 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003161/0.4993, allocations: 1.903 MB / 1.419 GB, free: 6.75 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.248e-05/0.4994, allocations: 7.938 kB / 1.419 GB, free: 6.742 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001444/0.4996, allocations: 68 kB / 1.419 GB, free: 6.676 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.526e-05/0.4996, allocations: 55.98 kB / 1.419 GB, free: 6.621 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002436/0.5021, allocations: 1.395 MB / 1.42 GB, free: 5.223 MB / 0.9167 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.5394/1.042, allocations: 9.952 MB / 1.43 GB, free: 194 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001653/1.043, allocations: 0.9049 MB / 1.431 GB, free: 193.6 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009375/1.044, allocations: 0.5455 MB / 1.431 GB, free: 193.4 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001985/1.046, allocations: 3.07 MB / 1.434 GB, free: 189.9 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.73e-05/1.046, allocations: 47.16 kB / 1.434 GB, free: 189.9 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=121): time 3.327e-06/1.046, allocations: 3.969 kB / 1.434 GB, free: 189.9 MB / 0.9167 GB Notification: Performance of matching and sorting (n=121): time 0.007344/1.054, allocations: 2.243 MB / 1.437 GB, free: 189.2 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.657e-05/1.054, allocations: 65.97 kB / 1.437 GB, free: 189.2 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004291/1.058, allocations: 2.123 MB / 1.439 GB, free: 188.4 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002519/1.058, allocations: 53.27 kB / 1.439 GB, free: 188.3 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001103/1.059, allocations: 1.166 MB / 1.44 GB, free: 187.6 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005216/1.06, allocations: 438.5 kB / 1.44 GB, free: 187.2 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005526/1.06, allocations: 294.1 kB / 1.441 GB, free: 187.1 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.57e-05/1.06, allocations: 302.8 kB / 1.441 GB, free: 186.8 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001014/1.062, allocations: 485 kB / 1.441 GB, free: 186.6 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001375/1.063, allocations: 0.816 MB / 1.442 GB, free: 186.1 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002094/1.065, allocations: 1.354 MB / 1.444 GB, free: 185.3 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.957e-06/1.065, allocations: 2.156 kB / 1.444 GB, free: 185.3 MB / 0.9167 GB Notification: Performance of matching and sorting (n=185) (initialization): time 0.00467/1.07, allocations: 1.904 MB / 1.445 GB, free: 184.5 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.088e-05/1.07, allocations: 9.688 kB / 1.445 GB, free: 184.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.902e-05/1.07, allocations: 15.33 kB / 1.445 GB, free: 184.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001933/1.072, allocations: 379.8 kB / 1.446 GB, free: 184.5 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/1.073, allocations: 295.7 kB / 1.446 GB, free: 184.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001054/1.074, allocations: 0.8714 MB / 1.447 GB, free: 183.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002219/1.076, allocations: 234.2 kB / 1.447 GB, free: 183.7 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001666/1.076, allocations: 75.25 kB / 1.447 GB, free: 183.7 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001716/1.078, allocations: 0.8719 MB / 1.448 GB, free: 183.3 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001083/1.079, allocations: 0.8155 MB / 1.449 GB, free: 182.7 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00198/1.081, allocations: 1.349 MB / 1.45 GB, free: 181.9 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.185e-06/1.081, allocations: 3.562 kB / 1.45 GB, free: 181.9 MB / 0.9167 GB Notification: Performance of matching and sorting (n=185) (initialization_lambda0): time 0.004406/1.085, allocations: 1.892 MB / 1.452 GB, free: 181.1 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/1.086, allocations: 8.453 kB / 1.452 GB, free: 181.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.806e-05/1.086, allocations: 13.14 kB / 1.452 GB, free: 181.1 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00171/1.087, allocations: 382.5 kB / 1.452 GB, free: 181.1 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008197/1.088, allocations: 291 kB / 1.453 GB, free: 181.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008739/1.089, allocations: 0.8643 MB / 1.454 GB, free: 180.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0018/1.091, allocations: 191 kB / 1.454 GB, free: 180.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000126/1.091, allocations: 79.08 kB / 1.454 GB, free: 180.3 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (168): * Single equations (assignments): 162 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 {(2,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0004164/1.091, allocations: 270.1 kB / 1.454 GB, free: 180.1 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003903/1.092, allocations: 248.4 kB / 1.454 GB, free: 180 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004456/1.096, allocations: 2.382 MB / 1.457 GB, free: 179.1 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.524e-05/1.096, allocations: 29.78 kB / 1.457 GB, free: 179.1 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/1.096, allocations: 3.75 kB / 1.457 GB, free: 179.1 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003385/1.1, allocations: 1.796 MB / 1.458 GB, free: 178.3 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008989/1.109, allocations: 5.127 MB / 1.463 GB, free: 175.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.539e-05/1.109, allocations: 11.81 kB / 1.463 GB, free: 175.7 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007352/1.109, allocations: 224.8 kB / 1.464 GB, free: 175.7 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001328/1.111, allocations: 323.8 kB / 1.464 GB, free: 175.6 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-05/1.111, allocations: 51.56 kB / 1.464 GB, free: 175.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008126/1.112, allocations: 0.8667 MB / 1.465 GB, free: 174.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/1.112, allocations: 7.906 kB / 1.465 GB, free: 174.8 MB / 0.9167 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/Differentiate.mo:267:5-267:157:writable] Error: Derivative of expression "(pipChW.res.port_a.h_outflow, pipChW.del.port_b.h_outflow) = spatialDistribution(0, senTemChWIn.port_a.h_outflow, senTemChWOut.port_b.h_outflow, pipChW.del.x / pipChW.del.length, pipChW.v >= 0.0, {0.0, 1.0}, {pipChW.del.h_ini_in, pipChW.del.h_ini_out})" 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.01041/1.122, allocations: 6.007 MB / 1.471 GB, free: 171.4 MB / 0.9167 GB Error: post-optimization module symbolicJacobian (simulation) failed.