Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.BuriedPipes.Examples.DiscretizedBuriedPipe.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.DiscretizedBuriedPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.BuriedPipes.Examples.DiscretizedBuriedPipe") translateModel(Buildings.Fluid.Geothermal.BuriedPipes.Examples.DiscretizedBuriedPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.BuriedPipes.Examples.DiscretizedBuriedPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.327/2.327, allocations: 391.2 MB / 407 MB, free: 10.93 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.001386/0.001386, allocations: 195.4 kB / 499.1 MB, free: 4.684 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.464/1.464, allocations: 222.9 MB / 0.7948 GB, free: 15.7 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.001118/0.001117, allocations: 119.6 kB / 0.9329 GB, free: 7.047 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001064/0.001064, allocations: 52.23 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.2551, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.BuriedPipes.Examples.DiscretizedBuriedPipe): time 0.08505/0.3402, allocations: 129.2 MB / 1.344 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.04294/0.3831, allocations: 32.18 MB / 1.376 GB, free: 3.293 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007715/0.391, allocations: 123.2 kB / 1.376 GB, free: 3.172 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.005896/0.3969, allocations: 1.387 MB / 1.377 GB, free: 1.777 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.01496/0.4119, allocations: 4.811 MB / 1.382 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.008701/0.4206, allocations: 3.035 MB / 1.385 GB, free: 9.926 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 1.117/1.537, allocations: 56.87 MB / 1.44 GB, free: 16.73 MB / 0.9168 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0231/1.56, allocations: 14.96 MB / 1.455 GB, free: 14.19 MB / 0.9168 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02356/1.584, allocations: 11.29 MB / 1.466 GB, free: 13.04 MB / 0.9168 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02126/1.605, allocations: 11.5 MB / 1.477 GB, free: 11.03 MB / 0.9168 GB Notification: Performance of NFPackage.collectConstants: time 0.005131/1.61, allocations: 0.7125 MB / 1.478 GB, free: 11.03 MB / 0.9168 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01959/1.63, allocations: 5.122 MB / 1.483 GB, free: 10.68 MB / 0.9168 GB Notification: Performance of NFScalarize.scalarize: time 0.007235/1.637, allocations: 2.91 MB / 1.486 GB, free: 10.14 MB / 0.9168 GB Notification: Performance of NFVerifyModel.verify: time 0.01772/1.655, allocations: 7.759 MB / 1.493 GB, free: 8 MB / 0.9168 GB Notification: Performance of NFConvertDAE.convert: time 0.05507/1.71, allocations: 40.28 MB / 1.533 GB, free: 15.18 MB / 0.9324 GB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/1.71, allocations: 0 / 1.533 GB, free: 15.18 MB / 0.9324 GB Notification: Performance of FrontEnd: time 3.376e-06/1.71, allocations: 3.984 kB / 1.533 GB, free: 15.17 MB / 0.9324 GB Notification: Performance of Transformations before backend: time 0.001008/1.711, allocations: 0 / 1.533 GB, free: 15.17 MB / 0.9324 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2245 * Number of variables: 2245 Notification: Performance of Generate backend data structure: time 0.05226/1.763, allocations: 16.44 MB / 1.549 GB, free: 4.426 MB / 0.9324 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/1.764, allocations: 13.27 kB / 1.549 GB, free: 4.422 MB / 0.9324 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009887/1.773, allocations: 1.619 MB / 1.55 GB, free: 3.617 MB / 0.9324 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0362/1.81, allocations: 16.51 MB / 1.566 GB, free: 3.898 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006718/1.81, allocations: 0.6457 MB / 1.567 GB, free: 3.254 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004389/1.815, allocations: 0.8884 MB / 1.568 GB, free: 2.371 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03772/1.852, allocations: 13.69 MB / 1.581 GB, free: 4.391 MB / 0.9637 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005199/1.853, allocations: 42.58 kB / 1.581 GB, free: 4.359 MB / 0.9637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005423/1.858, allocations: 364 kB / 1.582 GB, free: 4.004 MB / 0.9637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003891/1.859, allocations: 267.3 kB / 1.582 GB, free: 3.746 MB / 0.9637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02859/1.888, allocations: 11.29 MB / 1.593 GB, free: 8.516 MB / 0.9793 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.1141/2.002, allocations: 64.19 MB / 1.656 GB, free: 4.773 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01133/2.013, allocations: 5.25 MB / 1.661 GB, free: 15.54 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006101/2.019, allocations: 3.356 MB / 1.664 GB, free: 12.17 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002748/2.022, allocations: 3.208 MB / 1.667 GB, free: 8.32 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001218/2.022, allocations: 102.6 kB / 1.667 GB, free: 8.215 MB / 1.057 GB Notification: Performance of pre-optimization done (n=512): time 1.207e-05/2.022, allocations: 0 / 1.667 GB, free: 8.215 MB / 1.057 GB Notification: Performance of matching and sorting (n=512): time 0.04118/2.063, allocations: 13.38 MB / 1.68 GB, free: 10.54 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/2.063, allocations: 103.2 kB / 1.681 GB, free: 10.42 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0339/2.097, allocations: 13.46 MB / 1.694 GB, free: 13.02 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 0.001741/2.099, allocations: 129.7 kB / 1.694 GB, free: 12.89 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.008747/2.108, allocations: 5.983 MB / 1.7 GB, free: 6.887 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.003484/2.111, allocations: 1.827 MB / 1.701 GB, free: 5.074 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002882/2.114, allocations: 1.392 MB / 1.703 GB, free: 3.672 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 9.581e-05/2.115, allocations: 301.1 kB / 1.703 GB, free: 3.375 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00553/2.12, allocations: 3.216 MB / 1.706 GB, free: 152 kB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007755/2.128, allocations: 5.196 MB / 1.711 GB, free: 10.12 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01503/2.143, allocations: 9.073 MB / 1.72 GB, free: 396 kB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.983e-05/2.143, allocations: 23.75 kB / 1.72 GB, free: 376 kB / 1.104 GB Notification: Performance of matching and sorting (n=873) (initialization): time 0.02926/2.172, allocations: 11.65 MB / 1.732 GB, free: 4.992 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 5.695e-05/2.172, allocations: 28.94 kB / 1.732 GB, free: 4.965 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003154/2.173, allocations: 99.95 kB / 1.732 GB, free: 4.867 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009164/2.182, allocations: 2.426 MB / 1.734 GB, free: 2.418 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005192/2.187, allocations: 1.322 MB / 1.735 GB, free: 1.188 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007479/2.195, allocations: 9.043 MB / 1.744 GB, free: 7.875 MB / 1.136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01232/2.207, allocations: 1.338 MB / 1.745 GB, free: 6.531 MB / 1.136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001814/2.209, allocations: 359.9 kB / 1.746 GB, free: 6.18 MB / 1.136 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01515/2.224, allocations: 7.777 MB / 1.753 GB, free: 14.39 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007648/2.232, allocations: 5.19 MB / 1.758 GB, free: 8.367 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01376/2.245, allocations: 9.068 MB / 1.767 GB, free: 14.64 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.675e-05/2.246, allocations: 16 kB / 1.767 GB, free: 14.62 MB / 1.167 GB Notification: Performance of matching and sorting (n=873) (initialization_lambda0): time 0.02806/2.274, allocations: 11.65 MB / 1.779 GB, free: 3.246 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 6.465e-05/2.274, allocations: 28 kB / 1.779 GB, free: 3.219 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003027/2.274, allocations: 95.97 kB / 1.779 GB, free: 3.125 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009425/2.283, allocations: 2.419 MB / 1.781 GB, free: 0.6797 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005254/2.289, allocations: 1.331 MB / 1.782 GB, free: 15.44 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007307/2.296, allocations: 9.048 MB / 1.791 GB, free: 6.129 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01173/2.308, allocations: 1.011 MB / 1.792 GB, free: 5.113 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001775/2.31, allocations: 363.5 kB / 1.793 GB, free: 4.762 MB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 274 * 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 (785): * Single equations (assignments): 747 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 26 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * 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): 12 systems {(1,5), (1,5), (1,5), (1,5), (1,5), (1,5), (1,5), (1,5), (1,5), (1,5), (1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.003033/2.313, allocations: 0.5928 MB / 1.793 GB, free: 4.258 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004825/2.318, allocations: 1.131 MB / 1.794 GB, free: 3.113 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03694/2.354, allocations: 12.73 MB / 1.807 GB, free: 6.629 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001952/2.355, allocations: 95.94 kB / 1.807 GB, free: 6.535 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.668e-05/2.355, allocations: 4 kB / 1.807 GB, free: 6.531 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02068/2.375, allocations: 9.055 MB / 1.816 GB, free: 13.4 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06567/2.441, allocations: 25.17 MB / 1.84 GB, free: 4.102 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000232/2.441, allocations: 43.97 kB / 1.84 GB, free: 4.059 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004328/2.446, allocations: 0.9606 MB / 1.841 GB, free: 3.145 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006871/2.453, allocations: 1.671 MB / 1.843 GB, free: 1.457 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001193/2.454, allocations: 235.8 kB / 1.843 GB, free: 1.227 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006391/2.46, allocations: 8.493 MB / 1.851 GB, free: 8.473 MB / 1.245 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.122e-05/2.46, allocations: 21.69 kB / 1.851 GB, free: 8.457 MB / 1.245 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/Differentiate.mo:267:5-267:157:writable] Error: Derivative of expression "(pip.pipSeg[1].senMasFlo.port_a.h_outflow, pip.pipSeg[1].del.port_b.h_outflow) = spatialDistribution(0, senTemInl.port_a.h_outflow, pip.pipSeg[1].port_b.h_outflow, pip.pipSeg[1].del.x / pip.pipSeg[1].del.length, pip.v >= 0.0, {0.0, 1.0}, {pip.pipSeg[1].del.h_ini_in, pip.pipSeg[1].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.07284/2.533, allocations: 31.03 MB / 1.882 GB, free: 8.941 MB / 1.276 GB Error: post-optimization module symbolicJacobian (simulation) failed.