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/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.TwoPipesConduit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTemInlSup.T|senTemOutSup.T|senTemOutRet.T|senTemInlRet.T|conAir.T|gro.ports.1|1..T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoPipesConduit") translateModel(Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoPipesConduit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTemInlSup.T|senTemOutSup.T|senTemOutRet.T|senTemInlRet.T|conAir.T|gro.ports.1|1..T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoPipesConduit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 102.6 kB / 15.71 MB, free: 460 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.002135/0.002134, allocations: 172.4 kB / 16.58 MB, free: 6.398 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.576/1.576, allocations: 223.3 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.805/2.805, allocations: 436.7 MB / 0.7113 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003693/0.0003694, allocations: 12 kB / 0.8717 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8802/0.8806, allocations: 153.7 MB / 1.022 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.BuriedPipes.Examples.TwoPipesConduit): time 0.1015/0.9821, allocations: 109.5 MB / 1.129 GB, free: 3.254 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.03948/1.022, allocations: 26.3 MB / 1.154 GB, free: 8.895 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006186/1.028, allocations: 111.2 kB / 1.154 GB, free: 8.785 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.005114/1.033, allocations: 1.063 MB / 1.156 GB, free: 7.715 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.01419/1.047, allocations: 3.652 MB / 1.159 GB, free: 4.047 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.01004/1.057, allocations: 2.256 MB / 1.161 GB, free: 1.805 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01593/1.073, allocations: 9.58 MB / 1.171 GB, free: 8.203 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004418/1.078, allocations: 1.941 MB / 1.173 GB, free: 6.227 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008327/1.086, allocations: 2.718 MB / 1.175 GB, free: 3.496 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005598/1.092, allocations: 2.166 MB / 1.177 GB, free: 1.32 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0009881/1.093, allocations: 120 kB / 1.177 GB, free: 1.203 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01092/1.104, allocations: 2.3 MB / 1.18 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001198/1.105, allocations: 0.5405 MB / 1.18 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.002005/1.107, allocations: 0.6368 MB / 1.181 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.007571/1.115, allocations: 4.06 MB / 1.185 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 9.588e-06/1.115, allocations: 4 kB / 1.185 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.507e-06/1.115, allocations: 0 / 1.185 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.816e-05/1.115, allocations: 0 / 1.185 GB, free: 9.637 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: 445 * Number of variables: 445 Notification: Performance of Generate backend data structure: time 0.007477/1.122, allocations: 3.088 MB / 1.188 GB, free: 6.484 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.485e-05/1.122, allocations: 8.031 kB / 1.188 GB, free: 6.477 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009261/1.123, allocations: 352 kB / 1.188 GB, free: 6.129 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004834/1.128, allocations: 2.512 MB / 1.191 GB, free: 3.547 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001131/1.128, allocations: 139.5 kB / 1.191 GB, free: 3.41 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002732/1.128, allocations: 187.9 kB / 1.191 GB, free: 3.227 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003483/1.132, allocations: 1.912 MB / 1.193 GB, free: 1.246 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.699e-05/1.132, allocations: 11.92 kB / 1.193 GB, free: 1.234 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001573/1.132, allocations: 72 kB / 1.193 GB, free: 1.164 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.926e-05/1.132, allocations: 52 kB / 1.193 GB, free: 1.113 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002455/1.135, allocations: 1.418 MB / 1.194 GB, free: 15.69 MB / 0.9512 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.01252/1.147, allocations: 9.877 MB / 1.204 GB, free: 5.125 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001815/1.149, allocations: 1.013 MB / 1.205 GB, free: 4.105 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00088/1.15, allocations: 0.5713 MB / 1.205 GB, free: 3.531 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002539/1.152, allocations: 3.088 MB / 1.209 GB, free: 15.76 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.843e-05/1.152, allocations: 51.56 kB / 1.209 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=127): time 3.327e-06/1.152, allocations: 0 / 1.209 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of matching and sorting (n=127): time 0.003657/1.156, allocations: 1.795 MB / 1.21 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.117e-05/1.156, allocations: 64.41 kB / 1.21 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003201/1.159, allocations: 2.158 MB / 1.212 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001542/1.16, allocations: 53.7 kB / 1.213 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001005/1.161, allocations: 1.189 MB / 1.214 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004673/1.161, allocations: 453.4 kB / 1.214 GB, free: 9.926 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.872e-05/1.161, allocations: 28 kB / 1.214 GB, free: 9.898 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001487/1.161, allocations: 373.9 kB / 1.215 GB, free: 9.527 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008352/1.162, allocations: 495.8 kB / 1.215 GB, free: 9.043 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001094/1.163, allocations: 0.8645 MB / 1.216 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/1.164, allocations: 0.631 MB / 1.216 GB, free: 7.406 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.657e-06/1.164, allocations: 4 kB / 1.216 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.003612/1.168, allocations: 1.74 MB / 1.218 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003771/1.168, allocations: 376 kB / 1.219 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.424e-05/1.168, allocations: 15.98 kB / 1.219 GB, free: 5.137 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004013/1.169, allocations: 64.77 kB / 1.219 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/1.17, allocations: 347.5 kB / 1.219 GB, free: 4.73 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0021/1.172, allocations: 1.436 MB / 1.22 GB, free: 3.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002832/1.175, allocations: 254.2 kB / 1.221 GB, free: 2.91 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001967/1.175, allocations: 79.97 kB / 1.221 GB, free: 2.832 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/1.175, allocations: 5.875 kB / 1.221 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002861/1.178, allocations: 1.496 MB / 1.222 GB, free: 1.328 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.143e-05/1.178, allocations: 16.58 kB / 1.222 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002575/1.178, allocations: 68.81 kB / 1.222 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/1.18, allocations: 343.5 kB / 1.223 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001365/1.181, allocations: 1.44 MB / 1.224 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002403/1.183, allocations: 230.6 kB / 1.224 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000176/1.184, allocations: 75.97 kB / 1.224 GB, free: 15.03 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 (192): * Single equations (assignments): 186 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001549/1.185, allocations: 0.5826 MB / 1.225 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007013/1.186, allocations: 260.8 kB / 1.225 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00428/1.19, allocations: 2.2 MB / 1.227 GB, free: 12 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.834e-05/1.19, allocations: 19.98 kB / 1.227 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/1.19, allocations: 0 / 1.227 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002347/1.193, allocations: 1.607 MB / 1.229 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009495/1.202, allocations: 5.016 MB / 1.234 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.011e-05/1.202, allocations: 12 kB / 1.234 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001031/1.203, allocations: 272.5 kB / 1.234 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000262/1.203, allocations: 64.75 kB / 1.234 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001167/1.204, allocations: 55.97 kB / 1.234 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001428/1.205, allocations: 1.429 MB / 1.235 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.628e-06/1.205, allocations: 11.94 kB / 1.235 GB, free: 3.109 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005002/1.21, allocations: 2.832 MB / 1.238 GB, free: 184 kB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001727/1.212, allocations: 0.6258 MB / 1.239 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003424/1.212, allocations: 43.77 kB / 1.239 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00141/1.214, allocations: 147.6 kB / 1.239 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002388/1.214, allocations: 133 kB / 1.239 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001417/1.214, allocations: 75.95 kB / 1.239 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002697/1.217, allocations: 1.573 MB / 1.241 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.2e-07/1.217, allocations: 0 / 1.241 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004668/1.221, allocations: 1.568 MB / 1.242 GB, free: 12 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 14 (pipSup.del.x,pipSup.timDel.x,pipSup.vol_b.dynBal.U,pipSup.vol_a.dynBal.U,senTemInlSup.T,senTemOutSup.T,pipRet.del.x,pipRet.timDel.x,pipRet.vol_b.dynBal.U,pipRet.vol_a.dynBal.U,senTemOutRet.T,senTemInlRet.T,conAir.T,con.T[1]) * 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 (161): * Single equations (assignments): 132 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002175/1.224, allocations: 0.9426 MB / 1.243 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004784/1.228, allocations: 2.65 MB / 1.246 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/1.228, allocations: 4 kB / 1.246 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001723/1.23, allocations: 1.097 MB / 1.247 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007153/1.237, allocations: 1.427 MB / 1.248 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7089/1.946, allocations: 6.286 MB / 1.254 GB, free: 218.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002242/1.949, allocations: 1.709 MB / 1.256 GB, free: 217.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001581/1.95, allocations: 259.1 kB / 1.256 GB, free: 217.4 MB / 0.9981 GB Notification: Performance of SimCode: time 2.124e-06/1.95, allocations: 0.5625 kB / 1.256 GB, free: 217.4 MB / 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 .