Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoPipesConduit.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.TwoPipesConduit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoPipesConduit") translateModel(Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoPipesConduit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoPipesConduit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.207/2.207, allocations: 391.2 MB / 407 MB, free: 10.85 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.001465/0.001465, allocations: 195.4 kB / 499.1 MB, free: 4.688 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.425/1.425, 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.001097/0.001098, allocations: 107.6 kB / 0.9329 GB, free: 7.109 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001052/0.001052, allocations: 55.05 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.268, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoPipesConduit): time 0.08328/0.3514, allocations: 117.8 MB / 1.333 GB, free: 15.09 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.04063/0.3921, allocations: 28.17 MB / 1.361 GB, free: 2.84 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006834/0.399, allocations: 115.3 kB / 1.361 GB, free: 2.727 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.005386/0.4044, allocations: 1.251 MB / 1.362 GB, free: 1.469 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.01492/0.4194, allocations: 4.273 MB / 1.366 GB, free: 13.18 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.009645/0.4291, allocations: 2.849 MB / 1.369 GB, free: 10.34 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0184/0.4475, allocations: 11.21 MB / 1.38 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005835/0.4534, allocations: 2.248 MB / 1.382 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009104/0.4625, allocations: 2.925 MB / 1.385 GB, free: 9.859 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006131/0.4687, allocations: 2.376 MB / 1.387 GB, free: 7.473 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.002447/0.4712, allocations: 144 kB / 1.387 GB, free: 7.332 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01484/0.4861, allocations: 4.54 MB / 1.392 GB, free: 2.691 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.00175/0.4879, allocations: 0.6105 MB / 1.392 GB, free: 2.078 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.004574/0.4925, allocations: 1.57 MB / 1.394 GB, free: 0.5 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.02679/0.5193, allocations: 18.33 MB / 1.412 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.5193, allocations: 0 / 1.412 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5194, allocations: 0 / 1.412 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0002136/0.5196, allocations: 0 / 1.412 GB, free: 14.11 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: 445 * Number of variables: 445 Notification: Performance of Generate backend data structure: time 0.01117/0.5308, allocations: 3.64 MB / 1.415 GB, free: 10.4 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.5308, allocations: 11.98 kB / 1.415 GB, free: 10.39 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001739/0.5326, allocations: 356 kB / 1.416 GB, free: 10.04 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005545/0.5381, allocations: 2.597 MB / 1.418 GB, free: 7.367 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001411/0.5383, allocations: 139.4 kB / 1.418 GB, free: 7.23 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005482/0.5389, allocations: 191.9 kB / 1.419 GB, free: 7.043 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00453/0.5434, allocations: 1.92 MB / 1.421 GB, free: 5.055 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.353e-05/0.5435, allocations: 11.92 kB / 1.421 GB, free: 5.043 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002472/0.5438, allocations: 72 kB / 1.421 GB, free: 4.973 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.65e-05/0.5439, allocations: 44 kB / 1.421 GB, free: 4.93 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003201/0.5471, allocations: 1.434 MB / 1.422 GB, free: 3.492 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.6092/1.156, allocations: 9.824 MB / 1.432 GB, free: 193.2 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002461/1.159, allocations: 1.014 MB / 1.433 GB, free: 192.8 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001181/1.16, allocations: 0.5672 MB / 1.433 GB, free: 192.6 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002417/1.162, allocations: 3.074 MB / 1.436 GB, free: 189.1 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.015e-05/1.163, allocations: 50.31 kB / 1.436 GB, free: 189.1 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=127): time 8.866e-06/1.163, allocations: 4.688 kB / 1.436 GB, free: 189.1 MB / 0.9167 GB Notification: Performance of matching and sorting (n=127): time 0.005314/1.168, allocations: 1.775 MB / 1.438 GB, free: 188.4 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/1.168, allocations: 63.88 kB / 1.438 GB, free: 188.4 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004589/1.173, allocations: 2.189 MB / 1.44 GB, free: 187.6 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003356/1.173, allocations: 53.83 kB / 1.44 GB, free: 187.5 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001086/1.174, allocations: 1.183 MB / 1.441 GB, free: 186.7 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005293/1.175, allocations: 459.8 kB / 1.442 GB, free: 186.3 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006563/1.175, allocations: 316.9 kB / 1.442 GB, free: 186.2 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000117/1.175, allocations: 305 kB / 1.442 GB, free: 185.9 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001058/1.176, allocations: 0.5046 MB / 1.443 GB, free: 185.7 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001425/1.178, allocations: 0.8719 MB / 1.444 GB, free: 185.1 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002252/1.18, allocations: 1.395 MB / 1.445 GB, free: 184.2 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.958e-06/1.18, allocations: 2.812 kB / 1.445 GB, free: 184.2 MB / 0.9167 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.003646/1.184, allocations: 1.757 MB / 1.447 GB, free: 183.5 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.903e-05/1.184, allocations: 8.906 kB / 1.447 GB, free: 183.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.305e-05/1.184, allocations: 13.91 kB / 1.447 GB, free: 183.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000352/1.184, allocations: 63.3 kB / 1.447 GB, free: 183.5 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/1.185, allocations: 343.5 kB / 1.447 GB, free: 183.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001248/1.187, allocations: 1.452 MB / 1.449 GB, free: 182.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002255/1.189, allocations: 243.3 kB / 1.449 GB, free: 182 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001636/1.189, allocations: 78.77 kB / 1.449 GB, free: 182 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0017/1.191, allocations: 0.9078 MB / 1.45 GB, free: 181.6 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001206/1.192, allocations: 0.8625 MB / 1.451 GB, free: 181 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002145/1.194, allocations: 1.39 MB / 1.452 GB, free: 180.1 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.258e-06/1.194, allocations: 3 kB / 1.452 GB, free: 180.1 MB / 0.9167 GB Notification: Performance of matching and sorting (n=199) (initialization_lambda0): time 0.003578/1.198, allocations: 1.751 MB / 1.454 GB, free: 179.4 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/1.198, allocations: 9.562 kB / 1.454 GB, free: 179.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.528e-05/1.198, allocations: 18.72 kB / 1.454 GB, free: 179.4 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002662/1.198, allocations: 69.5 kB / 1.454 GB, free: 179.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/1.199, allocations: 347.7 kB / 1.454 GB, free: 179.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001011/1.2, allocations: 1.43 MB / 1.456 GB, free: 178 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002015/1.202, allocations: 204.2 kB / 1.456 GB, free: 177.9 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001374/1.202, allocations: 80.03 kB / 1.456 GB, free: 177.9 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 (192): * Single equations (assignments): 186 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004934/1.203, allocations: 279.4 kB / 1.456 GB, free: 177.7 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005213/1.204, allocations: 263.7 kB / 1.456 GB, free: 177.5 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003796/1.207, allocations: 2.19 MB / 1.459 GB, free: 176.7 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.346e-05/1.207, allocations: 29.34 kB / 1.459 GB, free: 176.7 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/1.207, allocations: 0.7969 kB / 1.459 GB, free: 176.7 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002116/1.21, allocations: 1.599 MB / 1.46 GB, free: 176 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009291/1.219, allocations: 5.009 MB / 1.465 GB, free: 173.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.542e-05/1.219, allocations: 9.719 kB / 1.465 GB, free: 173.5 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009285/1.22, allocations: 270.8 kB / 1.465 GB, free: 173.4 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002256/1.22, allocations: 69.81 kB / 1.465 GB, free: 173.4 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.517e-05/1.22, allocations: 46.05 kB / 1.465 GB, free: 173.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008994/1.221, allocations: 1.428 MB / 1.467 GB, free: 172.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/1.221, allocations: 11.84 kB / 1.467 GB, free: 172.1 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 "(pipSup.res.port_a.h_outflow, pipSup.del.port_b.h_outflow) = spatialDistribution(0, senTemInlSup.port_a.h_outflow, senTemOutSup.port_b.h_outflow, pipSup.del.x / pipSup.del.length, pipSup.v >= 0.0, {0.0, 1.0}, {pipSup.del.h_ini_in, pipSup.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.008539/1.23, allocations: 5.425 MB / 1.472 GB, free: 168.9 MB / 0.9167 GB Error: post-optimization module symbolicJacobian (simulation) failed.