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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTemChWIn.T|senTemChWOut.T|senTemHotWIn.T|senTemHotWOut.T|gro.soi.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes") translateModel(Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTemChWIn.T|senTemChWOut.T|senTemHotWIn.T|senTemHotWOut.T|gro.soi.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007217/0.0007217, allocations: 103.1 kB / 15.71 MB, free: 448 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009109/0.000911, allocations: 177.8 kB / 16.58 MB, free: 6.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.557/1.557, allocations: 223.3 MB / 240.6 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.877/2.877, allocations: 436.7 MB / 0.7113 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004333/0.0004334, allocations: 8 kB / 0.8717 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.805/0.8054, allocations: 153.7 MB / 1.022 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoBuriedPipes): time 0.09953/0.905, allocations: 109.1 MB / 1.128 GB, free: 3.77 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.03848/0.9435, allocations: 26.06 MB / 1.154 GB, free: 9.656 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005518/0.9491, allocations: 111.2 kB / 1.154 GB, free: 9.547 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.004285/0.9534, allocations: 1.044 MB / 1.155 GB, free: 8.496 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.01255/0.9659, allocations: 3.594 MB / 1.158 GB, free: 4.887 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.009743/0.9757, allocations: 2.213 MB / 1.161 GB, free: 2.688 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.015/0.9907, allocations: 9.312 MB / 1.17 GB, free: 9.348 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004696/0.9955, allocations: 1.89 MB / 1.171 GB, free: 7.422 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007472/1.003, allocations: 2.64 MB / 1.174 GB, free: 4.77 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004764/1.008, allocations: 2.088 MB / 1.176 GB, free: 2.672 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0007108/1.008, allocations: 119.9 kB / 1.176 GB, free: 2.555 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009342/1.018, allocations: 2.292 MB / 1.178 GB, free: 264 kB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001081/1.019, allocations: 0.5133 MB / 1.179 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001701/1.021, allocations: 0.6251 MB / 1.18 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.006934/1.028, allocations: 3.963 MB / 1.183 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/1.028, allocations: 4 kB / 1.183 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.463e-06/1.028, allocations: 0 / 1.183 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.533e-05/1.028, allocations: 0 / 1.183 GB, free: 11.14 MB / 0.9356 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.006313/1.034, allocations: 3.013 MB / 1.186 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/1.034, allocations: 11.98 kB / 1.186 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008334/1.035, allocations: 340.1 kB / 1.187 GB, free: 7.711 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004394/1.039, allocations: 2.468 MB / 1.189 GB, free: 5.172 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.779e-05/1.039, allocations: 131.4 kB / 1.189 GB, free: 5.043 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002443/1.04, allocations: 179.9 kB / 1.189 GB, free: 4.867 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003215/1.043, allocations: 1.884 MB / 1.191 GB, free: 2.914 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.416e-05/1.043, allocations: 0 / 1.191 GB, free: 2.914 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001527/1.043, allocations: 75.98 kB / 1.191 GB, free: 2.84 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.656e-05/1.043, allocations: 55.94 kB / 1.191 GB, free: 2.785 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002387/1.046, allocations: 1.387 MB / 1.193 GB, free: 1.395 MB / 0.9356 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.01341/1.059, allocations: 9.993 MB / 1.202 GB, free: 6.648 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001698/1.061, allocations: 0.9105 MB / 1.203 GB, free: 5.73 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008447/1.062, allocations: 0.5465 MB / 1.204 GB, free: 5.184 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002505/1.064, allocations: 3.084 MB / 1.207 GB, free: 1.418 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.743e-05/1.064, allocations: 47.56 kB / 1.207 GB, free: 1.363 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=121): time 3.105e-06/1.064, allocations: 4 kB / 1.207 GB, free: 1.359 MB / 0.9512 GB Notification: Performance of matching and sorting (n=121): time 0.005995/1.07, allocations: 2.252 MB / 1.209 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/1.07, allocations: 64.41 kB / 1.209 GB, free: 15 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003371/1.074, allocations: 2.098 MB / 1.211 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001707/1.074, allocations: 57.64 kB / 1.211 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001005/1.075, allocations: 1.173 MB / 1.212 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004633/1.075, allocations: 433.7 kB / 1.213 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.01e-05/1.075, allocations: 28 kB / 1.213 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001619/1.076, allocations: 357.9 kB / 1.213 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007994/1.076, allocations: 475.8 kB / 1.214 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001079/1.078, allocations: 0.8113 MB / 1.214 GB, free: 9.414 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/1.079, allocations: 0.5959 MB / 1.215 GB, free: 8.816 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.934e-06/1.079, allocations: 4 kB / 1.215 GB, free: 8.812 MB / 0.9669 GB Notification: Performance of matching and sorting (n=185) (initialization): time 0.004257/1.083, allocations: 1.881 MB / 1.217 GB, free: 6.918 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002963/1.083, allocations: 375.8 kB / 1.217 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.374e-05/1.083, allocations: 15.98 kB / 1.217 GB, free: 6.402 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001661/1.085, allocations: 380.4 kB / 1.218 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009024/1.086, allocations: 299.7 kB / 1.218 GB, free: 5.734 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001049/1.087, allocations: 0.8683 MB / 1.219 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002094/1.089, allocations: 234.3 kB / 1.219 GB, free: 4.609 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001619/1.089, allocations: 71.97 kB / 1.219 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/1.089, allocations: 4 kB / 1.219 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003504/1.093, allocations: 1.648 MB / 1.221 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.108e-05/1.093, allocations: 16.12 kB / 1.221 GB, free: 2.867 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00157/1.094, allocations: 384.4 kB / 1.221 GB, free: 2.488 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008925/1.095, allocations: 295.5 kB / 1.221 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001027/1.096, allocations: 0.8645 MB / 1.222 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002185/1.098, allocations: 214.6 kB / 1.222 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001608/1.099, allocations: 75.97 kB / 1.222 GB, free: 1.023 MB / 0.9669 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 10} Notification: Performance of prepare postOptimizeDAE: time 0.0014/1.1, allocations: 0.5709 MB / 1.223 GB, free: 452 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005471/1.1, allocations: 252.9 kB / 1.223 GB, free: 196 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004754/1.105, allocations: 2.382 MB / 1.226 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-05/1.105, allocations: 23.98 kB / 1.226 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/1.105, allocations: 0 / 1.226 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003086/1.108, allocations: 1.79 MB / 1.227 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009943/1.118, allocations: 5.152 MB / 1.232 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.743e-05/1.118, allocations: 8 kB / 1.232 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000827/1.119, allocations: 231.7 kB / 1.233 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001292/1.121, allocations: 327.3 kB / 1.233 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001075/1.121, allocations: 55.97 kB / 1.233 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009952/1.122, allocations: 0.8657 MB / 1.234 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.752e-06/1.122, allocations: 12.06 kB / 1.234 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005445/1.127, allocations: 2.999 MB / 1.237 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001885/1.129, allocations: 0.6179 MB / 1.237 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007852/1.13, allocations: 40 kB / 1.237 GB, free: 1.293 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002027/1.132, allocations: 143.9 kB / 1.238 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000253/1.132, allocations: 137 kB / 1.238 GB, free: 1.02 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001943/1.132, allocations: 75.95 kB / 1.238 GB, free: 0.9453 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.003371/1.136, allocations: 1.531 MB / 1.239 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.9e-07/1.136, allocations: 0 / 1.239 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00586/1.142, allocations: 1.494 MB / 1.241 GB, free: 13.91 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 12 (pipChW.del.x,pipChW.timDel.x,pipChW.vol_b.dynBal.U,pipChW.vol_a.dynBal.U,senTemChWIn.T,senTemChWOut.T,pipHotW.del.x,pipHotW.timDel.x,pipHotW.vol_b.dynBal.U,pipHotW.vol_a.dynBal.U,senTemHotWIn.T,senTemHotWOut.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (141): * Single equations (assignments): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 28 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.002741/1.144, allocations: 0.9393 MB / 1.242 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005921/1.15, allocations: 2.446 MB / 1.244 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.682e-05/1.15, allocations: 0 / 1.244 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002519/1.153, allocations: 1.031 MB / 1.245 GB, free: 9.434 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009308/1.162, allocations: 1.402 MB / 1.246 GB, free: 8.062 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01132/1.174, allocations: 5.974 MB / 1.252 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002071/1.176, allocations: 1.666 MB / 1.254 GB, free: 280 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009456/1.177, allocations: 243.3 kB / 1.254 GB, free: 36 kB / 0.9981 GB Notification: Performance of SimCode: time 3.817e-06/1.177, allocations: 0 / 1.254 GB, free: 36 kB / 0.9981 GB [CodegenCppOld.tpl:12289:11-12289:11:writable] Error: Template error: UNKNOWN ZERO CROSSING for 1 . [CodegenCppOld.tpl:12289:11-12289:11:writable] Error: Template error: UNKNOWN ZERO CROSSING for 3 . [CodegenCppOld.tpl:12289:11-12289:11:writable] Error: Template error: UNKNOWN ZERO CROSSING for 5 . [CodegenCppOld.tpl:12289:11-12289:11:writable] Error: Template error: UNKNOWN ZERO CROSSING for 7 .