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/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.SingleBuriedPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTemInl.T|senTemOut.T|gro.soi.T|senTemInlRev.T|senTemOutRev.T|groRev.soi.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe") translateModel(Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTemInl.T|senTemOut.T|gro.soi.T|senTemInlRev.T|senTemOutRev.T|groRev.soi.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 100.5 kB / 15.71 MB, free: 452 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.001468/0.001468, allocations: 176.6 kB / 16.58 MB, free: 6.879 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.592/1.592, allocations: 223.2 MB / 240.6 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.961/2.961, allocations: 436.7 MB / 0.7113 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004851/0.0004851, allocations: 8 kB / 0.8717 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.872/0.8725, allocations: 153.7 MB / 1.022 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe): time 0.1059/0.9785, allocations: 109.4 MB / 1.129 GB, free: 3.477 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.039/1.018, allocations: 26.14 MB / 1.154 GB, free: 9.281 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005563/1.023, allocations: 111.2 kB / 1.154 GB, free: 9.172 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.005084/1.028, allocations: 1.056 MB / 1.155 GB, free: 8.109 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.01476/1.043, allocations: 3.636 MB / 1.159 GB, free: 4.457 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.008884/1.052, allocations: 2.214 MB / 1.161 GB, free: 2.258 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01502/1.067, allocations: 9.48 MB / 1.17 GB, free: 8.754 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005741/1.073, allocations: 1.898 MB / 1.172 GB, free: 6.82 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00819/1.081, allocations: 2.683 MB / 1.175 GB, free: 4.125 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005069/1.086, allocations: 2.135 MB / 1.177 GB, free: 1.98 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.001177/1.087, allocations: 116 kB / 1.177 GB, free: 1.867 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01052/1.098, allocations: 2.3 MB / 1.179 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001685/1.1, allocations: 0.521 MB / 1.18 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.002091/1.102, allocations: 0.6368 MB / 1.18 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.008047/1.11, allocations: 4.037 MB / 1.184 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 1.028e-05/1.11, allocations: 4 kB / 1.184 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.727e-06/1.11, allocations: 0 / 1.184 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0002001/1.11, allocations: 0 / 1.184 GB, free: 10.34 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.008741/1.119, allocations: 3.044 MB / 1.187 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/1.119, allocations: 12.03 kB / 1.187 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001631/1.121, allocations: 348 kB / 1.187 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00762/1.128, allocations: 2.512 MB / 1.19 GB, free: 4.297 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002158/1.128, allocations: 131.4 kB / 1.19 GB, free: 4.168 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007403/1.129, allocations: 179.9 kB / 1.19 GB, free: 3.992 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005451/1.135, allocations: 1.874 MB / 1.192 GB, free: 2.051 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.355e-05/1.135, allocations: 11.84 kB / 1.192 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002086/1.135, allocations: 72 kB / 1.192 GB, free: 1.969 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.847e-05/1.135, allocations: 47.98 kB / 1.192 GB, free: 1.922 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002732/1.138, allocations: 1.367 MB / 1.194 GB, free: 0.5508 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.01424/1.152, allocations: 9.999 MB / 1.203 GB, free: 5.801 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001674/1.154, allocations: 0.91 MB / 1.204 GB, free: 4.883 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007851/1.155, allocations: 0.5347 MB / 1.205 GB, free: 4.348 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002506/1.157, allocations: 3.08 MB / 1.208 GB, free: 0.5859 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.397e-05/1.157, allocations: 47.56 kB / 1.208 GB, free: 0.5312 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=120): time 3.807e-06/1.157, allocations: 4 kB / 1.208 GB, free: 0.5273 MB / 0.9512 GB Notification: Performance of matching and sorting (n=120): time 0.005669/1.163, allocations: 2.141 MB / 1.21 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.202e-05/1.163, allocations: 68.34 kB / 1.21 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00368/1.167, allocations: 2.193 MB / 1.212 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0002309/1.167, allocations: 49.7 kB / 1.212 GB, free: 12 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000972/1.168, allocations: 1.185 MB / 1.213 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004678/1.168, allocations: 429.7 kB / 1.214 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.258e-05/1.168, allocations: 32 kB / 1.214 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001504/1.169, allocations: 361.9 kB / 1.214 GB, free: 9.98 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008812/1.169, allocations: 471.8 kB / 1.215 GB, free: 9.52 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001068/1.171, allocations: 0.8285 MB / 1.215 GB, free: 8.555 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/1.172, allocations: 0.5921 MB / 1.216 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.15e-05/1.172, allocations: 7.938 kB / 1.216 GB, free: 7.953 MB / 0.9669 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.004265/1.176, allocations: 1.858 MB / 1.218 GB, free: 6.078 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002884/1.176, allocations: 372.2 kB / 1.218 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.016e-05/1.176, allocations: 16 kB / 1.218 GB, free: 5.566 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001425/1.178, allocations: 309.3 kB / 1.218 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000992/1.179, allocations: 295.5 kB / 1.219 GB, free: 4.969 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001112/1.18, allocations: 1.296 MB / 1.22 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00239/1.182, allocations: 230.4 kB / 1.22 GB, free: 3.395 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002005/1.182, allocations: 79.92 kB / 1.22 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/1.182, allocations: 4 kB / 1.22 GB, free: 3.312 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003407/1.186, allocations: 1.598 MB / 1.222 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.337e-05/1.186, allocations: 16 kB / 1.222 GB, free: 1.691 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001311/1.187, allocations: 301.7 kB / 1.222 GB, free: 1.391 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009136/1.188, allocations: 299.5 kB / 1.222 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001037/1.189, allocations: 1.307 MB / 1.224 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00307/1.192, allocations: 206.7 kB / 1.224 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002603/1.193, allocations: 75.97 kB / 1.224 GB, free: 15.46 MB / 0.9825 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.002018/1.195, allocations: 0.5749 MB / 1.224 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001079/1.196, allocations: 252.9 kB / 1.225 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005611/1.201, allocations: 2.334 MB / 1.227 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.57e-05/1.201, allocations: 23.98 kB / 1.227 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/1.201, allocations: 0 / 1.227 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002884/1.204, allocations: 1.733 MB / 1.229 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0101/1.214, allocations: 5.103 MB / 1.234 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.617e-05/1.214, allocations: 8 kB / 1.234 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008459/1.215, allocations: 235.7 kB / 1.234 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001034/1.216, allocations: 241.4 kB / 1.234 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-05/1.216, allocations: 47.97 kB / 1.234 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000962/1.217, allocations: 1.304 MB / 1.235 GB, free: 3.289 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.688e-06/1.217, allocations: 11.94 kB / 1.235 GB, free: 3.277 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005967/1.223, allocations: 2.932 MB / 1.238 GB, free: 252 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002213/1.226, allocations: 0.6256 MB / 1.239 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003852/1.226, allocations: 43.94 kB / 1.239 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001373/1.227, allocations: 131.7 kB / 1.239 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002289/1.228, allocations: 137 kB / 1.239 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001493/1.228, allocations: 75.95 kB / 1.239 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002737/1.231, allocations: 1.592 MB / 1.241 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.214e-06/1.231, allocations: 0 / 1.241 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004672/1.235, allocations: 1.517 MB / 1.242 GB, free: 12.1 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 12 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U,senTemInl.T,senTemOut.T,pipRev.del.x,pipRev.timDel.x,pipRev.vol_b.dynBal.U,pipRev.vol_a.dynBal.U,senTemOutRev.T,senTemInlRev.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 (142): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 7,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.002246/1.238, allocations: 0.9415 MB / 1.243 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004337/1.242, allocations: 2.36 MB / 1.246 GB, free: 8.762 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/1.242, allocations: 0 / 1.246 GB, free: 8.762 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001625/1.244, allocations: 0.9768 MB / 1.247 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007692/1.251, allocations: 1.411 MB / 1.248 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009646/1.261, allocations: 6.078 MB / 1.254 GB, free: 188 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.6646/1.926, allocations: 1.694 MB / 1.256 GB, free: 217.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00112/1.927, allocations: 240.5 kB / 1.256 GB, free: 217.9 MB / 0.9981 GB Notification: Performance of SimCode: time 1.102e-06/1.927, allocations: 3.875 kB / 1.256 GB, free: 217.9 MB / 0.9981 GB [CodegenCppOld.tpl:12289:11-12289:11:writable] Error: Template error: UNKNOWN ZERO CROSSING for 0 . [CodegenCppOld.tpl:12289:11-12289:11:writable] Error: Template error: UNKNOWN ZERO CROSSING for 2 . [CodegenCppOld.tpl:12289:11-12289:11:writable] Error: Template error: UNKNOWN ZERO CROSSING for 4 . [CodegenCppOld.tpl:12289:11-12289:11:writable] Error: Template error: UNKNOWN ZERO CROSSING for 6 .