Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe.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.SingleBuriedPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe") translateModel(Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.162/2.162, allocations: 391.2 MB / 407 MB, free: 10.9 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.001319/0.001319, allocations: 197.3 kB / 499.1 MB, free: 4.691 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.479/1.479, allocations: 222.9 MB / 0.7948 GB, free: 15.73 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.001103/0.001103, allocations: 95.77 kB / 0.9329 GB, free: 7.098 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001078/0.001078, allocations: 49.33 kB / 1.081 GB, free: 218.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2498, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe): time 0.0767/0.3266, allocations: 117.7 MB / 1.333 GB, free: 15.21 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.03949/0.3661, allocations: 28 MB / 1.36 GB, free: 3.133 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005386/0.3716, allocations: 115.3 kB / 1.36 GB, free: 3.02 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.004571/0.3762, allocations: 1.251 MB / 1.362 GB, free: 1.762 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.01246/0.3886, allocations: 4.254 MB / 1.366 GB, free: 13.48 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.008665/0.3973, allocations: 2.804 MB / 1.369 GB, free: 10.7 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.01473/0.4121, allocations: 11.05 MB / 1.379 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004835/0.417, allocations: 2.221 MB / 1.382 GB, free: 13.33 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007129/0.4241, allocations: 2.897 MB / 1.384 GB, free: 10.42 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004778/0.4289, allocations: 2.337 MB / 1.387 GB, free: 8.074 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.00124/0.4302, allocations: 140 kB / 1.387 GB, free: 7.938 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01663/0.4468, allocations: 4.528 MB / 1.391 GB, free: 3.309 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.001671/0.4485, allocations: 0.6028 MB / 1.392 GB, free: 2.703 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0042/0.4527, allocations: 1.547 MB / 1.393 GB, free: 1.148 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.02483/0.4776, allocations: 18.29 MB / 1.411 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.4776, allocations: 0 / 1.411 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of FrontEnd: time 9.72e-07/0.4777, allocations: 0 / 1.411 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001733/0.4778, allocations: 0 / 1.411 GB, free: 14.79 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.009559/0.4874, allocations: 3.6 MB / 1.415 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.4875, allocations: 11.98 kB / 1.415 GB, free: 11.11 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00141/0.4889, allocations: 348 kB / 1.415 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005699/0.4946, allocations: 2.609 MB / 1.418 GB, free: 8.09 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001276/0.4948, allocations: 131.4 kB / 1.418 GB, free: 7.961 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004192/0.4952, allocations: 179.9 kB / 1.418 GB, free: 7.785 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003773/0.499, allocations: 1.895 MB / 1.42 GB, free: 5.82 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.251e-05/0.499, allocations: 7.906 kB / 1.42 GB, free: 5.812 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001722/0.4992, allocations: 68 kB / 1.42 GB, free: 5.746 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.457e-05/0.4993, allocations: 51.94 kB / 1.42 GB, free: 5.695 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002646/0.5019, allocations: 1.375 MB / 1.421 GB, free: 4.316 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.5285/1.03, allocations: 9.952 MB / 1.431 GB, free: 193.4 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001709/1.032, allocations: 0.9161 MB / 1.432 GB, free: 193.1 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008646/1.033, allocations: 0.5262 MB / 1.432 GB, free: 192.9 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001928/1.035, allocations: 3.078 MB / 1.435 GB, free: 189.3 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.173e-05/1.035, allocations: 47.94 kB / 1.435 GB, free: 189.3 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=120): time 5.44e-06/1.035, allocations: 3.938 kB / 1.435 GB, free: 189.3 MB / 0.9167 GB Notification: Performance of matching and sorting (n=120): time 0.005878/1.041, allocations: 2.132 MB / 1.437 GB, free: 188.6 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/1.041, allocations: 66.53 kB / 1.438 GB, free: 188.5 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003794/1.045, allocations: 2.218 MB / 1.44 GB, free: 187.7 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002196/1.045, allocations: 48.86 kB / 1.44 GB, free: 187.6 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009134/1.046, allocations: 1.186 MB / 1.441 GB, free: 186.8 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000453/1.046, allocations: 432.4 kB / 1.441 GB, free: 186.5 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004638/1.047, allocations: 297 kB / 1.442 GB, free: 186.4 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 4.27e-05/1.047, allocations: 303.1 kB / 1.442 GB, free: 186.1 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008196/1.048, allocations: 488.7 kB / 1.442 GB, free: 185.9 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001131/1.049, allocations: 0.8324 MB / 1.443 GB, free: 185.3 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001936/1.051, allocations: 1.353 MB / 1.444 GB, free: 184.5 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.757e-06/1.051, allocations: 2.938 kB / 1.444 GB, free: 184.5 MB / 0.9167 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.004584/1.056, allocations: 1.872 MB / 1.446 GB, free: 183.7 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.003e-05/1.056, allocations: 10.09 kB / 1.446 GB, free: 183.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.063e-05/1.056, allocations: 17.78 kB / 1.446 GB, free: 183.7 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001575/1.057, allocations: 303.9 kB / 1.447 GB, free: 183.7 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009893/1.058, allocations: 295.9 kB / 1.447 GB, free: 183.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008683/1.059, allocations: 1.305 MB / 1.448 GB, free: 182.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002323/1.061, allocations: 227.9 kB / 1.448 GB, free: 182.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001889/1.062, allocations: 74.91 kB / 1.448 GB, free: 182.4 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001737/1.063, allocations: 0.8835 MB / 1.449 GB, free: 181.9 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001151/1.065, allocations: 0.8234 MB / 1.45 GB, free: 181.4 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002166/1.067, allocations: 1.352 MB / 1.451 GB, free: 180.5 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.119e-05/1.067, allocations: 3.281 kB / 1.451 GB, free: 180.5 MB / 0.9167 GB Notification: Performance of matching and sorting (n=187) (initialization_lambda0): time 0.004993/1.072, allocations: 1.861 MB / 1.453 GB, free: 179.8 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/1.072, allocations: 15.72 kB / 1.453 GB, free: 179.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.53e-05/1.072, allocations: 13.47 kB / 1.453 GB, free: 179.8 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001421/1.073, allocations: 308.5 kB / 1.454 GB, free: 179.7 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008911/1.074, allocations: 292.5 kB / 1.454 GB, free: 179.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007467/1.075, allocations: 1.301 MB / 1.455 GB, free: 178.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002321/1.077, allocations: 193.2 kB / 1.455 GB, free: 178.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001623/1.077, allocations: 75.06 kB / 1.455 GB, free: 178.4 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 (169): * Single equations (assignments): 161 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0005365/1.078, allocations: 260.7 kB / 1.456 GB, free: 178.2 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007983/1.079, allocations: 265.8 kB / 1.456 GB, free: 178.1 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005123/1.084, allocations: 2.322 MB / 1.458 GB, free: 177.2 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.493e-05/1.084, allocations: 24.27 kB / 1.458 GB, free: 177.2 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.914e-05/1.084, allocations: 7.25 kB / 1.458 GB, free: 177.2 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003365/1.087, allocations: 1.735 MB / 1.46 GB, free: 176.4 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01324/1.101, allocations: 5.082 MB / 1.465 GB, free: 173.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.521e-05/1.101, allocations: 11.88 kB / 1.465 GB, free: 173.9 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008366/1.102, allocations: 225.6 kB / 1.465 GB, free: 173.8 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001026/1.103, allocations: 245.8 kB / 1.465 GB, free: 173.8 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001333/1.103, allocations: 51 kB / 1.465 GB, free: 173.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007444/1.104, allocations: 1.303 MB / 1.467 GB, free: 172.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/1.104, allocations: 11.59 kB / 1.467 GB, free: 172.6 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 "(pip.res.port_a.h_outflow, pip.del.port_b.h_outflow) = spatialDistribution(0, senTemInl.port_a.h_outflow, senTemOut.port_b.h_outflow, pip.del.x / pip.del.length, pip.v >= 0.0, {0.0, 1.0}, {pip.del.h_ini_in, pip.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.01191/1.115, allocations: 5.843 MB / 1.472 GB, free: 169.2 MB / 0.9167 GB Error: post-optimization module symbolicJacobian (simulation) failed.