Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.007019/0.007019, allocations: 100.7 kB / 15.73 MB, free: 6.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001692/0.001692, allocations: 196.7 kB / 16.68 MB, free: 6.375 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.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.511/2.511, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 62.81 kB / 0.9508 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.2692, allocations: 140.4 MB / 1.088 GB, free: 1.5 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe): time 0.108/0.3773, allocations: 118.5 MB / 1.204 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.03628/0.4136, allocations: 27.89 MB / 1.231 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004334/0.4179, allocations: 127.3 kB / 1.231 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003956/0.422, allocations: 1.56 MB / 1.232 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01229/0.4343, allocations: 4.809 MB / 1.237 GB, free: 8.137 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008334/0.4426, allocations: 3.162 MB / 1.24 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01293/0.4556, allocations: 8.501 MB / 1.249 GB, free: 12.46 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004469/0.4601, allocations: 2.676 MB / 1.251 GB, free: 9.715 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008187/0.4683, allocations: 3.413 MB / 1.255 GB, free: 6.301 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00473/0.473, allocations: 2.334 MB / 1.257 GB, free: 3.957 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001112/0.4742, allocations: 288 kB / 1.257 GB, free: 3.676 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006901/0.4811, allocations: 2.839 MB / 1.26 GB, free: 0.832 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001208/0.4823, allocations: 0.7278 MB / 1.261 GB, free: 104 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.5719/1.054, allocations: 1.689 MB / 1.262 GB, free: 25.01 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01192/1.066, allocations: 5.408 MB / 1.267 GB, free: 24.88 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/1.066, allocations: 0 / 1.267 GB, free: 24.88 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.864e-06/1.066, allocations: 0.8438 kB / 1.267 GB, free: 24.88 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.000106/1.066, allocations: 0 / 1.267 GB, free: 24.88 MB / 1.014 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.008434/1.075, allocations: 3.578 MB / 1.271 GB, free: 23.3 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/1.075, allocations: 10.16 kB / 1.271 GB, free: 23.3 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001286/1.076, allocations: 351.8 kB / 1.271 GB, free: 23.13 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005575/1.082, allocations: 2.655 MB / 1.274 GB, free: 22.52 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001479/1.082, allocations: 129.3 kB / 1.274 GB, free: 22.52 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003936/1.082, allocations: 176.6 kB / 1.274 GB, free: 22.52 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004002/1.086, allocations: 1.895 MB / 1.276 GB, free: 22.28 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.287e-05/1.086, allocations: 6.281 kB / 1.276 GB, free: 22.28 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001832/1.087, allocations: 71.22 kB / 1.276 GB, free: 22.28 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.1e-05/1.087, allocations: 48.39 kB / 1.276 GB, free: 22.28 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002569/1.089, allocations: 1.377 MB / 1.278 GB, free: 22.27 MB / 1.014 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.01533/1.105, allocations: 9.98 MB / 1.287 GB, free: 17.1 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001637/1.106, allocations: 0.9131 MB / 1.288 GB, free: 17.07 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008588/1.107, allocations: 0.5341 MB / 1.289 GB, free: 17.05 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001736/1.109, allocations: 3.071 MB / 1.292 GB, free: 13.58 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/1.109, allocations: 49.31 kB / 1.292 GB, free: 13.54 MB / 1.014 GB Notification: Performance of pre-optimization done (n=120): time 3.577e-06/1.109, allocations: 6.688 kB / 1.292 GB, free: 13.54 MB / 1.014 GB Notification: Performance of matching and sorting (n=120): time 0.005658/1.115, allocations: 2.126 MB / 1.294 GB, free: 13.15 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/1.115, allocations: 64.25 kB / 1.294 GB, free: 13.09 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003528/1.118, allocations: 2.243 MB / 1.296 GB, free: 12.86 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001633/1.118, allocations: 55.14 kB / 1.296 GB, free: 12.82 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008399/1.119, allocations: 1.181 MB / 1.297 GB, free: 12.46 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004058/1.12, allocations: 425.3 kB / 1.298 GB, free: 12.19 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004181/1.12, allocations: 295.8 kB / 1.298 GB, free: 12.16 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 8.411e-05/1.12, allocations: 360.9 kB / 1.298 GB, free: 11.86 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007782/1.121, allocations: 454.2 kB / 1.299 GB, free: 11.84 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/1.122, allocations: 0.7854 MB / 1.3 GB, free: 11.47 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001831/1.124, allocations: 1.283 MB / 1.301 GB, free: 11.11 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.227e-06/1.124, allocations: 3.094 kB / 1.301 GB, free: 11.11 MB / 1.014 GB Notification: Performance of matching and sorting (n=179) (initialization): time 0.004093/1.128, allocations: 1.799 MB / 1.303 GB, free: 10.88 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/1.128, allocations: 9.906 kB / 1.303 GB, free: 10.88 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.459e-05/1.128, allocations: 14.64 kB / 1.303 GB, free: 10.88 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001414/1.129, allocations: 310.5 kB / 1.303 GB, free: 10.86 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009376/1.13, allocations: 286.5 kB / 1.303 GB, free: 10.86 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00078/1.131, allocations: 1.299 MB / 1.304 GB, free: 9.816 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002281/1.133, allocations: 154.2 kB / 1.305 GB, free: 9.734 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001792/1.134, allocations: 74.39 kB / 1.305 GB, free: 9.734 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001825/1.135, allocations: 0.8554 MB / 1.305 GB, free: 9.645 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001032/1.136, allocations: 0.7791 MB / 1.306 GB, free: 9.285 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001828/1.138, allocations: 1.28 MB / 1.307 GB, free: 8.926 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.376e-06/1.138, allocations: 3.531 kB / 1.307 GB, free: 8.926 MB / 1.014 GB Notification: Performance of matching and sorting (n=179) (initialization_lambda0): time 0.004057/1.142, allocations: 1.797 MB / 1.309 GB, free: 8.695 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/1.142, allocations: 8.406 kB / 1.309 GB, free: 8.695 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.254e-05/1.142, allocations: 15.67 kB / 1.309 GB, free: 8.695 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001309/1.144, allocations: 303.2 kB / 1.31 GB, free: 8.668 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009114/1.145, allocations: 286.5 kB / 1.31 GB, free: 8.668 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007903/1.145, allocations: 1.306 MB / 1.311 GB, free: 7.621 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002113/1.148, allocations: 122.4 kB / 1.311 GB, free: 7.566 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000167/1.148, allocations: 73.52 kB / 1.311 GB, free: 7.566 MB / 1.014 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 (165): * Single equations (assignments): 159 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0005152/1.148, allocations: 274 kB / 1.312 GB, free: 7.375 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007034/1.149, allocations: 253.3 kB / 1.312 GB, free: 7.246 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004742/1.154, allocations: 2.315 MB / 1.314 GB, free: 7.031 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.324e-05/1.154, allocations: 25.36 kB / 1.314 GB, free: 7.031 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/1.154, allocations: 4.812 kB / 1.314 GB, free: 7.031 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002859/1.157, allocations: 1.733 MB / 1.316 GB, free: 6.703 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01027/1.167, allocations: 5.118 MB / 1.321 GB, free: 5.625 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.087e-05/1.167, allocations: 8.406 kB / 1.321 GB, free: 5.625 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008293/1.168, allocations: 230.6 kB / 1.321 GB, free: 5.621 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009875/1.169, allocations: 233.3 kB / 1.321 GB, free: 5.598 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001285/1.169, allocations: 47.77 kB / 1.321 GB, free: 5.598 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007566/1.17, allocations: 1.292 MB / 1.322 GB, free: 4.559 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.195e-06/1.17, allocations: 14.62 kB / 1.323 GB, free: 4.555 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005378/1.175, allocations: 2.937 MB / 1.325 GB, free: 3.93 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001683/1.177, allocations: 0.5903 MB / 1.326 GB, free: 3.656 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001115/1.178, allocations: 37.62 kB / 1.326 GB, free: 3.656 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002175/1.18, allocations: 68.44 kB / 1.326 GB, free: 3.645 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002351/1.18, allocations: 126.8 kB / 1.326 GB, free: 3.641 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001876/1.181, allocations: 81.08 kB / 1.326 GB, free: 3.637 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.003407/1.184, allocations: 1.648 MB / 1.328 GB, free: 3.492 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.1e-07/1.184, allocations: 0 / 1.328 GB, free: 3.492 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.006043/1.19, allocations: 1.475 MB / 1.329 GB, free: 3.293 MB / 1.014 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 (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,7), (1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002607/1.193, allocations: 0.9808 MB / 1.33 GB, free: 3.027 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004355/1.197, allocations: 2.306 MB / 1.333 GB, free: 2.73 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/1.197, allocations: 4.062 kB / 1.333 GB, free: 2.727 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001772/1.199, allocations: 0.9821 MB / 1.333 GB, free: 18.59 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009085/1.208, allocations: 1.492 MB / 1.335 GB, free: 18.33 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009071/1.217, allocations: 4.954 MB / 1.34 GB, free: 16.12 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002017/1.219, allocations: 1.705 MB / 1.341 GB, free: 15.35 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.003808/1.223, allocations: 0.6797 MB / 1.342 GB, free: 15.18 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001032/1.224, allocations: 237.7 kB / 1.342 GB, free: 15.17 MB / 1.029 GB Notification: Performance of SimCode: time 1.532e-06/1.224, allocations: 0 / 1.342 GB, free: 15.17 MB / 1.029 GB Notification: Performance of Templates: time 0.0995/1.324, allocations: 61.97 MB / 1.403 GB, free: 3.762 MB / 1.061 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe.sim & ./Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.BuriedPipes.Examples.SingleBuriedPipe.pipe 2>&1)